System.Runtime.InteropServices.COMException in Windows 98

Sep 24 2005 1:34 AM

I have developed window application using VS2005 and .NET 2.0 on

Windows XP machine.

I have made setup project and deployed my application to Windows

2000,Windows XP and Windows 98 machine. (All installations are

fresh)

Application works well in Windows XP & 2000 but it is not

working in Windows 98.

There are two errors
1 Error)
Retrieving the COM Class Factory for componen with CLSID failed

with HRESULT: 0x8004015 (Class not registered

(REGDB_E_CLASSNOTREG))
System.Runtime.Interopservices.COMException

This error happens when I use System.Management.Objectsearcher

to read processor serial number using Select * from

Win32_Processor.

2 Error)
Logon Failed
Error in file
CrystalDecisions.CrystalReports.Enging.LogonException:Logon

failed. Unable to connect: incorrect log on parameters
System.Runtime.Interopservices.COMException

This error happens when I use Crystal Report and load it. I am

not usding db connection. I am using typed dataset so need of

dbconnection.

I have noted one thing comman in the both error is that

Exception is of System.Runtime.Interopservices.COMException..

so is there any problem in windows 98 when we use .net

namespaces which wrappers COM??

Some one please sort out my errors
Thanks
Nilesh