System.Runtime.InteropServices.COMException (0x80040112):
-
I am getting the following error when I try to run this application on another CPU See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.TypeInitializationException: The type initializer for 'ZMap_Tester.Util' threw an exception. ---> System.Runtime.InteropServices.COMException (0x80040112): Creating an instance of the COM component with CLSID {648A5600-2C6E-101B-82B6-000000000014} from the IClassFactory failed due to the following error: 80040112. at ZMap_Tester.Util..cctor() in C:\ZMap Tester\Program\Util.vb:line 13 --- End of inner exception stack trace --- at ZMap_Tester.Testcontrol.Connect_Click(Object eventSender, EventArgs eventArgs) in C:\ZMap Tester\Program\Testcontrol.vb:line 23 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) Line13 is Public MSComm1 As New MSCommLib.MSComm line23 is MSComm1.CommPort = t I have tried registering MSCOMM32.ocx and it did not fix the problem any suggestions?? Bob Nesbitt
-
I am getting the following error when I try to run this application on another CPU See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.TypeInitializationException: The type initializer for 'ZMap_Tester.Util' threw an exception. ---> System.Runtime.InteropServices.COMException (0x80040112): Creating an instance of the COM component with CLSID {648A5600-2C6E-101B-82B6-000000000014} from the IClassFactory failed due to the following error: 80040112. at ZMap_Tester.Util..cctor() in C:\ZMap Tester\Program\Util.vb:line 13 --- End of inner exception stack trace --- at ZMap_Tester.Testcontrol.Connect_Click(Object eventSender, EventArgs eventArgs) in C:\ZMap Tester\Program\Testcontrol.vb:line 23 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) Line13 is Public MSComm1 As New MSCommLib.MSComm line23 is MSComm1.CommPort = t I have tried registering MSCOMM32.ocx and it did not fix the problem any suggestions?? Bob Nesbitt
Is this application converted from vb6 to .Net? Do you receive the mentioned error on all the machines or just this specific? ~Dave
Dave Traister Software Engineer ComponentOne LLC www.ComponentOne.com
-
I am getting the following error when I try to run this application on another CPU See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.TypeInitializationException: The type initializer for 'ZMap_Tester.Util' threw an exception. ---> System.Runtime.InteropServices.COMException (0x80040112): Creating an instance of the COM component with CLSID {648A5600-2C6E-101B-82B6-000000000014} from the IClassFactory failed due to the following error: 80040112. at ZMap_Tester.Util..cctor() in C:\ZMap Tester\Program\Util.vb:line 13 --- End of inner exception stack trace --- at ZMap_Tester.Testcontrol.Connect_Click(Object eventSender, EventArgs eventArgs) in C:\ZMap Tester\Program\Testcontrol.vb:line 23 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) Line13 is Public MSComm1 As New MSCommLib.MSComm line23 is MSComm1.CommPort = t I have tried registering MSCOMM32.ocx and it did not fix the problem any suggestions?? Bob Nesbitt
Looks like this "ZMap_Tester" library needs to be licensed