Home

LINQPad Entity Framework DbContext Connection error

On a new Windows 10 Pro workstation with LINQPad v5.08.01(AnyCPU)
We have a Entity Framework DbContext in a .Net assembly (EntityFramework 6).
This assembly works when called in an application.
Yet when creating a Entity Framework DbContext Connection in LINQPad we receive an error:

Error: Type is not resolved for member 'System.Data.Entity.Core.ProviderIncopatibleException,EntityFramework, Version=6.0.0.0, Culture=neutral,PublicKeyToken=b77a5c561934e089

In the application config file the connection and provider are declared as:
add name="oCPDSD" connectionString="User Id=*******;Password=**********;Server=*******;Direct=False;Persist Security Info=True" providerName="Devart.Data.Oracle"

provider invariantName="Devart.Data.Oracle" type="Devart.Data.Oracle.Entity.OracleEntityProviderServices, Devart.Data.Oracle.Entity, Version=8.5.558.6, Culture=neutral, PublicKeyToken=09af7300eec23701"

The machine.config

add name="dotConnect for Oracle" invariant="Devart.Data.Oracle" description="Devart dotConnect for Oracle" type="Devart.Data.Oracle.OracleProviderFactory, Devart.Data.Oracle, Version=8.5.558.0, Culture=neutral, PublicKeyToken=09af7300eec23701"


How is this error resolved?

Terry
Sign In or Register to comment.