dotConnect for Oracle model update error

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
werder
Posts: 2
Joined: Mon 04 Apr 2011 10:29

dotConnect for Oracle model update error

Post by werder » Mon 04 Apr 2011 10:45

Hi,
I am getting an error when I try to update model with dotConnect for Oracle 6.10.126 on Windows 7/Visual Studio 2010 SP1. Error is:

Unable to generate the model because of the following exception: 'Exception of type 'System.OutOfMemoryException' was thrown.'.
Loading metadata from the database took 00:00:09.5769340.
Generating the model took 00:00:30.7973893.


Sometimes VS gives package loading error. With logging mode for VS I've found these log entries in ActivityLog.xml :

CreateInstance failed for package [Devart.EntityDeveloper.Vs.EntityDeveloperPackage, Devart.EntityDeveloper.Vs, Version=3.20.104.0, Culture=neutral, PublicKeyToken=09af7300eec23701]

and

End package load [Devart.EntityDeveloper.Vs.EntityDeveloperPackage, Devart.EntityDeveloper.Vs, Version=3.20.104.0, Culture=neutral, PublicKeyToken=09af7300eec23701]

What is the root cause of these problems?

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Mon 04 Apr 2011 12:23

Thank you for the report, we have already fixed the problem with OutOfMemoryException. The fixed build will be available in a week or so.
As a temporary workaround, you can create a user that has permission to see only the necessary set of objects, and add all objects from this schema only.
As for the package loading, could you please uninstall dotConnect for Oracle, remove Devart.Data.* DLLs (if any) from GAC, delete the %Program Files%\Devart\dotConnect, %Program Files%\Microsoft Visual Studio (8.0, 9.0, 10.0)\Common7\IDE\PrivateAssemblies\Devart, %Program Files%\Common Files\Devart\dotConnect, and %Program Files%\Common Files\Devart\EntityDeveloper folders.
Then install dotConnect for Oracle again.
Please let us know if the problem with package loading persists.

werder
Posts: 2
Joined: Mon 04 Apr 2011 10:29

Post by werder » Mon 04 Apr 2011 12:46

Hi Andrey, thanks for the reply.
When this build having fix will be released ?

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Mon 04 Apr 2011 13:40

The new build will be released in a week or so.

Post Reply