I was trying to register a dll with command prompt in Vista but error message prompt ".. DllRegisterServerfailed 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