dotConnect for Oracle 8.1.45 / VS2013 / EF6.0.1 - Cannot connect
Posted: Mon 09 Dec 2013 21:14
I am attempting to create a new EF6 project using the latest dotConnect Express for Oracle (v8.45). I have tried both nuGet package install as well as separate download/install on dotConnect.
If I start a brand-new project and do NOT load EF6 but just dotConnect, it works and I can connect and retrieve an entity with data... great!
But, if I upgrade EF to v6.0.1 from nuGet and target dotConnect for EF6, then I get the following error:
The Entity Framework provider type 'Devart.Data.Oracle.Entity.OracleEntityProviderServices, Devart.Data.Oracle.Entity, Version=8.1.26.6, Culture=neutral, PublicKeyToken=09af7300eec23701' registered in the application config file for the ADO.NET provider with invariant name 'Devart.Data.Oracle' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.
Also, the designer doesn't seem to create the app.config connection string entry after it generates the .edml file(s). I have to manually copy them in.
* ODAC 12 is loaded and connects via VS2013 Server Explorer, no problem
* Targeting framework 4.5.1 (I tried earlier frameworks and it doesn't seem to help)
* Testing a class library and separate unit-test (no ASP, etc in the way)
Any suggestions on what might be wrong?
Thanks
If I start a brand-new project and do NOT load EF6 but just dotConnect, it works and I can connect and retrieve an entity with data... great!
But, if I upgrade EF to v6.0.1 from nuGet and target dotConnect for EF6, then I get the following error:
The Entity Framework provider type 'Devart.Data.Oracle.Entity.OracleEntityProviderServices, Devart.Data.Oracle.Entity, Version=8.1.26.6, Culture=neutral, PublicKeyToken=09af7300eec23701' registered in the application config file for the ADO.NET provider with invariant name 'Devart.Data.Oracle' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.
Also, the designer doesn't seem to create the app.config connection string entry after it generates the .edml file(s). I have to manually copy them in.
* ODAC 12 is loaded and connects via VS2013 Server Explorer, no problem
* Targeting framework 4.5.1 (I tried earlier frameworks and it doesn't seem to help)
* Testing a class library and separate unit-test (no ASP, etc in the way)
Any suggestions on what might be wrong?
Thanks