Ray's Asp.net Blog
Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
Pages
Event registration app with QR/Paypal
Home
Wednesday, March 27, 2013
How to deal with error "System.Data.MetadataException: Unable to load the specified metadata resource" when move edmx entity file to another project?
Cause: the res:// path changed. Need to be modified
Change connection for edmx file from
metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;
To
metadata=res://projectname/foldername.csdl|res://*/Model1.ssdl|res://*/Model1.msl;
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)