I have a Web Service with Entity Framework. My program works fine under the Visual Studio 2010 test system. Now I tried to deploy it to IIS. However it seems my entity connection settings isn't deployed. In my webservic app.config there is a connectionstring.
I created a new website project within the solution but I couldn't connect to it with my client after I deployed the WS to IIS. I got an error:
The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.
On forums I saw this is because of the entity connection problems. I manually updated the published web.config with my entity connectionstring parameter and now I get this error:
The underlying provider failed on Open.
I'm newbie to programming. Please could someone help me how could I publish my webservice to IIS? What shold I config to my client will be able to connect to the web service? My client is a WPF application which works fine under the VS 2010 test system.
Should I post some config settings or code snippets?
Edit: I tested my webservice as I sw in some tutorial:
View Complete Post