Pages

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:

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

    ReplyDelete
  2. Thanks a lot.. worked super :-)

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

    ReplyDelete
  4. thank ("terima kasih" in Indonesian)

    very nice tips...

    ReplyDelete
  5. 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

    ReplyDelete

Please don't spam!