2011-03-16 2 views
2

로드 연산이 성공할 때가 있지만 때로는 그렇지 않은 경우가 있습니다. 많은 (6-7) 요청이 동시에 이루어지기 때문입니까? 모든 get 쿼리가 한 번 실패합니다. 이것은 오류 중 하나입니다 : -때때로 LoadOperation에 실패했습니다.

Webpage error details 

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.2; Tablet PC 2.0; .NET4.0C; .NET4.0E) 
Timestamp: Wed, 16 Mar 2011 03:22:10 UTC 


Message: Unhandled Error in Silverlight Application 
Code: 4004  
Category: ManagedRuntimeError  
Message: System.ServiceModel.DomainServices.Client.DomainOperationException: Load operation failed for query 'GetSiteTerms'. The remote server returned an error: NotFound. ---> System.ServiceModel.CommunicationException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. 
    at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult) 
    at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState) 
    at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState) 
    --- End of inner exception stack trace --- 
    at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state) 
    at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult) 
    at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result) 
    --- End of inner exception stack trace --- 
    at System.ServiceModel.DomainServices.Client.WebDomainClient`1.EndQueryCore(IAsyncResult asyncResult) 
    at System.ServiceModel.DomainServices.Client.DomainClient.EndQuery(IAsyncResult asyncResult) 
    at System.ServiceModel.DomainServices.Client.DomainContext.CompleteLoad(IAsyncResult asyncResult) 
    --- End of inner exception stack trace --- 
    at System.ServiceModel.DomainServices.Client.OperationBase.Complete(Exception error) 
    at System.ServiceModel.DomainServices.Client.LoadOperation.Complete(Exception error) 
    at System.ServiceModel.DomainServices.Client.DomainContext.CompleteLoad(IAsyncResult asyncResult) 
    at System.ServiceModel.DomainServices.Client.DomainContext.<>c__DisplayClass1b.<Load>b__17(Object)  

Line: 76 
Char: 13 
Code: 0 
URI: http://localhost:9090/Default.aspx 

Ria 서비스가 불안정하거나 Sql 서버의 설정을 일부 변경해야합니까? 사전 :

답변

2

은 "Not found"가 예외

덕분에 "일반 보호 오류"후 unhelpfulness에서 두 번째 자리를 승리. 침입 할 수없는 "발견되지 않은"요새 뒤에 숨어있는 수많은 문제가 될 수 있습니다.

WCF 서비스 호출이 HTTP 결과 4xx 또는 5xx를 반환했기 때문에 가장 자주 발생합니다. 그런 다음 Silverlight에서 생성 된 예외는 문제를 디버그하는 데 조금이라도 도움이되지 않습니다. 그러나 Silverlight가 도움이 될 필요는 없습니다. 문제는 결국 서버 측에 있습니다. Fiddler를 실행하면 Silverlight 클라이언트와 서버 간의 트래픽을 볼 수 있습니다. 정확한 예외 메시지와 스택 추적으로 정확한 서버 응답을 볼 수 있습니다.

"How to Permanently Banish Silverlight’s “Not Found” Error for WCF Service Calls"의 팁을 사용하여 Silverlight 오류를 더 맛있게보십시오.

+0

기억에 문제가있어 피들러에게 확인해 봤어. 저는 2GB의 메모리와 Visual Studio 2010, Expression Blend 및 Sql Server가있는 오래된 노트북을 가지고있었습니다. 성능이 극히 열악하기 때문에 데이터가 하드 디스크에 기록되지는 않지만 RAM이 거의 가득 차서이 오류가 발생했습니다. 어쨌든 고마워. – TCM

+0

@stefan URL을 찾을 수 없습니다. –

+0

고정 URL로 피들러 팁이 추가되었습니다. –

2

나는 2 일 동안이 오류와 싸우고 있었고 문제는 뭐지를 알아 냈습니다 .... 기본적으로 데이터 소스를로드하려고하면 64K 데이터 만 처리 할 수 ​​있습니다. 크기가 64k보다 큰 것을 의미합니다 ...... 테이블을 복제하고 10-15 행의 수를 줄이면 (잘 테스트 할 수 있습니다) 응용 프로그램을 실행 해보십시오. ...

관련 문제