OmarB Posted June 13, 2005 Posted June 13, 2005 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 it's a DLL but i can compile the program!! how is that, thanks in advance. Omar Quote
Administrators PlausiblyDamp Posted June 13, 2005 Administrators Posted June 13, 2005 Are you referencing any COM components in your application? Are they all properly installed and registered? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
OmarB Posted June 13, 2005 Author Posted June 13, 2005 yes yes, i am using some dll's but the thing is that i have tried to register the dll's by using regsvr32 and i tried to add the ref in vb, the application compiles but on runtime it's giving me exceptions. please help. the dll's are: Interop.SQLXMLBULKLOADLib.dll Interop.nwtpwB50.dll Interop.pw66.dll Interop.COMSVCSLib.dll Interop.MSXML2.dll Thanks, Omar Quote
Administrators PlausiblyDamp Posted June 13, 2005 Administrators Posted June 13, 2005 Do you get any errors when registering them? Have you tried re-installing the components to see if that fixes the problem? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
OmarB Posted June 14, 2005 Author Posted June 14, 2005 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 DLL's by removing the interop and surprise!! it didn't 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 we'll be able to solve that thing. Omar Quote
Administrators PlausiblyDamp Posted June 14, 2005 Administrators Posted June 14, 2005 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. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
OmarB Posted June 14, 2005 Author Posted June 14, 2005 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 isn't enough? Best, Omar Quote
Administrators PlausiblyDamp Posted June 14, 2005 Administrators Posted June 14, 2005 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. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
OmarB Posted June 14, 2005 Author Posted June 14, 2005 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 Quote
Recommended Posts