PROBLEM with Deploying WPF App with DotConnect for Oracle

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
dcuser
Posts: 12
Joined: Mon 14 Mar 2011 12:49

PROBLEM with Deploying WPF App with DotConnect for Oracle

Post by dcuser » Thu 30 Jun 2011 18:49

Hi,

We are trying to install a WPF application developed using C# and dotConnect for Oracle using clickOnce deployment. We have followed the instruction given in http://www.devart.com/dotconnect/oracle ... ml#project

Still we get the error:

critical errorSchema specified is not valid. Errors:
EntityModel.IVSREntityModel.ssdl(2,86): error 0004: Could not load file or assembly 'Devart.Data.Oracle.Entity, Version=6.30.172.0, Culture=neutral, PublicKeyToken=09af7300eec23701' or one of its dependencies. The system cannot find the file specified

We followed the URLs: http://www.devart.com/forums/viewtopic. ... e7e670a204
http://www.devart.com/forums/viewtopic. ... e7e670a204
and
http://www.devart.com/dotconnect/oracle/docs/
and updated out project with suggestions from these links. Still the issue persists where we get the error shown above. Please advice on a solution.

We are using VS2010, C#, EF4.0, .NET 4, with dotConnect for Oracle verison 6.30.172

Thanks,

Uday

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

Post by Shalex » Fri 01 Jul 2011 15:39

1. Make sure that you deployed Devart.Data.Oracle.Entity.dll v 6.30.172 from the \Program Files\Devart\dotConnect\Oracle\Entity\EF4 folder (not from EF1) with your application.
2. Are Devart.Data.dll v 5.0.272, Devart.Data.Oracle.dll v 6.30.172, and Devart.Data.Oracle.Entity.dll v 6.30.172 available in the same folder where your application (*.exe) resides? For more information, refer to http://www.devart.com/dotconnect/oracle ... yment.html.
3. Have you placed the type definition type="Devart.Data.Oracle.OracleProviderFactory, ..." in one line in the *.config file of your application? This issue was reported in this thread.

If this doesn't help, please post here your entry to the DbProviderFactories section of the *.config file of your application.

Post Reply