Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: ASP.NET4.0
I've uploaded my entity framework project on my hosting. the web.config file contain the following connection string
<add name="CoreEntities" connectionString="metadata=res://*/App_Code.Model.csdl|res://*/App_Code.Model.ssdl|res://*/App_Code.Model.msl;provider=System.Data.SqlClient;provider connection string="data source=adress of my datatbase ;initial catalog=Core; User ID=xxx; Password=yyy;multipleactiveresultsets=True;App=EntityFramework""
      providerName="System.Data.EntityClient" />
but when i open my web page i get the following error:
The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid
kindly tell me what wrong that this error is occurred.
thanks in advance
Posted 6-Apr-13 0:27am

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

Advertise | Privacy | Mobile
Web03 | 2.8.141022.2 | Last Updated 6 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100