Link to home
Start Free TrialLog in
Avatar of sevenofnine
sevenofnine

asked on

Library Not Registered error with ATL Com Component

Hi All,

I've got a problem.  I've created an ActiveX control using the ATL classes thingy, and it works fine when used in client side code, fine when used in server side code on the machine on which it was compiled, but when I try to move it to a different server and use it in an ASP page, I get this error "Library Not Registered".  All I'm doing to move it is copy the dll to C:\Winnt\system32
and then do regsvr32 "C:\Winnt\system32\reportsniffer.dll"

Any clues?
Cheers,
seven
Avatar of merlin309
merlin309

You might want to check that atl.dll has been registered on the server you are having problems with.

Mark
Hi,
- Please check if your ActiveX control uses any COM library and that COM library is available on the new machine or not. You can debug the code on the new machine to find out where exactly the problem happens: your ActiveX or some used COM library fails to register.
Hope this help,
Rocky Lee
Avatar of sevenofnine

ASKER

Yes, atl.dll is installed - I've even tried compiling the dll in VC++ on the target machine, and still no luck.
I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. Unless there is objection or further activity,  I will suggest to refund the points and PAQ at zero points since nobody had an answer for you.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
As has been suggested, this question has been collecting dust for some time (my fault - apologies!).  Since I never managed to resolve the problem, I'm deleting the question.
ASKER CERTIFIED SOLUTION
Avatar of Netminder
Netminder

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial