Click here to Skip to main content
12,759,135 members (33,784 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET4
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 1:27am

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 6 Apr 2013
Copyright © CodeProject, 1999-2017
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