COM object with CLSID ERROR!! please help

OmarB

Member
Joined
Jun 24, 2004
Messages
20
Hi
i am trying to run an application but i keep getting this exception:
Exception: "COM object with CLSID {8270CB2F-B0E6-4C37-8A40-D70778F47894} is either not valid or not registered."

and in another place this one:
Error Bulding XML:COM object with CLSID {83D0FC3E-8B31-4B35-A1B2-346BA3954513} is either not valid or not registered.

what is the cause of this exception, i know its a DLL but i can compile the program!!
how is that,
thanks in advance.
Omar
 
yes

yes, i am using some dlls but the thing is that i have tried to register the dlls by using regsvr32 and i tried to add the ref in vb, the application compiles but on runtime its giving me exceptions.
please help.
the dlls are:

Interop.SQLXMLBULKLOADLib.dll
Interop.nwtpwB50.dll
Interop.pw66.dll
Interop.COMSVCSLib.dll
Interop.MSXML2.dll

Thanks, Omar
 
hi, and thanks for the replies.
while trying to register with regsvr32 i got this message
"Intereop.pw66.dll was loaded, the DllRegisterServer entry point was not found.the file can not be registered."

i got the same message when i tried to unregister the DLL by typing:
> regsvr -u Intereop.pw66.dll

i tried to rename the DLLs by removing the interop and surprise!! it didnt work.

i only want to create an instance of this class, the this i am getting the exception on the "new"
for example:
X x here there is no exception
x = new X exception here

again, thanks for replying, and hope well be able to solve that thing.
Omar
 
What is the actual line it is failing on? i.e. what type of variable is X.

Also rather than trying to register the interop dll there shouldbe a pw66.dll somewhere on your system - try registering that one.
 
Hi.

i Got an exception while loading the BulkLoadObj

BulkLoadObj = New SQLXMLBulkLoad3


This is the exception:
Exception: "COM object with CLSID {8270CB2F-B0E6-4C37-8A40-D70778F47894} is either not valid or not registered."

i dont have the pw66.dll only the interop.pw66.dll coz the application was maid by other people. do i need the pw66.dll?
interop.pw66.dll isnt enough?

Best, Omar
 
If the error is being generated by the SQLXMLBULKLOADLib.dll try registering that file.
You will require all the relevant COM components installed on your PC as well.
 
finally

Thanks PlausiblyDamp for the help

"You will require all the relevant COM components installed on your PC as well"

i have installed the sqlxml.msi sp3 and it worked.

Regards, Omar
 
Back
Top