Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. System.Runtime.InteropServices.COMException (0x80040112):

System.Runtime.InteropServices.COMException (0x80040112):

Scheduled Pinned Locked Moved C#
helpcomdata-structuresdebuggingquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Robert Nesbitt
    wrote on last edited by
    #1

    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

    A F 2 Replies Last reply
    0
    • R Robert 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

      A Offline
      A Offline
      Arjun Marwaha
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • R Robert 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

        F Offline
        F Offline
        Frank Horn
        wrote on last edited by
        #3

        Looks like this "ZMap_Tester" library needs to be licensed

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups