Click to See Complete Forum and Search --> : Dll register problem please help


sans_tosh
October 8th, 2002, 09:33 AM
Hi All,

I have written a Atl COM Dll and have upgraded it to VC.net.
The project is getting compiled but while performing error i am getting an error as

"Registration failed ReturnCode 0x80070005 " as an error.
can anybody please tell me why is this happening?

thanks in advance
santosh

Mick
October 8th, 2002, 05:33 PM
That error code is Access Denied. Since I don't have .NET and there are alot of difference causes for that error return, all I can suggest is to search on MSDN or google for that error code and try to get some hints on how to resolve it.

sans_tosh
October 9th, 2002, 02:23 AM
Hi Mike,

Thanks for the reply.
Is it that my loginId should be given any permission in Win 2000, so that registering takes place.

regards,
santosh

simon29
November 5th, 2002, 05:46 AM
I think that is the problem... you should have some administrator privileges to register and unregister your COM object. I had many times the same problem, and usually that was the problem. I hope you can resolve it !!!

sans_tosh
November 6th, 2002, 11:45 PM
Thanks Simon,

that exactly was the problem and has sorted it out.

regards,
santosh