Entity Data Model Wizard error

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
stratdaz
Posts: 23
Joined: Tue 04 May 2010 00:46

Entity Data Model Wizard error

Post by stratdaz » Wed 05 May 2010 00:13

After installing Devart dotConnect for Oracle Trial, version 5.60.124.0, I'm getting an error when attempting to create a new connection in the Entity Data Model Wizard in Visual Studio.

"An unexpected error occurred in the Devart dotConnect for Oracle. Please contact the provider vendor to resolve this problem".

Can connect ok in "Entity Developer for dotConnect" either direct or using the Oracle client.

OS: Windows Server 2008 x64
VS: VS2008 SP1

Thanks

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Wed 05 May 2010 10:43

Please check whether you are able to connect to the Oracle server with dotConnect for Oracle using Server Explorer. Provided that the connection is created successfully, please specify if you are able to open it and retrieve some data from the database.

If the claimed problems occur with Server Explorer as well, please try performing the following steps:
1. Launch another Visual Studio instance and attach it to the previous one (Tools -> Attach to Process).
2. Start EDM Wizard in the first VS instance.
3. Catch the exception in the second VS instance.
Please tell us the exception's type, exact message and stack trace so that we are able to investigate the issue in details.

stratdaz
Posts: 23
Joined: Tue 04 May 2010 00:46

Post by stratdaz » Mon 10 May 2010 02:42

Problem also occurs with Server Explorer.

Exception details ...

"A first chance exception of type 'Microsoft.VisualStudio.Data.DataProviderException' occurred in Microsoft.VisualStudio.Data.Compatibility.dll.

Additional information: An unexpected error occurred in the Devart dotConnect for Oracle. Please contact the provider vendor to resolve this problem.:

Stack Trace ...

> Microsoft.VisualStudio.Data.Compatibility.dll!Microsoft.VisualStudio.Data.Compatibility.NewProviderObjectFactory.Microsoft.VisualStudio.Data.Core.IVsDataSiteableObject.Site.set(Microsoft.VisualStudio.Data.Core.IVsDataProvider value) + 0x337 bytes
Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataProvider.ProviderObjectFactory.get() + 0x98 bytes
Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataProvider.GetAssembly(System.Guid source, string assemblyString = "") + 0xcc bytes
Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataProvider.GetAssembly(string assemblyString) + 0x27 bytes
Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataProvider.GetString(string resourceId) + 0x153 bytes
Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataProvider.DisplayName.get() + 0x5c bytes
Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataConnectionDialog.UIDataProvider.UIDataProvider(Microsoft.VisualStudio.Data.Core.IVsDataProvider vsDataProvider = {Microsoft.VisualStudio.Data.Package.DataProvider}) + 0x4f bytes
Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataConnectionDialog.DataProviderCollection.CreateProvider(System.Guid provider) + 0x61 bytes
Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataConnectionDialog.DataProviderCollection.Add(System.Guid item) + 0xb3 bytes
Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataConnectionDialog.AddSources(Microsoft.VisualStudio.Data.Services.DataConnectionDialogFilterCallback callback = {Method = {System.Reflection.RuntimeMethodInfo}}) + 0x20f bytes
Microsoft.Data.Entity.Design.dll!Microsoft.Data.Entity.Design.VisualStudio.ModelWizard.Gui.WizardPageDbConfig.newDBConnectionButton_Click(object sender, System.EventArgs e) + 0xe0 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.OnClick(System.EventArgs e) + 0x70 bytes
System.Windows.Forms.dll!System.Windows.Forms.Button.OnClick(System.EventArgs e) + 0x4a bytes
System.Windows.Forms.dll!System.Windows.Forms.Button.OnMouseUp(System.Windows.Forms.MouseEventArgs mevent = {X = 68 Y = 15 Button = Left}) + 0xac bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WmMouseUp(ref System.Windows.Forms.Message m, System.Windows.Forms.MouseButtons button, int clicks) + 0x28f bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0x885 bytes
System.Windows.Forms.dll!System.Windows.Forms.ButtonBase.WndProc(ref System.Windows.Forms.Message m) + 0x127 bytes
System.Windows.Forms.dll!System.Windows.Forms.Button.WndProc(ref System.Windows.Forms.Message m) + 0x20 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x10 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x31 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg = 514, System.IntPtr wparam, System.IntPtr lparam) + 0x57 bytes
user32.dll!_InternalCallWinProc@20() + 0x23 bytes
user32.dll!_UserCallWinProcCheckWow@32() + 0xb7 bytes
user32.dll!_DispatchMessageWorker@8() + 0xed bytes
user32.dll!_DispatchMessageW@4() + 0xf bytes
[Managed to Native Transition]
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.LocalModalMessageLoop(System.Windows.Forms.Form form = {Microsoft.Data.Entity.Design.VisualStudio.ModelWizard.Gui.ModelBuilderWizardForm}) + 0x14f bytes
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int reason = 4, System.Windows.Forms.ApplicationContext context = {System.Windows.Forms.Application.ModalApplicationContext}) + 0x1e8 bytes
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(int reason, System.Windows.Forms.ApplicationContext context) + 0x61 bytes
System.Windows.Forms.dll!System.Windows.Forms.Application.RunDialog(System.Windows.Forms.Form form) + 0x33 bytes
System.Windows.Forms.dll!System.Windows.Forms.Form.ShowDialog(System.Windows.Forms.IWin32Window owner) + 0x370 bytes
System.Windows.Forms.dll!System.Windows.Forms.Form.ShowDialog() + 0x7 bytes
Microsoft.WizardFramework.dll!Microsoft.WizardFramework.WizardForm.Start(System.Windows.Forms.IWin32Window parent) + 0xe0 bytes
Microsoft.WizardFramework.dll!Microsoft.WizardFramework.WizardForm.Start() + 0x7 bytes
Microsoft.Data.Entity.Design.dll!Microsoft.Data.Entity.Design.VisualStudio.ModelWizard.ModelObjectItemWizard.RunStarted(object automationObject, System.Collections.Generic.Dictionary replacementsDictionary, Microsoft.VisualStudio.TemplateWizard.WizardRunKind runKind, object[] customParams) + 0x58f bytes
Microsoft.VisualStudio.TemplateWizard.dll!Microsoft.VisualStudio.TemplateWizard.Wizard.Execute(object application = {System.__ComObject}, int hwndOwner, ref object[] ContextParams = {object[7]}, ref object[] CustomParams, ref EnvDTE.wizardResult retval) + 0x1505 bytes
[Frames below may be incorrect and/or missing, no symbols loaded for mscorwks.dll]
[Native to Managed Transition]
ole32.dll!75961075()
msvcr90.dll!73e73db8()
msvcr90.dll!73e469ed()
msenv.dll!686d0177()
msenv.dll!6870f926()
csproj.dll!648221db()
VisualSVN.VS.Interop.dll!1002632e()
msenv.dll!68995f73()
[/list]

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Tue 11 May 2010 12:12

Please try performing the following steps:
- uninstall dotConnect for Oracle;
- remove all Devart.* and policy.*.Devart.* files from the GAC;
- clear the %Program Files%\Devart\dotConnect\Oracle\ and %Program Files%\Common Files\Devart\dotConnect\ folders;
- re-install dotConnect for Oracle.

Please tell us if this helps.

stratdaz
Posts: 23
Joined: Tue 04 May 2010 00:46

Post by stratdaz » Mon 21 Jun 2010 02:09

Installing version 5.70.140 of dotConnect fixed the problem.

Thanks

Post Reply