Solved

EntityDatasource metadata specified could not be loaded

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
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…

809 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