Skip to content

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 (Setup_Npgsql-2.2.3.0-r2-net45.exe), use 2.2.3.0 Npgsql and Npgsql.EntityFramework in your project.
  • If you use 2.2.4.3 installer (Setup_Npgsql-2.2.4.3-net45.exe), use 2.2.4.3 Npgsql and Npgsql.EntityFramework in your project.

Case 2: The dialog says "A compatible provider not found".

nocompat

Point:

  • Check <provider> section in project's App.config or Web.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: