By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,038 Members | 1,036 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,038 IT Pros & Developers. It's quick & easy.

Deployemnt- class or library not registered

P: n/a
Have fully operational software package developed on VB.NET that worked until Jan 1 2003, with early stage deployments on Oct 10, Oct 23, Nov 11, Dec 12 and Dec 30.

When attempted final deployment on Jan 2, 2004 got following messages and errors...
I reset everything and tried several times agian. Then erased the setup project and tried to rebuild a new one with the same errors. PLease note... ALL this this code ran perfectly five minutes before the problem occured... now it will not even compile when I hit the debug - start button!

HELP!!!!
Jim @ Lenape
compile log....

'DefaultDomain': Loaded 'c:\winnt\microsoft.net\framework\v1.1.4322\mscorl ib.dll', No symbols loaded.
'EDGEProject4': Loaded 'C:\Documents and Settings\Administrator\Desktop\Gambler\Edgesys4\bi n\EDGEProject4.exe', Symbols loaded.
'EDGEProject4.exe': Loaded 'c:\winnt\assembly\gac\system.windows.forms\1.0.50 00.0__b77a5c561934e089\system.windows.forms.dll', No symbols loaded.
'EDGEProject4.exe': Loaded 'c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c56 1934e089\system.dll', No symbols loaded.
'EDGEProject4.exe': Loaded 'c:\winnt\assembly\gac\microsoft.visualbasic\7.0.5 000.0__b03f5f7f11d50a3a\microsoft.visualbasic.dll' , No symbols loaded.
'EDGEProject4.exe': Loaded 'c:\winnt\assembly\gac\system.drawing\1.0.5000.0__ b03f5f7f11d50a3a\system.drawing.dll', No symbols loaded.
'EDGEProject4.exe': Loaded 'c:\winnt\assembly\gac\system.data\1.0.5000.0__b77 a5c561934e089\system.data.dll', No symbols loaded.
'EDGEProject4.exe': Loaded 'c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a 5c561934e089\system.xml.dll', No symbols loaded.
'EDGEProject4.exe': Loaded 'c:\documents and settings\administrator\desktop\gambler\edgesys4\bi n\axinterop.d_mimelib.dll', No symbols loaded.
'EDGEProject4.exe': Loaded 'c:\documents and settings\administrator\desktop\gambler\edgesys4\bi n\axinterop.d_nntplib.dll', No symbols loaded.
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in system.windows.forms.dll

Additional information: Class not registered

Unhandled Exception: System.Runtime.InteropServices.COMException (0x80040154): Class not registered
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 Project4.EdgeForm5.InitializeComponent() in C:\Documents and Settings\Administrator\Desktop\Gambler\Edgesys4\Ed geForm5.vb:line 983
at Project4.EdgeForm5..ctor() in C:\Documents and Settings\Administrator\Desktop\Gambler\Edgesys4\Ed geForm5.vb:line 34
at Project4.EdgeForm2.EdgeForm2_Load(Object eventSender, EventArgs eventArgs) in C:\Documents and Settings\Administrator\Desktop\Gambler\Edgesys4\Ed geForm2.vb:line 1323
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.SafeNativeMethods.ShowWindow( HandleRef hWnd, Int32 nCmdShow)
at System.Windows.Forms.Control.SetVisibleCore(Boolea n value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.ThreadContext.RunMessageLoopI nner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.ThreadContext.RunMessageLoop( Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Project4.EdgeForm2.Main() in C:\Documents and Settings\Administrator\Desktop\Gambler\Edgesys4\Ed geForm2.vb:line 14
The program '[1064] EDGEProject4.exe' has exited with code 0 (0x0).

---------------------------------------------------------------------

VS error listing...

The referenced component 'AxD_MimeLib' could not be found. Could not load the type library. Library not registered.
The referenced component 'AxD_NntpLib' could not be found. Could not load the type library. Library not registered.
The referenced component 'D_MimeLib' could not be found. Could not load the type library. Library not registered.
The referenced component 'D_NntpLib' could not be found. Could not load the type library. Library not registered.
The referenced component 'MSAdodcLib' could not be found. Could not load the type library. Library not registered.
The referenced component 'MSComDlg' could not be found. Could not load the type library. Library not registered.
The referenced component 'MSDataGridLib' could not be found. Could not load the type library. Library not registered.
The referenced component 'MSFlexGridLib' could not be found. Could not load the type library. Library not registered.
The referenced component 'vsFlexLib' could not be found. Could not load the type library. Library not registered.

--------------------------------------------------------------------
ms dev env dialog box....

An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in system.windows.forms.dll

Additional information: Class not registered

--------------------------------------------------------------------------
with the highlighted code statement....
CType(Me.AxMime, System.ComponentModel.ISupportInitialize).EndInit( )

If we comment out that statement it goes to the next similar statement with same errors.
PLease note... ALL this this code ran perfectly, now it will not even run when I hit the debug start button!

Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Do you have COM interop involved, or is the COM interop in the MS classes?
It looks like a COM object is not registered.

Most likely Reasons:
---------------------
* New version of the COM component on the server, old version on your
machine (or opposite)
* COM component unregistered

Why did it happen?
-------------------
* You or another dev edited a COM component.
* Microsoft had a patch (applied to server but not dev machine, or visa
versa).

Solution:
---------
* Get the two systems patched to the same level
* Figure out which software is newer and match that particular software

Talk to the network admins and find out what they installed.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************** ********************
Think Outside the Box!
************************************************** ********************
"Jim @ Lenape" <an*******@discussions.microsoft.com> wrote in message
news:3B**********************************@microsof t.com...
Have fully operational software package developed on VB.NET that worked until Jan 1 2003, with early stage deployments on Oct 10, Oct 23, Nov 11,
Dec 12 and Dec 30.
When attempted final deployment on Jan 2, 2004 got following messages and errors... I reset everything and tried several times agian. Then erased the setup project and tried to rebuild a new one with the same errors. PLease note...
ALL this this code ran perfectly five minutes before the problem occured...
now it will not even compile when I hit the debug - start button!
HELP!!!!
Jim @ Lenape
compile log....

'DefaultDomain': Loaded 'c:\winnt\microsoft.net\framework\v1.1.4322\mscorl ib.dll', No symbols
loaded. 'EDGEProject4': Loaded 'C:\Documents and Settings\Administrator\Desktop\Gambler\Edgesys4\bi n\EDGEProject4.exe',
Symbols loaded. 'EDGEProject4.exe': Loaded 'c:\winnt\assembly\gac\system.windows.forms\1.0.50 00.0__b77a5c561934e089\sys
tem.windows.forms.dll', No symbols loaded. 'EDGEProject4.exe': Loaded 'c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c56 1934e089\system.dll', No
symbols loaded. 'EDGEProject4.exe': Loaded 'c:\winnt\assembly\gac\microsoft.visualbasic\7.0.5 000.0__b03f5f7f11d50a3a\mi
crosoft.visualbasic.dll', No symbols loaded. 'EDGEProject4.exe': Loaded 'c:\winnt\assembly\gac\system.drawing\1.0.5000.0__ b03f5f7f11d50a3a\system.dr
awing.dll', No symbols loaded. 'EDGEProject4.exe': Loaded 'c:\winnt\assembly\gac\system.data\1.0.5000.0__b77 a5c561934e089\system.data.
dll', No symbols loaded. 'EDGEProject4.exe': Loaded 'c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a 5c561934e089\system.xml.dl
l', No symbols loaded. 'EDGEProject4.exe': Loaded 'c:\documents and settings\administrator\desktop\gambler\edgesys4\bi n\axinterop.d_mimelib.dll'
, No symbols loaded. 'EDGEProject4.exe': Loaded 'c:\documents and settings\administrator\desktop\gambler\edgesys4\bi n\axinterop.d_nntplib.dll'
, No symbols loaded. An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in
system.windows.forms.dll
Additional information: Class not registered

Unhandled Exception: System.Runtime.InteropServices.COMException (0x80040154): Class not registered 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 Project4.EdgeForm5.InitializeComponent() in C:\Documents and Settings\Administrator\Desktop\Gambler\Edgesys4\Ed geForm5.vb:line 983 at Project4.EdgeForm5..ctor() in C:\Documents and Settings\Administrator\Desktop\Gambler\Edgesys4\Ed geForm5.vb:line 34 at Project4.EdgeForm2.EdgeForm2_Load(Object eventSender, EventArgs eventArgs) in C:\Documents and
Settings\Administrator\Desktop\Gambler\Edgesys4\Ed geForm2.vb:line 1323 at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.SafeNativeMethods.ShowWindow( HandleRef hWnd, Int32 nCmdShow) at System.Windows.Forms.Control.SetVisibleCore(Boolea n value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.ThreadContext.RunMessageLoopI nner(Int32 reason, ApplicationContext context) at System.Windows.Forms.ThreadContext.RunMessageLoop( Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm)
at Project4.EdgeForm2.Main() in C:\Documents and Settings\Administrator\Desktop\Gambler\Edgesys4\Ed geForm2.vb:line 14 The program '[1064] EDGEProject4.exe' has exited with code 0 (0x0).

---------------------------------------------------------------------

VS error listing...

The referenced component 'AxD_MimeLib' could not be found. Could not load the type library. Library not registered. The referenced component 'AxD_NntpLib' could not be found. Could not load the type library. Library not registered. The referenced component 'D_MimeLib' could not be found. Could not load the type library. Library not registered. The referenced component 'D_NntpLib' could not be found. Could not load the type library. Library not registered. The referenced component 'MSAdodcLib' could not be found. Could not load the type library. Library not registered. The referenced component 'MSComDlg' could not be found. Could not load the type library. Library not registered. The referenced component 'MSDataGridLib' could not be found. Could not load the type library. Library not registered. The referenced component 'MSFlexGridLib' could not be found. Could not load the type library. Library not registered. The referenced component 'vsFlexLib' could not be found. Could not load the type library. Library not registered.
--------------------------------------------------------------------
ms dev env dialog box....

An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in
system.windows.forms.dll
Additional information: Class not registered

--------------------------------------------------------------------------
with the highlighted code statement....
CType(Me.AxMime, System.ComponentModel.ISupportInitialize).EndInit( )

If we comment out that statement it goes to the next similar statement with same errors.

PLease note... ALL this this code ran perfectly, now it will not even run when I hit the debug start button!

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.