P
Peri
Dear All,
I have used 2 dlls named AxInterop.MSChart20Lib and Interop.MSChart20Lib in
one of my screen called stock price tracking in my VB.NET project. It is
running well in my machine. But when I install it in my customer's machine
it is throwing an error called "Class not registered". Can you please let me
know how to solve this issue.
We have run the Dot Net framework in that machine and manually copied this
dll into the customer's machine. Still this problem is not resolved. Your
help in this is greatly appreciated.
Attached is the detailed error trace taken from the event viewer in which we
used to write the exceptions.
Thanks and Regards,
Peri
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
When I open the Stock Price Tracking - I am getting Unhandled exception,
showing "Class not registered [Exception from HRESULT:
0x80040154[REGDB_E_CLASSNOTREG]]"
Following has taken from the details tab in event viewer,
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 (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 ChellaSoft.ClearVision.Win.frmStockPriceTracking.InitializeComponent()
at ChellaSoft.ClearVision.Win.frmStockPriceTracking..ctor()
at
ChellaSoft.ClearVision.Win.frmMenuMDI.StockPriceTrackingToolStripMenuItem_Click(Object
sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e,
ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e,
ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ClearVision.Win
Assembly Version: 1.2.6.0
Win32 Version: 1.0.0.0
CodeBase:
file:///C:/Documents%20and%20Settings/f.chellasoft/Local%20Settings/Apps/2.0/2BR90MEA.YHW/13CPJJ2R.TMJ/clea..tion_41b6505b05a790d0_0001.0002_aa5853ec461d59c5/ClearVision.Win.exe
----------------------------------------
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
----------------------------------------
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.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.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
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
ClearVision.Biz
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:
file:///C:/Documents%20and%20Settings/f.chellasoft/Local%20Settings/Apps/2.0/2BR90MEA.YHW/13CPJJ2R.TMJ/clea..tion_41b6505b05a790d0_0001.0002_aa5853ec461d59c5/ClearVision.Biz.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
----------------------------------------
ClearVision.BizCore
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:
file:///C:/Documents%20and%20Settings/f.chellasoft/Local%20Settings/Apps/2.0/2BR90MEA.YHW/13CPJJ2R.TMJ/clea..tion_41b6505b05a790d0_0001.0002_aa5853ec461d59c5/ClearVision.BizCore.DLL
----------------------------------------
ClearVision.Util
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:
file:///C:/Documents%20and%20Settings/f.chellasoft/Local%20Settings/Apps/2.0/2BR90MEA.YHW/13CPJJ2R.TMJ/clea..tion_41b6505b05a790d0_0001.0002_aa5853ec461d59c5/ClearVision.Util.DLL
----------------------------------------
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
ClearVision.BizCore.XmlSerializers
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:
file:///C:/Documents%20and%20Settings/f.chellasoft/Local%20Settings/Apps/2.0/2BR90MEA.YHW/13CPJJ2R.TMJ/clea..tion_41b6505b05a790d0_0001.0002_aa5853ec461d59c5/ClearVision.BizCore.XmlSerializers.DLL
----------------------------------------
AxInterop.MSChart20Lib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase:
file:///C:/Documents%20and%20Settings/f.chellasoft/Local%20Settings/Apps/2.0/2BR90MEA.YHW/13CPJJ2R.TMJ/clea..tion_41b6505b05a790d0_0001.0002_aa5853ec461d59c5/AxInterop.MSChart20Lib.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.MSChart20Lib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase:
file:///C:/Documents%20and%20Settings/f.chellasoft/Local%20Settings/Apps/2.0/2BR90MEA.YHW/13CPJJ2R.TMJ/clea..tion_41b6505b05a790d0_0001.0002_aa5853ec461d59c5/Interop.MSChart20Lib.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 have used 2 dlls named AxInterop.MSChart20Lib and Interop.MSChart20Lib in
one of my screen called stock price tracking in my VB.NET project. It is
running well in my machine. But when I install it in my customer's machine
it is throwing an error called "Class not registered". Can you please let me
know how to solve this issue.
We have run the Dot Net framework in that machine and manually copied this
dll into the customer's machine. Still this problem is not resolved. Your
help in this is greatly appreciated.
Attached is the detailed error trace taken from the event viewer in which we
used to write the exceptions.
Thanks and Regards,
Peri
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
When I open the Stock Price Tracking - I am getting Unhandled exception,
showing "Class not registered [Exception from HRESULT:
0x80040154[REGDB_E_CLASSNOTREG]]"
Following has taken from the details tab in event viewer,
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 (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 ChellaSoft.ClearVision.Win.frmStockPriceTracking.InitializeComponent()
at ChellaSoft.ClearVision.Win.frmStockPriceTracking..ctor()
at
ChellaSoft.ClearVision.Win.frmMenuMDI.StockPriceTrackingToolStripMenuItem_Click(Object
sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e,
ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e,
ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ClearVision.Win
Assembly Version: 1.2.6.0
Win32 Version: 1.0.0.0
CodeBase:
file:///C:/Documents%20and%20Settings/f.chellasoft/Local%20Settings/Apps/2.0/2BR90MEA.YHW/13CPJJ2R.TMJ/clea..tion_41b6505b05a790d0_0001.0002_aa5853ec461d59c5/ClearVision.Win.exe
----------------------------------------
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
----------------------------------------
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.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.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
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
ClearVision.Biz
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:
file:///C:/Documents%20and%20Settings/f.chellasoft/Local%20Settings/Apps/2.0/2BR90MEA.YHW/13CPJJ2R.TMJ/clea..tion_41b6505b05a790d0_0001.0002_aa5853ec461d59c5/ClearVision.Biz.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
----------------------------------------
ClearVision.BizCore
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:
file:///C:/Documents%20and%20Settings/f.chellasoft/Local%20Settings/Apps/2.0/2BR90MEA.YHW/13CPJJ2R.TMJ/clea..tion_41b6505b05a790d0_0001.0002_aa5853ec461d59c5/ClearVision.BizCore.DLL
----------------------------------------
ClearVision.Util
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:
file:///C:/Documents%20and%20Settings/f.chellasoft/Local%20Settings/Apps/2.0/2BR90MEA.YHW/13CPJJ2R.TMJ/clea..tion_41b6505b05a790d0_0001.0002_aa5853ec461d59c5/ClearVision.Util.DLL
----------------------------------------
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
ClearVision.BizCore.XmlSerializers
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:
file:///C:/Documents%20and%20Settings/f.chellasoft/Local%20Settings/Apps/2.0/2BR90MEA.YHW/13CPJJ2R.TMJ/clea..tion_41b6505b05a790d0_0001.0002_aa5853ec461d59c5/ClearVision.BizCore.XmlSerializers.DLL
----------------------------------------
AxInterop.MSChart20Lib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase:
file:///C:/Documents%20and%20Settings/f.chellasoft/Local%20Settings/Apps/2.0/2BR90MEA.YHW/13CPJJ2R.TMJ/clea..tion_41b6505b05a790d0_0001.0002_aa5853ec461d59c5/AxInterop.MSChart20Lib.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.MSChart20Lib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase:
file:///C:/Documents%20and%20Settings/f.chellasoft/Local%20Settings/Apps/2.0/2BR90MEA.YHW/13CPJJ2R.TMJ/clea..tion_41b6505b05a790d0_0001.0002_aa5853ec461d59c5/Interop.MSChart20Lib.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.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------