dotConnect for Oracle model update error

dotConnect for Oracle model update error

Postby 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?
werder
 
Posts: 2
Joined: Mon 04 Apr 2011 10:29

Postby 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.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Postby werder » Mon 04 Apr 2011 12:46

Hi Andrey, thanks for the reply.
When this build having fix will be released ?
werder
 
Posts: 2
Joined: Mon 04 Apr 2011 10:29

Postby AndreyR » Mon 04 Apr 2011 13:40

The new build will be released in a week or so.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16


Return to dotConnect for Oracle