When I follow the "Entity Framework Tutorial Database-First" I get an error trying to compile the model.
The error is: "The provider did not return a ProviderManifest instance. Could not determine storage version; a valid storage connection or a version hint is required."
Why am I getting this? What is not configured correctly?
I started by creating a brand C# console application project for .Net 3.5.
Thank you for your help.
- marc
ProviderManifest Instance
Re: ProviderManifest Instance
Are you working with SQL Server 2012? There is a bug in the current public version of Entity Developer: provider manifest token is not determined correctly when creating the EF model for Microsoft SQL Server 2012 if the "Entity Framework version" property of the EF model is not set to EFv6. The fix will be included in the next public build.
A workaround for Entity Developer v 5.0.28: when the model is created, open it with text editor (e.g.: XML Editor in Visual Studio) and change the value of ProviderManifestToken XML attribute from "2012" to "2008", save the file.
If this is not the case, specify the name and version of your database server.
A workaround for Entity Developer v 5.0.28: when the model is created, open it with text editor (e.g.: XML Editor in Visual Studio) and change the value of ProviderManifestToken XML attribute from "2012" to "2008", save the file.
If this is not the case, specify the name and version of your database server.
Re: ProviderManifest Instance
While I'm trying to generate the model on SQL 2010, the staging servers are 2008 and the production servers are 2005.
I will try the work around you have suggested.
Thanks
marc
I will try the work around you have suggested.
Thanks
marc
Re: ProviderManifest Instance
One quick question, what file am I opening? The EDML another file?
Thanks
marc
Thanks
marc
Re: ProviderManifest Instance
Please open the *.edml file with a text editor and replace "2012" with "2008".
Re: ProviderManifest Instance
The bug with provider manifest token determined incorrectly when creating the model for Microsoft SQL Server 2012, if the "Entity Framework version" property of the model is not set to "Entity Framework 6.0", is fixed in the latest (5.0.43) version of Entity Developer: http://forums.devart.com/viewtopic.php?f=32&t=25825.