Opened 17 years ago
Closed 16 years ago
#418 closed defect (fixed)
Import of 5 separate .dat files at same time gives exception
| Reported by: | Mark J. Millard | Owned by: | bweaver |
|---|---|---|---|
| Priority: | major | Milestone: | Post TTT - Response Updates |
| Component: | Admin Tool | Version: | 1.5.1178 |
| Severity: | Keywords: | dataview import | |
| Cc: | brockweaver@… mark.millard@… | Database Engine: | SQL Server |
| Operating System: | Windows 7 Ultimate 64 bit |
Description
I tried to speed things up by importing 5 separate single dataview .dat files. I got this exception, and after a continue got this text box "Error refreshing form: Transaction (Process ID 58) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Exception Text
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'frmImportDataviews'.
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.GetSafeHandle(IWin32Window window)
at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
at System.Windows.Forms.MessageBox.Show(IWin32Window owner, String text, String caption)
at GrinGlobal.Admin.PopupForms.frmImportDataviews.<>cDisplayClassa.<btnImport_Click>b4(BackgroundWorker worker3, RunWorkerCompletedEventArgs e3)
at GrinGlobal.Admin.ChildForms.frmBase.<>cDisplayClassf.<processInBackground>bb(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
Loaded Assemblies
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
GrinGlobal.Admin
Assembly Version: 1.5.1178.0
Win32 Version: 1.5.1178.0
CodeBase: file:///C:/Program%20Files%20(x86)/GRIN-Global/GRIN-Global%20Admin/GrinGlobal.Admin.exe
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
GrinGlobal.Core
Assembly Version: 1.5.1172.0
Win32 Version: 1.5.1172
CodeBase: file:///C:/Program%20Files%20(x86)/GRIN-Global/GRIN-Global%20Admin/GrinGlobal.Core.DLL
GrinGlobal.Business
Assembly Version: 1.5.1172.0
Win32 Version: 1.5.1172
CodeBase: file:///C:/Program%20Files%20(x86)/GRIN-Global/GRIN-Global%20Admin/GrinGlobal.Business.DLL
Assembly Version: 1.5.1172.0
Win32 Version: 1.5.1172
CodeBase: file:///C:/Program%20Files%20(x86)/GRIN-Global/GRIN-Global%20Admin/GrinGlobal.InstallHelper.DLL
System.Configuration.Install
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration.Install/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.Install.dll
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
GrinGlobal.Interface
Assembly Version: 1.5.1172.0
Win32 Version: 1.5.1172
CodeBase: file:///C:/Program%20Files%20(x86)/GRIN-Global/GRIN-Global%20Admin/GrinGlobal.Interface.DLL
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.4926 built by: NetFXw7
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
System.Runtime.Serialization
Assembly Version: 3.0.0.0
Win32 Version: 3.0.4506.4926 (NetFXw7.030729-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Serialization/3.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
utuz7uth
Assembly Version: 1.5.1178.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.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.
Change History (3)
comment:1 by , 17 years ago
| Status: | new → addressed |
|---|
comment:2 by , 17 years ago
| Status: | addressed → released |
|---|
comment:3 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | released → closed |

(In [1179]) - fixes #418, multithreaded import code was not synchronizing properly