Solved

EntityDatasource metadata specified could not be loaded

Posted on 2014-02-04
1
2,171 Views
Last Modified: 2014-02-18
I'm trying to add a entitydatasource to a page but I keep getting this error about the connection string and metadata. I'm using Visual Studio 2013 with EF 5.0. What do I need to change on my connection string to use this control??

  <add name="GeneralAppsEntities1" connectionString="metadata=res://*/App_Code.GeneralApps.csdl|res://*/App_Code.GeneralApps.ssdl|res://*/App_Code.GeneralApps.msl;provider=System.Data.SqlClient;provider connection string=&quot;....&quot;" providerName="System.Data.EntityClient" /></connectionStrings>

Open in new window

0
Comment
Question by:NickMalloy
1 Comment
 
LVL 27

Accepted Solution

by:
Sammy earned 300 total points
ID: 39834831
Did you change any config settings?
This error can happen because application was unable to load the EDMX file which contains the model for your database.
see this tutorial for further trouble shooting
http://blogs.teamb.com/craigstuntz/2010/08/13/38628/
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now