Deployemnt- class or library not registered

G

Guest

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\mscorlib.dll', No symbols loaded.
'EDGEProject4': Loaded 'C:\Documents and Settings\Administrator\Desktop\Gambler\Edgesys4\bin\EDGEProject4.exe', Symbols loaded.
'EDGEProject4.exe': Loaded 'c:\winnt\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll', No symbols loaded.
'EDGEProject4.exe': Loaded 'c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll', No symbols loaded.
'EDGEProject4.exe': Loaded 'c:\winnt\assembly\gac\microsoft.visualbasic\7.0.5000.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__b77a5c561934e089\system.data.dll', No symbols loaded.
'EDGEProject4.exe': Loaded 'c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll', No symbols loaded.
'EDGEProject4.exe': Loaded 'c:\documents and settings\administrator\desktop\gambler\edgesys4\bin\axinterop.d_mimelib.dll', No symbols loaded.
'EDGEProject4.exe': Loaded 'c:\documents and settings\administrator\desktop\gambler\edgesys4\bin\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\EdgeForm5.vb:line 983
at Project4.EdgeForm5..ctor() in C:\Documents and Settings\Administrator\Desktop\Gambler\Edgesys4\EdgeForm5.vb:line 34
at Project4.EdgeForm2.EdgeForm2_Load(Object eventSender, EventArgs eventArgs) in C:\Documents and Settings\Administrator\Desktop\Gambler\Edgesys4\EdgeForm2.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(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& 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(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(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\EdgeForm2.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!
 
C

Cowboy \(Gregory A. Beamer\)

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 said:
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\mscorlib.dll', No symbols
loaded.
'EDGEProject4': Loaded 'C:\Documents and
Settings\Administrator\Desktop\Gambler\Edgesys4\bin\EDGEProject4.exe',
Symbols loaded.
'EDGEProject4.exe': Loaded
'c:\winnt\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\sys
tem.windows.forms.dll', No symbols loaded.
'EDGEProject4.exe': Loaded
'c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll', No
symbols loaded.
'EDGEProject4.exe': Loaded
'c:\winnt\assembly\gac\microsoft.visualbasic\7.0.5000.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__b77a5c561934e089\system.data.
dll', No symbols loaded.
'EDGEProject4.exe': Loaded
'c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dl
l', No symbols loaded.
'EDGEProject4.exe': Loaded 'c:\documents and
settings\administrator\desktop\gambler\edgesys4\bin\axinterop.d_mimelib.dll'
, No symbols loaded.
'EDGEProject4.exe': Loaded 'c:\documents and
settings\administrator\desktop\gambler\edgesys4\bin\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\EdgeForm5.vb:line 983
at Project4.EdgeForm5..ctor() in C:\Documents and
Settings\Administrator\Desktop\Gambler\Edgesys4\EdgeForm5.vb:line 34
at Project4.EdgeForm2.EdgeForm2_Load(Object eventSender, EventArgs
eventArgs) in C:\Documents and
Settings\Administrator\Desktop\Gambler\Edgesys4\EdgeForm2.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(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& 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(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(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\EdgeForm2.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.'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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top