Solved

EntityDatasource metadata specified could not be loaded

Posted on 2014-02-04
1
2,192 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

821 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