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?
dotConnect for Oracle model update error
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.
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.