forked from npgsql/npgsql
-
Notifications
You must be signed in to change notification settings - Fork 4
EDM wizard trouble shooting
kenjiuno edited this page Mar 30, 2015
·
24 revisions
Check the trouble shooting cases, if you have problems on using Entity Data Model wizard in Vs2012/Vs2013:
Case 1: The wizard disappears, when we click [Next]
Point:
- You need to use same version of Npgsql: GAC's Npgsql and project's Npgsql.
How to fix?
- If you use
2.2.3.0
installer, use2.2.3.0
Npgsql and Npgsql.EntityFramework in your project. - If you use
2.2.4.3
installer, use2.2.4.3
Npgsql and Npgsql.EntityFramework in your project.
Note:
- The installers are available at https://github.com/npgsql/npgsql/releases
Case 2: The dialog says "A compatible provider not found".
Message:
- Your project references the latest version of Entity Framework; however, an Entity Framework database provider compatible with this version could not be found for your data connection.
- If you have already installed a compatible provider, ensure you have rebuilt your project before performing this action.
- Otherwise, exit this wizard, install a compatible provider, and rebuild your project before performing this action.
Point:
- Check
<provider>
section at your project'sApp.config
orWeb.config
.
How to fix? 1
- Remove version indication from
type
attribute. - For example:
<provider invariantName="Npgsql" type="Npgsql.NpgsqlServices, Npgsql.EntityFramework" />
How to fix? 2
- Specify a full
type
specification. - For example:
<provider invariantName="Npgsql" type="Npgsql.NpgsqlServices, Npgsql.EntityFramework, Version=2.2.3.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7" />
References: