ELKRP Unhadled exception error

fleetz

Active Member
Keep getting an Unhandled Expection Error in RP 2.0.6

I discovered it probably more than it is an error, see below for the report probably more or ELK than anyone else. The way I can trigger this error everytime is double clicking M1XEP button on the "Accounts Details" page. (Bottom right hand corner) the button that takes you to the "M1XEP Setup" utility.

I realise that double clicking the M1XEP utility is not required to open it up only one required, I accidently did it. If choose "Continue" the error message disappears and you can continue using RP no problems.

I am running Windows 7 64bit.

Interested if other folks re getting the same.

Regards,

Fleetz

Error message follows..........

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

************** Exception Text **************
System.InvalidOperationException: Form that is already visible cannot be displayed as a modal dialog box. Set the form's visible property to false before calling Show.
at System.Windows.Forms.Form.Show(IWin32Window owner)
at M1G.Account_Details.M1XEPsetup_Click(Object eventSender, EventArgs eventArgs)
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.4952 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ElkRP2
Assembly Version: 2.0.6.27193
Win32 Version: 2.0.6
CodeBase: file:///C:/Program%20Files%20(x86)/ElkRP/ElkRP2.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
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
AxInterop.PVExplorerLib
Assembly Version: 8.0.0.0
Win32 Version: 8.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/ElkRP/AxInterop.PVExplorerLib.DLL
----------------------------------------
MSDATASRC
Assembly Version: 7.0.3300.0
Win32 Version: 7.00.9466
CodeBase: file:///C:/Windows/assembly/GAC/MSDATASRC/7.0.3300.0__b03f5f7f11d50a3a/MSDATASRC.dll
----------------------------------------
Interop.PVExplorerLib
Assembly Version: 8.0.0.0
Win32 Version: 8.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/ElkRP/Interop.PVExplorerLib.DLL
----------------------------------------
Microsoft.VisualBasic.Compatibility
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.4927
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic.Compatibility/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.Compatibility.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Interop.ELKCOMMLib2
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/ElkRP/Interop.ELKCOMMLib2.DLL
----------------------------------------
ADODB
Assembly Version: 7.0.3300.0
Win32 Version: 7.10.2346
CodeBase: file:///C:/Windows/assembly/GAC/ADODB/7.0.3300.0__b03f5f7f11d50a3a/ADODB.dll
----------------------------------------
ElkSafe2
Assembly Version: 1.1.6.17695
Win32 Version: 1.1.6.0
CodeBase: file:///C:/Program%20Files%20(x86)/ElkRP/ElkSafe2.DLL
----------------------------------------
ConvertDB2
Assembly Version: 1.4.6.17696
Win32 Version: 1.4.6.0
CodeBase: file:///C:/Program%20Files%20(x86)/ElkRP/ConvertDB2.DLL
----------------------------------------
Interop.Scripting
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/ElkRP/Interop.Scripting.DLL
----------------------------------------
Interop.ADOX
Assembly Version: 2.8.0.0
Win32 Version: 2.8.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/ElkRP/Interop.ADOX.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
----------------------------------------
Interop.JRO
Assembly Version: 2.6.0.0
Win32 Version: 2.6.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/ElkRP/Interop.JRO.DLL
----------------------------------------
EZ82
Assembly Version: 5.0.6.27183
Win32 Version: 5.0.6.0
CodeBase: file:///C:/Program%20Files%20(x86)/ElkRP/EZ82.DLL
----------------------------------------
M12
Assembly Version: 5.0.6.27189
Win32 Version: 5.0.6.0
CodeBase: file:///C:/Program%20Files%20(x86)/ElkRP/M12.DLL
----------------------------------------
M1G2
Assembly Version: 5.0.6.27186
Win32 Version: 5.0.6.0
CodeBase: file:///C:/Program%20Files%20(x86)/ElkRP/M1G2.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
----------------------------------------
ElkWords2
Assembly Version: 1.1.6.17695
Win32 Version: 1.1.6.0
CodeBase: file:///C:/Program%20Files%20(x86)/ElkRP/ElkWords2.DLL
----------------------------------------
RPClassLibrary
Assembly Version: 1.0.6.17695
Win32 Version: 1.0.6.0
CodeBase: file:///C:/Program%20Files%20(x86)/ElkRP/RPClassLibrary.DLL
----------------------------------------
ElkIPv42
Assembly Version: 1.1.6.17695
Win32 Version: 1.1.6.0
CodeBase: file:///C:/Program%20Files%20(x86)/ElkRP/ElkIPv42.DLL
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4955 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.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
----------------------------------------

************** 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.
 
I get similar errors, but the unhandled exception error only seems to show up when I click very fast through the "tree" (aka Folder Items) on the left hand side of the UI with the Elk M1G connected via ethernet. I don't get any errors if I wait a second in between clicks within the tree. Use an arrow key within the tree very quickly and you should get the same error... I'm using XP SP1.

EDIT: I'm home now so here's the error I get:

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

************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Windows.Forms.UnsafeNativeMethods.IOleInPlaceActiveObject.TranslateAccelerator(MSG& lpmsg)
at System.Windows.Forms.AxHost.PreProcessMessage(Message& msg)
at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ElkRP2
Assembly Version: 2.0.8.15931
Win32 Version: 2.0.8
CodeBase: file:///C:/Program%20Files/ElkRP/ElkRP2.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
AxInterop.PVExplorerLib
Assembly Version: 8.0.0.0
Win32 Version: 8.0.0.0
CodeBase: file:///C:/Program%20Files/ElkRP/AxInterop.PVExplorerLib.DLL
----------------------------------------
MSDATASRC
Assembly Version: 7.0.3300.0
Win32 Version: 7.00.9466
CodeBase: file:///C:/Program%20Files/ElkRP/MSDATASRC.DLL
----------------------------------------
Interop.PVExplorerLib
Assembly Version: 8.0.0.0
Win32 Version: 8.0.0.0
CodeBase: file:///C:/Program%20Files/ElkRP/Interop.PVExplorerLib.DLL
----------------------------------------
Microsoft.VisualBasic.Compatibility
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic.Compatibility/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.Compatibility.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Interop.ELKCOMMLib2
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/ElkRP/Interop.ELKCOMMLib2.DLL
----------------------------------------
ADODB
Assembly Version: 7.0.3300.0
Win32 Version: 7.10.6070
CodeBase: file:///C:/Program%20Files/ElkRP/ADODB.DLL
----------------------------------------
ElkSafe2
Assembly Version: 1.1.6.17695
Win32 Version: 1.1.8.0
CodeBase: file:///C:/Program%20Files/ElkRP/ElkSafe2.DLL
----------------------------------------
ConvertDB2
Assembly Version: 1.4.6.13696
Win32 Version: 1.4.8.0
CodeBase: file:///C:/Program%20Files/ElkRP/ConvertDB2.DLL
----------------------------------------
Interop.Scripting
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/ElkRP/Interop.Scripting.DLL
----------------------------------------
Interop.ADOX
Assembly Version: 2.8.0.0
Win32 Version: 2.8.0.0
CodeBase: file:///C:/Program%20Files/ElkRP/Interop.ADOX.DLL
----------------------------------------
Interop.JRO
Assembly Version: 2.6.0.0
Win32 Version: 2.6.0.0
CodeBase: file:///C:/Program%20Files/ElkRP/Interop.JRO.DLL
----------------------------------------
EZ82
Assembly Version: 5.0.6.14814
Win32 Version: 5.0.8.0
CodeBase: file:///C:/Program%20Files/ElkRP/EZ82.DLL
----------------------------------------
M12
Assembly Version: 5.0.6.14827
Win32 Version: 5.0.8.0
CodeBase: file:///C:/Program%20Files/ElkRP/M12.DLL
----------------------------------------
M1G2
Assembly Version: 5.0.6.14818
Win32 Version: 5.0.8.0
CodeBase: file:///C:/Program%20Files/ElkRP/M1G2.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ElkWords2
Assembly Version: 1.1.6.17695
Win32 Version: 1.1.8.0
CodeBase: file:///C:/Program%20Files/ElkRP/ElkWords2.DLL
----------------------------------------
RPClassLibrary
Assembly Version: 1.0.6.17695
Win32 Version: 1.0.8.0
CodeBase: file:///C:/Program%20Files/ElkRP/RPClassLibrary.DLL
----------------------------------------
ElkIPv42
Assembly Version: 1.1.6.17695
Win32 Version: 1.1.8.0
CodeBase: file:///C:/Program%20Files/ElkRP/ElkIPv42.DLL
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.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.
 
Back
Top