2010-12-02 3 views
3

테스트 서버 (proyectos.legendsoft.com.ve)에서 프로젝트를 호스팅하고 있지만이 프로젝트가 다른 호스트의 일부 쿠키에 액세스해야하므로 내 호스트를 변경해야했습니다. 내 로컬 호스트에서 잘 작동하더라도,해당 호스트가 알려져 있지 않습니다. ClientDependency

75.125.228.200  legendsoft.batanga.com 

지금이이 ClientDependendy 라이브러리 문제가 발생할 것 : 내 로컬 컴퓨터에 파일을

127.0.0.1  localhost.batanga.com 

사람이 아니면 내가 문제를 해결하기 위해 어떤 방법을 알고 단지 이 라이브러리를 제거해야합니까? 스택 추적이보고

Server Error in '/Batanga' Application. 
No such host is known 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Net.Sockets.SocketException: No such host is known 

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace: 


[SocketException (0x2af9): No such host is known] 
    System.Net.Dns.GetAddrInfo(String name) +250 
    System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6) +144 
    System.Net.Dns.GetHostAddresses(String hostNameOrAddress) +435 
    ClientDependency.Core.UriExtensions.IsLocalUri(Uri uri) +76 
    ClientDependency.Core.Module.<>c__DisplayClass2.<ReplaceContent>b__1(Match m) +264 
    System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat) +244 
    System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator) +84 
    ClientDependency.Core.Module.RogueFileFilter.ReplaceContent(String html, String namedGroup, String[] extensions, ClientDependencyType type, String regex) +143 
    ClientDependency.Core.Module.RogueFileFilter.ReplaceScripts(String html) +260 
    ClientDependency.Core.Module.RogueFileFilter.UpdateOutputHtml(String html) +16 
    System.Func`2.Invoke(T arg) +0 
    ClientDependency.Core.Module.ResponseFilterStream.OnTransformCompleteStringInternal(MemoryStream ms) +107 
    ClientDependency.Core.Module.ResponseFilterStream.Flush() +109 
    System.Web.HttpWriter.FilterIntegrated(Boolean finalFiltering, IIS7WorkerRequest wr) +610 
    System.Web.HttpResponse.FilterOutput() +100 
    System.Web.CallFilterExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +77 
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171 

답변

1

이것은 ClientDependency에서 해결해야 할 사항입니다. 그래도이 문제를 해결하기 위해 불량 파일 필터링을 해제 할 수 있지만 그 밖의 모든 기능은 정상적으로 작동합니다. 그게 문제처럼 나는 이것에 대한 문제를 만든

, http://clientdependency.codeplex.com/workitem/13173

+0

덕분에, 그것은 보인다. –

2

오류가 ClientDependency 라이브러리에서 실제로 System.Net.Dns.GetAddrInfo(String name)로부터되지 않습니다 :

이 전체 오류입니다. 응용 프로그램을 실행중인 서버가 전달중인 호스트 이름을 확인할 수 있는지 확인하십시오 (해당 컴퓨터에서 주소를 핑 (ping)하여 작동하는지보십시오).

관련 문제