Windows 7: unable to register DLL - Error Code:0X80004005

dotnet-practitioner picture dotnet-practitioner · Mar 24, 2011 · Viewed 292.6k times · Source

When I tried to register a COM DLL,

regsvr32 rpcrt4.dll

I get the following error message:

`The module "c:\windows\system 32\"rpcrt4.dll" was loaded but the call to DllRegisterServer failed with error code 0X80070006.

How do I fix this problem? Please help.

Answer

Daniel A. White picture Daniel A. White · Mar 24, 2011

According to this: http://www.vistax64.com/vista-installation-setup/33219-regsvr32-error-0x80004005.html

Run it in a elevated command prompt.