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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding component to Com+ gives "Typelib not found" error.

Status
Not open for further replies.

xaedra

Programmer
Mar 19, 2001
2
GB
Hi,

I'm working on a VB6 application with the db Component in Com+. It was previously in MTS but we have upgraded the server from NT 4.0 to Windows 2000 (via upgrade, not re-installation).

Initially there were no problems with the components (other than the declarative roles changes) but we have been changing other parts of the system and have had to rebuild the Com+ components.

If I try to drag the dll onto Components area in Com+ it complains "Typelib not found".

If I use the "Add new component" wizard within Com+ it adds it okay (though without any interfaces visible), but when I try to access the component on a client machine, I get ActiveX error - Cannot Create Component (cannot remember the exact wording I'm afraid).

Any thoughts as to what it could be?

Thanks.

xaedra
 
Hi,

we've encountered similar problems with our C++-Components frequently. In most cases, the component had to be rebuilt from scratch (copying the code from the old one) to get it working again. :(

Martin
 
Hi,

thanks for your reply. We managed to sort it out in the end - I think all we did was re-register the comsvcs.dll. Not particularly obvious, but it worked. Really didn't fancy rebuilding everything, so quite pleased at how easy it worked out for us.

Maybe will fix your problem too?

xaedra
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top