Deploying .Net COM Objects

  • Thread starter Thread starter Gary Dunne
  • Start date Start date
G

Gary Dunne

I have a class library that contains Com objects, they were added as COM
Class and contain all the necessary GUIDs etc. The class library is flagged
to "Register for COM interop" ... The library works fine on the development
machine and can be accessed by a VB 6 app. But when deployed to a new client
machine I get "Active X can't create object".
The deployment is done using a .NET Setup project and all the dependencies
appear to be present and correct.
I have tried manually registering the DLL files using RegSvr32 on the client
machine but it refuses saying that the entrance point wasn't found.

Any ideas ?

Thanks

Gary
 
* "Gary Dunne said:
I have a class library that contains Com objects, they were added as COM
Class and contain all the necessary GUIDs etc. The class library is flagged
to "Register for COM interop" ... The library works fine on the development
machine and can be accessed by a VB 6 app. But when deployed to a new client
machine I get "Active X can't create object".

Are you sure the DLL is registered properly with "REGASM"?
 
Yes, they are marked as COM objects in the deployment project.
The objects being installed were actually created as multiple projects. I
have found that if I create an individual setup for each dll/tlb to be
installed then they install and register without any problems.

Gary
 
Back
Top