none
System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)

    Question

  • Hi All,

     

    I develop a Win application (vs 2005) and install on client machine it work with xp,window 7 32 bit operating system, but when i install my application on window 7 64 bit operating system it gives me following error,

    opServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
      at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
      at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
      at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
      at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
      at System.Windows.Forms.AxHost.CreateInstance()
      at System.Windows.Forms.AxHost.GetOcxCreate()
      at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
      at System.Windows.Forms.AxHost.CreateHandle()
      at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
      at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
      at System.Windows.Forms.AxHost.EndInit()
      at CustomerLibrary.MainWindow.InitializeComponent() in C:\Users\MainWindow.Designer.cs:line 766
      at CustomerLibrary.MainWindow..ctor() in C:\Users\MainWindow.cs:line 105
      at CustomerLibrary.Program.Main() in C:\Users\Program.cs:line 35}
    

    how could i resolve this problem

    Thanks in Advances

     

     

     


    Vignesh>>>k
    Monday, January 10, 2011 6:31 AM

Answers

All replies