B
Bryant
I'm having a problem with the Business Contact Manager for Outlook 2007
Database Tool. I need to give a new user permission to access the Business
Contact Manager database. I run the BCM for Outlook 2007 Database tool and
select "Share a database." I select the appropriate Database Server Instance
and Database Name and click Next. I then get the following error message:
"Unhandled exception has occurred in your application. If you click
Continue, the application will ignore this error and attempt to continue. If
you click Quit, the application will close immediately. Data is Null. This
method or property cannot be called on Null values."
When I click on details the following info below is displayed. I have
already attempted to reinstall the Database Tool which did not resolve the
issue.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or
property cannot be called on Null values.
at System.Data.SqlClient.SqlBuffer.get_String()
at System.Data.SqlClient.SqlDataReader.GetString(Int32 i)
at Microsoft.BusinessSolutions.eCRM.BusinessLayer.BcmDataStore.GetDBOUser()
at
Microsoft.BusinessSolutions.eCRM.DbConfig.SharingWizardData.LoadUserInformation(ServerSpecification server, String dbName, String instance)
at
Microsoft.BusinessSolutions.eCRM.DbConfig.SharingWizardData.LoadUserInformation(Boolean reload, ServerSpecification server, String dbName, String instance)
at ServerWizard.ShareUsersPanel.Initialize(SharingWizardData data,
ServerSpecification server)
at ServerWizard.ShareUsersPanel.PanelShowing()
at WizardBase.WizardController.InitPanel(Control wizardPanel)
at WizardBase.WizardController.Wizard_NavigateNext(Object sender,
EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase:
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ServerWizard
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6311.1
CodeBase:
file:///C:/Program%20Files/Microsoft%20Small%20Business/Business%20Contact%20Manager%20for%20Outlook%202007%20Database%20Tool/ServerWizard.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
BCMRes.Wizard
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6311.1
CodeBase:
file:///C:/Program%20Files/Microsoft%20Small%20Business/Business%20Contact%20Manager%20for%20Outlook%202007%20Database%20Tool/BCMRes.Wizard.DLL
----------------------------------------
Xceed.Zip
Assembly Version: 3.2.6410.0
Win32 Version: 3.2.6410.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC/Xceed.Zip/3.2.6410.0__ba83ff368b7563c6/Xceed.Zip.dll
----------------------------------------
Xceed.Compression
Assembly Version: 3.2.6410.0
Win32 Version: 3.2.6410.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC/Xceed.Compression/3.2.6410.0__ba83ff368b7563c6/Xceed.Compression.dll
----------------------------------------
Xceed.FileSystem
Assembly Version: 3.2.6410.0
Win32 Version: 3.2.6410.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC/Xceed.FileSystem/3.2.6410.0__ba83ff368b7563c6/Xceed.FileSystem.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
BusinessLayer.Wizard
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6311.1
CodeBase:
file:///C:/Program%20Files/Microsoft%20Small%20Business/Business%20Contact%20Manager%20for%20Outlook%202007%20Database%20Tool/BusinessLayer.Wizard.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
BCMCommon.Wizard
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6311.1
CodeBase:
file:///C:/Program%20Files/Microsoft%20Small%20Business/Business%20Contact%20Manager%20for%20Outlook%202007%20Database%20Tool/BCMCommon.Wizard.DLL
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.3053
Win32 Version: 8.00.50727.3053
CodeBase:
file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_B80FA8CA/msvcm80.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
Microsoft.SqlServer.Smo
Assembly Version: 9.0.242.0
Win32 Version: 9.00.4035.00
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.Smo/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.Smo.dll
----------------------------------------
Microsoft.SqlServer.ConnectionInfo
Assembly Version: 9.0.242.0
Win32 Version: 9.00.4035.00
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.ConnectionInfo/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.ConnectionInfo.dll
----------------------------------------
Microsoft.SqlServer.SmoEnum
Assembly Version: 9.0.242.0
Win32 Version: 9.00.4035.00
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.SmoEnum/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.SmoEnum.dll
----------------------------------------
Microsoft.SqlServer.WmiEnum
Assembly Version: 9.0.242.0
Win32 Version: 9.00.4035.00
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.WmiEnum/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.WmiEnum.dll
----------------------------------------
Microsoft.SqlServer.SqlEnum
Assembly Version: 9.0.242.0
Win32 Version: 9.00.4035.00
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.SqlEnum/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.SqlEnum.dll
----------------------------------------
System.DirectoryServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.DirectoryServices/2.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll
----------------------------------------
Microsoft.Interop.Mapi.Interfaces
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6912.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/Microsoft.Interop.Mapi.Interfaces/3.0.0.0__31bf3856ad364e35/Microsoft.Interop.Mapi.Interfaces.dll
----------------------------------------
System.ServiceProcess
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Database Tool. I need to give a new user permission to access the Business
Contact Manager database. I run the BCM for Outlook 2007 Database tool and
select "Share a database." I select the appropriate Database Server Instance
and Database Name and click Next. I then get the following error message:
"Unhandled exception has occurred in your application. If you click
Continue, the application will ignore this error and attempt to continue. If
you click Quit, the application will close immediately. Data is Null. This
method or property cannot be called on Null values."
When I click on details the following info below is displayed. I have
already attempted to reinstall the Database Tool which did not resolve the
issue.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or
property cannot be called on Null values.
at System.Data.SqlClient.SqlBuffer.get_String()
at System.Data.SqlClient.SqlDataReader.GetString(Int32 i)
at Microsoft.BusinessSolutions.eCRM.BusinessLayer.BcmDataStore.GetDBOUser()
at
Microsoft.BusinessSolutions.eCRM.DbConfig.SharingWizardData.LoadUserInformation(ServerSpecification server, String dbName, String instance)
at
Microsoft.BusinessSolutions.eCRM.DbConfig.SharingWizardData.LoadUserInformation(Boolean reload, ServerSpecification server, String dbName, String instance)
at ServerWizard.ShareUsersPanel.Initialize(SharingWizardData data,
ServerSpecification server)
at ServerWizard.ShareUsersPanel.PanelShowing()
at WizardBase.WizardController.InitPanel(Control wizardPanel)
at WizardBase.WizardController.Wizard_NavigateNext(Object sender,
EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase:
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ServerWizard
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6311.1
CodeBase:
file:///C:/Program%20Files/Microsoft%20Small%20Business/Business%20Contact%20Manager%20for%20Outlook%202007%20Database%20Tool/ServerWizard.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
BCMRes.Wizard
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6311.1
CodeBase:
file:///C:/Program%20Files/Microsoft%20Small%20Business/Business%20Contact%20Manager%20for%20Outlook%202007%20Database%20Tool/BCMRes.Wizard.DLL
----------------------------------------
Xceed.Zip
Assembly Version: 3.2.6410.0
Win32 Version: 3.2.6410.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC/Xceed.Zip/3.2.6410.0__ba83ff368b7563c6/Xceed.Zip.dll
----------------------------------------
Xceed.Compression
Assembly Version: 3.2.6410.0
Win32 Version: 3.2.6410.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC/Xceed.Compression/3.2.6410.0__ba83ff368b7563c6/Xceed.Compression.dll
----------------------------------------
Xceed.FileSystem
Assembly Version: 3.2.6410.0
Win32 Version: 3.2.6410.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC/Xceed.FileSystem/3.2.6410.0__ba83ff368b7563c6/Xceed.FileSystem.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
BusinessLayer.Wizard
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6311.1
CodeBase:
file:///C:/Program%20Files/Microsoft%20Small%20Business/Business%20Contact%20Manager%20for%20Outlook%202007%20Database%20Tool/BusinessLayer.Wizard.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
BCMCommon.Wizard
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6311.1
CodeBase:
file:///C:/Program%20Files/Microsoft%20Small%20Business/Business%20Contact%20Manager%20for%20Outlook%202007%20Database%20Tool/BCMCommon.Wizard.DLL
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.3053
Win32 Version: 8.00.50727.3053
CodeBase:
file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_B80FA8CA/msvcm80.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
Microsoft.SqlServer.Smo
Assembly Version: 9.0.242.0
Win32 Version: 9.00.4035.00
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.Smo/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.Smo.dll
----------------------------------------
Microsoft.SqlServer.ConnectionInfo
Assembly Version: 9.0.242.0
Win32 Version: 9.00.4035.00
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.ConnectionInfo/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.ConnectionInfo.dll
----------------------------------------
Microsoft.SqlServer.SmoEnum
Assembly Version: 9.0.242.0
Win32 Version: 9.00.4035.00
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.SmoEnum/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.SmoEnum.dll
----------------------------------------
Microsoft.SqlServer.WmiEnum
Assembly Version: 9.0.242.0
Win32 Version: 9.00.4035.00
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.WmiEnum/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.WmiEnum.dll
----------------------------------------
Microsoft.SqlServer.SqlEnum
Assembly Version: 9.0.242.0
Win32 Version: 9.00.4035.00
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.SqlEnum/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.SqlEnum.dll
----------------------------------------
System.DirectoryServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.DirectoryServices/2.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll
----------------------------------------
Microsoft.Interop.Mapi.Interfaces
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6912.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/Microsoft.Interop.Mapi.Interfaces/3.0.0.0__31bf3856ad364e35/Microsoft.Interop.Mapi.Interfaces.dll
----------------------------------------
System.ServiceProcess
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.