Solved

EntityDatasource metadata specified could not be loaded

Posted on 2014-02-04
1
2,220 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

728 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