Silverlight同步服务错误。 {System.Net.WebException:远程服务器返回错误:NotFound。 [英] Silverlight sync service error. {System.Net.WebException: The remote server returned an error: NotFound.
问题描述
我正在尝试为silverlight应用程序创建一个脱机同步项目。我正在按照我发现的指南在以下网址创建示例项目。
http://social.technet.microsoft.com/维基/内容/文章/ 1889.aspx#CreateSampleDBWalkthrough 。我到了可以运行appplication的地步。我可以手动在visual studio浏览服务,它的工作原理。我点击同步按钮,我收到下面列出的
错误。我尝试了一些我在网上看过的东西。有没有其他人试图按照tutoiral进行此错误并弄清楚如何修复它?
I'm trying to create a offline sync project for a silverlight application. I'm following the guide I found to create a sample project at the following url. http://social.technet.microsoft.com/wiki/contents/articles/1889.aspx#CreateSampleDBWalkthrough. I get to the point I can run the appplication. I can manually in visual studio browse the service and it works. I click the sync button and I get the error listed below. I've tried a few things I've seen on the web. Has anyone else tried to follow the tutoiral and run in to this error and figure out how to fix it?
错误。
{System.Net.WebException:远程服务器返回错误:NotFound。 ---> System.Net.WebException:远程服务器返回错误:NotFound。
在System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
在System.Net.Browser.BrowserHttpWebRequest。<> c__DisplayClassa。< EndGetResponse> b__9(Object sendState)
在System.Net.Browser.AsyncHelper。<> c__DisplayClass4。< BeginOnUI> b__0(Object sendState)
---内部异常堆栈跟踪结束---
在System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod,Object state)
在System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
在Microsoft.Synchronization.ClientServices.HttpCacheRequestHandler.OnDownloadGetResponseCompleted(IAsyncResult asyncResult)}
$
[System.Net.WebException]:{System.Net.WebException:远程服务器返回错误:NotFound。 ---> System.Net.WebException:远程服务器返回错误:NotFound。
在System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
在System.Net.Browser.BrowserHttpWebRequest。<> c__DisplayClassa。< EndGetResponse> b__9(Object sendState)
在System.Net.Browser.AsyncHelper。<> c__DisplayClass4。< BeginOnUI> b__0(Object sendState)
---内部异常堆栈跟踪结束---
在System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod,Object state)
在System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
在Microsoft.Synchronization.ClientServices.HttpCacheRequestHandler.OnDownloadGetResponseCompleted(IAsyncResult asyncResult)}
$
数据:{System.Collections.ListDictionaryInternal}
InnerException:{System.Net.WebException:远程服务器返回错误:NotFound。
在System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
在System.Net.Browser.BrowserHttpWebRequest。<> c__DisplayClassa。< EndGetResponse> b__9(Object sendState)
在System.Net.Browser.AsyncHelper。<> c__DisplayClass4。< BeginOnUI> b__0(Object sendState)}
消息:"远程服务器返回错误:NotFound。"
$
StackTrace:" 在System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod,Object state)\ r \ n 在System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)\ r \ n 在Microsoft.Synchronization.ClientServices.HttpCacheRequestHandler.OnDownloadGetResponseCompleted(IAsyncResult
asyncResult)"
{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__DisplayClassa.<EndGetResponse>b__9(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<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 Microsoft.Synchronization.ClientServices.HttpCacheRequestHandler.OnDownloadGetResponseCompleted(IAsyncResult asyncResult)}
[System.Net.WebException]: {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__DisplayClassa.<EndGetResponse>b__9(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<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 Microsoft.Synchronization.ClientServices.HttpCacheRequestHandler.OnDownloadGetResponseCompleted(IAsyncResult asyncResult)}
Data: {System.Collections.ListDictionaryInternal}
InnerException: {System.Net.WebException: The remote server returned an error: NotFound.
at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<EndGetResponse>b__9(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__0(Object sendState)}
Message: "The remote server returned an error: NotFound."
StackTrace: " at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)\r\n at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)\r\n at Microsoft.Synchronization.ClientServices.HttpCacheRequestHandler.OnDownloadGetResponseCompleted(IAsyncResult
asyncResult)"
David Humphreys
David Humphreys
推荐答案
尝试使用Fiddler获取更详细的错误说明。
try using Fiddler to get a more detailed error description.
这篇关于Silverlight同步服务错误。 {System.Net.WebException:远程服务器返回错误:NotFound。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!