Click here to Skip to main content
15,868,141 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
Hi,
When I tried configuring the EntityDataSource of my ASP .NET 4.5 WebForms Project and Selected named connection , It Popups an Error message as below

"The metadata specified in the connection string could not be loaded.
Consider rebuilding the web project to built assemblies that may contain metadata
The following error(s) occurred:

The Provider did not return a ProviderManifest instance."



I have tried re-building the application , also checked database connectivity and closed solution and re-opned the same error occurs.

Can any one here help me on this.

I was trying an Example in this video Link:

https://www.youtube.com/watch?v=Z7713GBhi4k&list=PL6n9fhu94yhUPBSX-E2aJCnCR3-_6zBZx[^]
for learning purpose

similar problem reported:
http://stackoverflow.com/questions/28920955/in-entity-framework-6-why-user-interface-is-not-supported-in-microsoft-asp-ent[^]

Thanks in Advance
Posted
Updated 16-Oct-20 7:00am
v3

Entity Framework 6 no longer supports wizard items. You are expected to use NuGet instead, then work entirely manually.

Bottom line...used entity framework without the data source. Do in page load or other page event and bind to collection coming back or load collection into Datatable or something.

I know this is an older post, but the issue will keep coming up in google searches so...
 
Share this answer
 
1. go where you project is located(open Solution explorer. right click on solution and click on "Open Folder in file explorer"
2. open EDMX file with notepad and change ProviderManifestToken="2012" to ProviderManifestToken="2008". save it
3. build your solution
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900