New Posts New Posts RSS Feed: Endpoint wouldn't start when using with IIS
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Endpoint wouldn't start when using with IIS

 Post Reply Post Reply
Author
katit View Drop Down
Senior Member
Senior Member


Joined: 09-Sep-2011
Posts: 146
Post Options Post Options   Quote katit Quote  Post ReplyReply Direct Link To This Post Topic: Endpoint wouldn't start when using with IIS
    Posted: 18-Mar-2013 at 3:13pm
Switched to use real IIS server, when I run application it gives me error:


There is no endpoint listening on http://localhost:81/EntityService.svc/sl that could accept calls from this application. If running in Visual Studio, make sure CopyLocal=true is set for all IdeaBlade assembly references in the web project to ensure that these assemblies are copied to the bin folder. Also check that the global.asax contains code to register the DevForce VirtualPathProvider, or that the EntityService.svc and EntityServer.svc files are present. To check if the service is running, open your internet browser and navigate to 'http://localhost:81/EntityService.svc'. If the service page shows errors, these should help diagnose the problem with the service. If the service is running, then also make sure that the endpoint bindings match between client and server, and that the server's ClientApplicationType is either 'Silverlight' or 'Both'. Check the server's debug log file for more information.


Nothing changed in program, just pointed to newly started IIS.
Nothing in DebugLog.xml, nothing in event log. When I navigate to 'http://localhost:81/EntityService.svc' I get 404.

Any advice?

PS: To validate I set to "IIS Express", created new virtual directory - started no problem. So, something with default config of IIS on Win8. Did anybody have same problem? I need to debug web services remotely and can't do that with IIS Express

Edited by katit - 18-Mar-2013 at 3:27pm
Back to Top
katit View Drop Down
Senior Member
Senior Member


Joined: 09-Sep-2011
Posts: 146
Post Options Post Options   Quote katit Quote  Post ReplyReply Direct Link To This Post Posted: 19-Mar-2013 at 10:12am
Found it. Under .NET 4.5 Advanced Services I had to turn on WCF HTTP Activation, otherwise it wasn't able to figure how to activate .svc

IMPORTANT! DO NOT use http://msdn.microsoft.com/en-us/library/ms732012(v=VS.100).aspx
ServiceModelReg.exe tool as it will install 3.0 libraries which won't be compatible with new 4.5 stuff.

Suggest updating recent docs with this.
Back to Top
sbelini View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options Post Options   Quote sbelini Quote  Post ReplyReply Direct Link To This Post Posted: 19-Mar-2013 at 10:57am
Thanks for the update, katit!

We will note that in our documentation.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down