Search code examples
c#.netasp.netsilverlightwcf-ria-services

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


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:

enter image description here

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?


Solution

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