Click here to Skip to main content
15,917,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I got this error when i run my web application live after logging in :

The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.


Any help ??
Posted

You need to copy the connection string in the app.config to your web.config, or copy the entire file to the project which displays the output. It is one of the conditions to consume the framework.
 
Share this answer
 
Solution: Moving the connection string from newly created class library project to the website project.

Similar issue reported with resolution here: http://blog.weareon.net/the-specified-named-connection-is-either-not-found-in-the-configuration-not-intended-to-be-used-with-the-entityclient-provider-or-not-valid/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900