COM object with CLSID {...} is either not valid or not registered

C

Cristina Malavasi

Hi a have a COM dll made in C++ (I don't have the source code) I used
tlbimp to create a managed .NET assembly dll... I reference this dll and
import it with "using myDll" then I make an object (myDll.myDllClass
dll=new myDllClass() and then I can see the methods implemented on the
dll... until here everything is fine... I even see the object on the
object browser... but when I run my project it gives the next error
where I create the object (new):

COM object with CLSID {DAA0701E-C3E8-429A-9E3D-83121ED37223} is either
not valid or not registered.

I did register the new COM using regasm... and I checked the registry
and that key is registered... I also registered the c++ COM with
regsvr32... so I don't have a clue of what am I doing wrong...

I would appreciate any help... THANKS A LOT!!!
 
N

Nicholas Paldino [.NET/C# MVP]

Cristina,

Is the CLSID the id of the class you are trying to create, or is it the
CLSID of a class that is being created in the COM class? It is possible
that the CLSID is the id of a supporting class, but it is not registered on
the machine.

Hope this helps.
 

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