Connection string Error [Resolved]

Posted by raghuavulapalli-25110 under ADO.NET on 2/6/2014 | Points: 10 | Views : 883 | Status : [Member] | Replies : 2
I have a database first 3 tier application, now i am using Entity data model in my DataAccess layer to get some data. here i am gettoing connection string error as follows

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

Please suggest me with appropriate solution

Raghunath


Responses

Posted by: Sravan661 on: 2/6/2014 [Member] Bronze | Points: 50

Up
0
Down

Resolved
Hi,
Please specify your Entity data model connection string in your web.config.
As a connection string is already estabilished in your DataAccess layer in app.config file copy it and paste in your web.config file

Hope this helps you

sravan

raghuavulapalli-25110, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: kgovindarao523-21772 on: 2/6/2014 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Hi,

I think your config file is not in the web project, it is in some other DLL....not so sure...but your connection string should be in the web.config of project being executed...

Thank you,
Govind

raghuavulapalli-25110, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response