Pages

Search This Blog

Wednesday, September 17, 2008

DllRegisterServer failed with error code 0x80004005 ...

I was trying to register a dll with command prompt in Vista but error message prompt ".. DllRegisterServer failed with error code 0x80004005 ...."



finally i found out that is because of security issue. To solve this,
Go to Start --> All Programs --> Accessories, right-click Command Prompt, and then click Run as Administrator

Then use regsvr32 to register the DLL.

It's work.

10 comments:

Vishalkhalasi said...

Good Work

Dmitry said...

Thanks, man!

Thomas said...

You ROCK, man! The simple thing that I always forget - administrator rights...

Unknown said...

thanks! :)

Unknown said...

Thanks! :)

somu said...

Thanks a lot.. worked super :-)

Anonymous said...

Thanks!

Unknown said...

wouw...very simple but nice work...
thanks

Unknown said...

thank ("terima kasih" in Indonesian)

very nice tips...

Anonymous said...

That works for me to, but I am trying to compile some objects and cannot launch 'with admin rights' every build (I'd have to get my IT manager to help). How can I set my environment to ignore this elevated requirement? I have already been made a local admin and changed secpol local policies -> security -> Run all admins in approval mode = enable. Any help would be great

Troy