Hi guys,
I'm new to VB. I developed an application with VB.net 2003 under Windows XP, which runs ok under windows XP. But it crashed when I tried to run it under Windows Servers 2003, the error message says: "Class not registered". Could anyone give me some ideas about the possible cause of this error Thanks in advance!

VB.net program crashed under Windows Server 2003
Hockey Nut
Windflower, what this message almost always points to is an environmental problem. It means the registry doesn't know about a control or dll which generally means it hasn't been installed, which returns us to an environmental problesm.
Silverdragontech
Peacho
Here's a list of my references, I'm not too sure which ones need register.
- AxInterop.ShockwaveFlashObjects
- AxInterop.WMPLib
- Interop.Microsoft.Office.Core
- Interop.ShockwaveFlashObjects
- Interop.WMPLib
- Interop.Word
- mscomctl
- mscorlib
- Microsoft.Vbe.Interop
- Microsoft.VisualBasic
- Microsoft.VisualBasic.Compatibility
- stdole
- System
- System.Data
- System.Design
- System.Drawing
- System.Web
- System.Windows.Forms
- System.Xml
Dan_12345
In your project have you made a reference to any COM dlls
To check your references do the following:
1. In Solution Explorer under your project node, double-click My Project
2. In the window that opens, select the References tab
3. Post eveything in the References list
Conor Morrison - MSFT
MRashed
This will remove any references you are not using.
Going by the list of references you are interoping with a lot of COM components; Shockwave, Windows Media Player and Microsoft Office/Word.
Have you made sure that these components are installed on the Windows 2003 Server machine
william.c.schneider
Word is not installed on that machine. I guess that might be the cause. Thank you Guys very much.
N2H
I did make a setup package(.msi) and ran the setup on windows server 2003 machine. There's no problem with the setup, but the application still does not run. So could you tell me what else I should do to register the components.