Comment 2 for bug 514532

Revision history for this message
cindr8 (cindr8) wrote : Re: [Bug 514532] Re: unhandled exception error 1.4.6.21

no, I used preview mode and tried both grayscale scan and black and white.
icopy doesn't act like it wants to communicate with my scanner at this
point. As soon as I hit the scan button I get the following error and the
program locks up. Have to close it using task manager:

 See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x8021000E): Exception from
HRESULT: 0x8021000E
   at WIA.CommonDialogClass.ShowAcquireImage(WiaDeviceType DeviceType,
WiaImageIntent Intent, WiaImageBias Bias, String FormatID, Boolean
AlwaysSelectDevice, Boolean UseCommonUI, Boolean CancelError)
   at iCopy.Scanner.Scan(Boolean preview, Int32 quality)
   at iCopy.appControl.Copy(Int16 Resolution, Int16 brightness, Int16
contrast, WiaImageIntent intent, Int16 copies, Boolean preview, Int16 scale)
   at iCopy.mainFrm.btnCopy_Click(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.3603 (GDR.050727-3600)
    CodeBase:
file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
iCopy
    Assembly Version: 1.4.8.94
    Win32 Version: 1.4.8.94
    CodeBase: file:///C:/Program%20Files/iCopy4.8/iCopy/iCopy.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
----------------------------------------
Interop.WIA
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/iCopy4.8/iCopy/Interop.WIA.DLL
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
    CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.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.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
----------------------------------------
iCopy.resources
    Assembly Version: 1.4.8.94
    Win32 Version: 1.4.8.94
    CodeBase:
file:///C:/Program%20Files/iCopy4.8/iCopy/bg-BG/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.4.8.94
    Win32 Version: 1.4.8.94
    CodeBase:
file:///C:/Program%20Files/iCopy4.8/iCopy/de-DE/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.4.8.94
    Win32 Version: 1.4.8.94
    CodeBase:
file:///C:/Program%20Files/iCopy4.8/iCopy/fr-FR/iCopy.resources.DLL
----------------------------------------
System.Deployment
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
iCopy.resources
    Assembly Version: 1.4.8.94
    Win32 Version: 1.4.8.94
    CodeBase:
file:///C:/Program%20Files/iCopy4.8/iCopy/it-IT/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.4.8.94
    Win32 Version: 1.4.8.94
    CodeBase:
file:///C:/Program%20Files/iCopy4.8/iCopy/ja-JP/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.4.8.94
    Win32 Version: 1.4.8.94
    CodeBase:
file:///C:/Program%20Files/iCopy4.8/iCopy/nl-NL/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.4.8.94
    Win32 Version: 1.4.8.94
    CodeBase:
file:///C:/Program%20Files/iCopy4.8/iCopy/ru-RU/iCopy.resources.DLL
----------------------------------------
MySql.Data
    Assembly Version: 6.0.3.0
    Win32 Version: 6.0.3.0
    CodeBase: file:///C:/Program%20Files/iCopy4.8/iCopy/MySql.Data.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
----------------------------------------
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
----------------------------------------
iCopy.resources
    Assembly Version: 1.4.8.94
    Win32 Version: 1.4.8.94
    CodeBase:
file:///C:/Program%20Files/iCopy4.8/iCopy/sk-SK/iCopy.resources.DLL
----------------------------------------
System.EnterpriseServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
iCopy.resources
    Assembly Version: 1.4.8.94
    Win32 Version: 1.4.8.94
    CodeBase:
file:///C:/Program%20Files/iCopy4.8/iCopy/es-ES/iCopy.resources.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.