I have a wpf n-tier application made from the standard DevForce template. It is currently using the IIS-Express 7 and is working fine.
the webconfig and the app.config look like this:
Web.Config: (no changes to the one provided by the template except the addition of hte httpRunntime targetFramework
<system.web>
<httpRuntime targetFramework="4.5" />
<compilation>
<assemblies>
<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</assemblies>
</compilation>
</system.web>
The app.config is also standard an looks like this:
<objectServer remoteBaseURL="http://localhost" serverPort="50372" serviceName="EntityService.svc" >
<clientSettings isDistributed="true" />
</objectServer>
I would like to move it form IIS-Express to the IIS (in a virtual directory)
In Visual Studio I can see the following path:
http://localhost/VisSolutionsWebServer
I thus changed the app.config as follows:
<objectServer remoteBaseURL="http://localhost/VisSolutionsWebServer" serviceName="EntityService.svc" >
<clientSettings isDistributed="true" />
</objectServer>
When I start the application I get the following error:
on the statement:
await Authenticator.Instance.LoginAsync();
With the message: "http://localhost/VisSolutionsWebServer/VisSolutionsWebServer/EntityServer.svc could not be activated.
It seems to me that the above address is wrong it should be:
http://localhost/VisSolutionsWebServer/EntityServer.svc
But I have no idea where the wrong address comes from or how I could change it.
What am I doing wrong?