Solved

EntityDatasource metadata specified could not be loaded

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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