From: Jens W. (JIRA) <tr...@fi...> - 2014-10-15 11:02:13
|
Firebird DDEX Provider Visual Studio 2013 SP3 - Connection dialog disappears immediately ---------------------------------------------------------------------------------------- Key: DNET-571 URL: http://tracker.firebirdsql.org/browse/DNET-571 Project: .NET Data provider Issue Type: Bug Components: DDEX Provider Affects Versions: 4.5.1.0 Environment: Windows 8.1 Pro x64, Visual Studio 2013 Professional SP3 Reporter: Jens Warkentin Assignee: Jiri Cincura Priority: Blocker see Cross-Post: StackOverflow: http://stackoverflow.com/questions/26377689/firebird-ddex-provider-visual-studio-2013-sp3-connection-dialog-disappears-imm I've installed the latest Firebird ADO.Net Provider (FirebirdSql.Data.FirebirdClient-4.5.1.0.msi) and the latest Firebird DDEX Provider (DDEXProvider-3.0.1.0.msi). Both providers are registered in GAC. FirebirdSql.VisualStudio.DataTools, Version=3.0.1.0, Culture=neutral, PublicKeyToken=bae6c78ccb0fcdb3, processorArchitecture=MSIL FirebirdSql.Data.FirebirdClient, Version=4.5.1.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c, processorArchitecture=MSIL The Firebird ADO.Net Provider is also registered in the "DbProviderFactories" Node of the machine.config (for both x86 and x64). <add name="FirebirdClient Data Provider" invariant="FirebirdSql.Data.FirebirdClient" description=".NET Framework Data Provider for Firebird" type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient, Version=4.5.1.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c"/> I'm trying to create a new Database Connection using the DDEX Provider in VS2013 SP3, but it's not working. When I change any values in the "Firebird Data Source" connection dialog, the dialog disappears. I debugged VS2013 in background with a 2nd VS2013 Instance and got this Output messages, while the connection dialog disappears: FbDataConnectionUIControl::LoadProperties() Eine Ausnahme (erste Chance) des Typs "System.NullReferenceException" ist in FirebirdSql.VisualStudio.DataTools.dll aufgetreten. System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei FirebirdSql.VisualStudio.DataTools.FbDataConnectionUIControl.LoadProperties() FbDataConnectionUIControl::LoadProperties() Eine Ausnahme (erste Chance) des Typs "System.NullReferenceException" ist in FirebirdSql.VisualStudio.DataTools.dll aufgetreten. System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei FirebirdSql.VisualStudio.DataTools.FbDataConnectionUIControl.LoadProperties() Eine Ausnahme (erste Chance) des Typs "System.NullReferenceException" ist in FirebirdSql.VisualStudio.DataTools.dll aufgetreten. Any ideas how I can get the provider to run or where I can look for other prerequisites? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Wolfgang L. <lem...@ps...> - 2014-10-15 11:58:46
|
Hi Jens, http://delphitutorials.de/VerbindungsdialogGehtZu open Machine.config in C:\Windows\Microsoft.NET\Framework\v4.0.30319\config (or your config) and search for <system.data> <DbProviderFactories> there are more than one Entry for the Firebird Client: <add name="FirebirdClient Data Provider" invariant="FirebirdSql.Data.FirebirdClient" description=".NET Framework Data Provider for Firebird" type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient, Version=4.5.0.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c"/></DbProviderFactories> delete one of the Entry.... Regards Wolfgang Am 15.10.2014 13:02, schrieb Jens Warkentin (JIRA): > Firebird DDEX Provider Visual Studio 2013 SP3 - Connection dialog disappears immediately > ---------------------------------------------------------------------------------------- > > Key: DNET-571 > URL: http://tracker.firebirdsql.org/browse/DNET-571 > Project: .NET Data provider > Issue Type: Bug > Components: DDEX Provider > Affects Versions: 4.5.1.0 > Environment: Windows 8.1 Pro x64, Visual Studio 2013 Professional SP3 > Reporter: Jens Warkentin > Assignee: Jiri Cincura > Priority: Blocker > > > see Cross-Post: StackOverflow: http://stackoverflow.com/questions/26377689/firebird-ddex-provider-visual-studio-2013-sp3-connection-dialog-disappears-imm > > I've installed the latest Firebird ADO.Net Provider (FirebirdSql.Data.FirebirdClient-4.5.1.0.msi) and the latest Firebird DDEX Provider (DDEXProvider-3.0.1.0.msi). > > Both providers are registered in GAC. > FirebirdSql.VisualStudio.DataTools, Version=3.0.1.0, Culture=neutral, PublicKeyToken=bae6c78ccb0fcdb3, processorArchitecture=MSIL > FirebirdSql.Data.FirebirdClient, Version=4.5.1.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c, processorArchitecture=MSIL > > The Firebird ADO.Net Provider is also registered in the "DbProviderFactories" Node of the machine.config (for both x86 and x64). > > <add name="FirebirdClient Data Provider" invariant="FirebirdSql.Data.FirebirdClient" description=".NET Framework Data Provider for Firebird" type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient, Version=4.5.1.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c"/> > > I'm trying to create a new Database Connection using the DDEX Provider in VS2013 SP3, but it's not working. When I change any values in the "Firebird Data Source" connection dialog, the dialog disappears. > > I debugged VS2013 in background with a 2nd VS2013 Instance and got this Output messages, while the connection dialog disappears: > > FbDataConnectionUIControl::LoadProperties() > Eine Ausnahme (erste Chance) des Typs "System.NullReferenceException" ist in FirebirdSql.VisualStudio.DataTools.dll aufgetreten. > > System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. > bei FirebirdSql.VisualStudio.DataTools.FbDataConnectionUIControl.LoadProperties() > FbDataConnectionUIControl::LoadProperties() > > Eine Ausnahme (erste Chance) des Typs "System.NullReferenceException" ist in FirebirdSql.VisualStudio.DataTools.dll aufgetreten. > > System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. > bei FirebirdSql.VisualStudio.DataTools.FbDataConnectionUIControl.LoadProperties() > > Eine Ausnahme (erste Chance) des Typs "System.NullReferenceException" ist in FirebirdSql.VisualStudio.DataTools.dll aufgetreten. > > Any ideas how I can get the provider to run or where I can look for other prerequisites? > |
From: Mercea P. <pau...@al...> - 2014-12-15 07:38:01
|
On 2014.10.15 2:31 PM, Wolfgang Lemmermeyer wrote: > <system.data> > <DbProviderFactories> > > there are more than one Entry for the Firebird Client: > <add name="FirebirdClient Data Provider" > invariant="FirebirdSql.Data.FirebirdClient" description=".NET Framework > Data Provider for Firebird" > type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, > FirebirdSql.Data.FirebirdClient, Version=4.5.0.0, Culture=neutral, > PublicKeyToken=3750abcc3150b00c"/></DbProviderFactories> > > The problem on Windows 8.1 is that gacutil doesn't register Firebird client, but...using an older version it does. In Windows 8.1 is needed an installer to register the client, but the installer doesn't do this. I have user gacutil.exe version 4.0.30319.1 and works ok. Paul MERCEA ___________________________________________ E-mail: pau...@al... ___________________________________________ |
From: Mercea P. <pau...@al...> - 2014-12-11 05:48:33
|
On 2014.10.15 2:02 PM, Jens Warkentin (JIRA) wrote: > Firebird DDEX Provider Visual Studio 2013 SP3 - Connection dialog disappears immediately > ---------------------------------------------------------------------------------------- > > Key: DNET-571 > URL: http://tracker.firebirdsql.org/browse/DNET-571 > Project: .NET Data provider > Issue Type: Bug > Components: DDEX Provider > Affects Versions: 4.5.1.0 > Environment: Windows 8.1 Pro x64, Visual Studio 2013 Professional SP3 > Reporter: Jens Warkentin > Assignee: Jiri Cincura > Priority: Blocker > > > see Cross-Post: StackOverflow: http://stackoverflow.com/questions/26377689/firebird-ddex-provider-visual-studio-2013-sp3-connection-dialog-disappears-imm > > I'm geting the same behavior, dialog generate error message for Visual Studio and close. Environment: Visual Studio 2014, update 4, Firebird 2.5 x86, DDEX 3.0.1, Windows 8.1 x64. Same error I get from project setting when i try to add a connection string, when i try to add a data source or when i try to modify a dataset. In Event Viewer i get this: Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.NullReferenceException Stack: at FirebirdSql.VisualStudio.DataTools.FbDataConnectionUIControl.SetProperty(System.Object, System.EventArgs) at System.Windows.Forms.Control.OnTextChanged(System.EventArgs) at System.Windows.Forms.ComboBox.OnTextChanged(System.EventArgs) at System.Windows.Forms.ComboBox.WmReflectCommand(System.Windows.Forms.Message ByRef) at System.Windows.Forms.ComboBox.WndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef) at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr) at System.Windows.Forms.UnsafeNativeMethods.SendMessage(System.Runtime.InteropServices.HandleRef, Int32, IntPtr, IntPtr) at System.Windows.Forms.Control.SendMessage(Int32, IntPtr, IntPtr) at System.Windows.Forms.Control.ReflectMessageInternal(IntPtr, System.Windows.Forms.Message ByRef) at System.Windows.Forms.Control.WmCommand(System.Windows.Forms.Message ByRef) at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.ScrollableControl.WndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.ContainerControl.WndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.UserControl.WndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef) at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr) at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr) at System.Windows.Forms.NativeWindow.DefWndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.Control.DefWndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.Control.WmCommand(System.Windows.Forms.Message ByRef) at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.ComboBox.WndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef) at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef) at System.Windows.Forms.Application+ThreadContext.LocalModalMessageLoop(System.Windows.Forms.Form) at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext) at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext) at System.Windows.Forms.Application.RunDialog(System.Windows.Forms.Form) at System.Windows.Forms.Form.ShowDialog(System.Windows.Forms.IWin32Window) at Microsoft.Data.ConnectionUI.DataConnectionDialog.Show(Microsoft.Data.ConnectionUI.DataConnectionDialog, System.Windows.Forms.IWin32Window) at Microsoft.VisualStudio.Data.HostServices.Environment.ShowDialog(System.Windows.Forms.Form) at Microsoft.VisualStudio.Data.Package.DataConnectionDialog.ShowDialog() at Microsoft.VisualStudio.Editors.SettingsDesigner.ConnectionStringUITypeEditor.EditValue(System.ComponentModel.ITypeDescriptorContext, System.IServiceProvider, System.Object) at Microsoft.VisualStudio.Editors.SettingsDesigner.TypeEditorHostControl.ShowUITypeEditor() at Microsoft.VisualStudio.Editors.SettingsDesigner.TypeEditorHostControl.ShowEditorButton_Click(System.Object, System.EventArgs) at System.Windows.Forms.Control.OnClick(System.EventArgs) at System.Windows.Forms.Button.OnClick(System.EventArgs) at System.Windows.Forms.Button.OnMouseUp(System.Windows.Forms.MouseEventArgs) at System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32) at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.ButtonBase.WndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.Button.WndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef) at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr) Paul MERCEA ___________________________________________ E-mail: pau...@al... ___________________________________________ |