Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tlb already registered

Status
Not open for further replies.

Cairnsey

Programmer
Dec 18, 2002
13
GB
Hello,

I'm using a c# component with Biztalk and so I need to register the component with COM+.

I've registered successfully then changed the component including the addition of a prefix to the namespace

ie was previously ReceiveDropShipRequest is now LegacyWarehouse.ReceiveDropShipRequest

I unregistered fine (using regsvcs) but now when I try to register the new component I get the following error

1: Could not install type library 'C:\Vss\Projects\WHSO\LegacyWarehouse\ReceiveD
ropShipRequest\bin\Debug\ReceiveDropShipRequest.tlb' into application 'ReceiveDr
opShipRequest'.
C:\Vss\Projects\WHSO\LegacyWarehouse\ReceiveDropShipRequest\bin\Debug\Receiv
eDropShipRequest.tlb: The object is already registered
ReceiveRequest: The object is already registered

Anyone any ideas.

Thanks for any help.
 
Cairnsey, have you found a solution for this? Curious because I am about to create a TLB for the 1st time in .NET and don't want to get into a situation of changing a TLB at all.

Under NET you would not have this problem because of versions. It sounds like TLBs do not get versioned?

Sounds like TLBHell to me. Look at the COM+ package settings, try shutting down the package and recreate the TLB from scratch. Failing that, maybe RegClean or manually remove from the registry. That's what I did in VB 6.0
 
I had completely removed the package and any and all entries I found within the registry and still got no joy. Outside of rebuilding my machine I'm completely stumped.

I'll let you know if I get a solution (other than working on someone else's machine!)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top