开发者

Trouble deploying WCF Ria Services app to IIS6 - EndpointNotFoundException The service Web-AuthenticationService.svc does not exist

开发者 https://www.devze.com 2023-02-16 06:20 出处:网络
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 er

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 b开发者_开发知识库rowse to the service in a browser, it is not found:

Trouble deploying WCF Ria Services app to IIS6 - EndpointNotFoundException The service Web-AuthenticationService.svc does not exist

I have researched this error as much as I could, trying these things:

  • Making sure RIA Services assemblies are included in the site's bin folder.
  • Then, Making sure RIA Services is installed on the server.
  • Ensuring only 1 authentication scheme is being used (both in web config & in IIS site settings.)
  • Triple checking that the config sections are present as explained here.

Can anyone give any more advice?

Update

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.


The only solution I could find was manually create the svc file and include it in the clientbin folder.


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)

0

精彩评论

暂无评论...
验证码 换一张
取 消