We are trying to deploy a Silverlight + WCF RIA Services application to an IIS 6 web server. When the silverlight application starts in the browser I get an error. Using Fiddler , I can see the real error:
EndpointNotFoundException The service Web-AuthenticationService.svc does not exist.
Sure enough, if I try to browse to the service in a browser, it is not found:
I have researched this error as much as I could, trying these things:
Can anyone give any more advice?
I manually added the svc file to the ClientBin folder and the problem was "resolved". I'm now onto a Timeout problem when the login query is called. Why do I have to add the svc file manually?
You might find this blog post helpful. I've been recently dealing with WCF Ria 404 deployment hell as well - Upgrading Visual Studio 2010 to SP1 did help resolve my issues as it contains WCF Ria SP1.
我能找到的唯一解决方案是手动创建svc文件并将其包含在clientbin文件夹中。
After 7 long days we managed to find a solution i have never seen anywhere else in the forums. It has to do with missing datasources in the Properties folder of the silverlight project. In my case there were no datasources generated. (project>properties>datasources folder was empty)
The solution was to go to Data > Show Data Sources and then press the button to automatically create all datasources.
(This is on Visual studio 2010)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.