ProviderManifest Instance

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
mhsimkin
Posts: 3
Joined: Sat 26 Jan 2013 22:54

ProviderManifest Instance

Post by mhsimkin » Sat 26 Jan 2013 23:01

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

Shalex
Site Admin
Posts: 8248
Joined: Thu 14 Aug 2008 12:44

Re: ProviderManifest Instance

Post by Shalex » Mon 28 Jan 2013 09:03

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.

mhsimkin
Posts: 3
Joined: Sat 26 Jan 2013 22:54

Re: ProviderManifest Instance

Post by mhsimkin » Mon 28 Jan 2013 09:40

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

mhsimkin
Posts: 3
Joined: Sat 26 Jan 2013 22:54

Re: ProviderManifest Instance

Post by mhsimkin » Mon 28 Jan 2013 10:30

One quick question, what file am I opening? The EDML another file?

Thanks

marc

Shalex
Site Admin
Posts: 8248
Joined: Thu 14 Aug 2008 12:44

Re: ProviderManifest Instance

Post by Shalex » Tue 29 Jan 2013 08:57

Please open the *.edml file with a text editor and replace "2012" with "2008".

Shalex
Site Admin
Posts: 8248
Joined: Thu 14 Aug 2008 12:44

Re: ProviderManifest Instance

Post by Shalex » Mon 25 Feb 2013 15:24

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.

Post Reply