Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 373
dotnet-practitioner Avatar asked Mar 24 '11 01:03

dotnet-practitioner


People also ask

What does error code 0x80004005 mean?

Error 0x80004005 is translated as an unspecified error and is usually seen when the user cannot access Shared Folders, Drives, Virtual Machines, Microsoft Account changes, and also when the Windows Updates fails to install.

How do I fix DllRegisterServer not found?

Go to the C:/Windows/SysWow64 directory, and then right-click the empty space within the SysWow64 folder and select Paste. After that, you can open an elevated Command Prompt and re-register the OCX DLL file to see if the “entry point DLLRegisterserver was not found” gets solved.


2 Answers

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

Run it in a elevated command prompt.

like image 144
Daniel A. White Avatar answered Sep 29 '22 11:09

Daniel A. White


Open the start menu and type cmd into the search box Hold Ctrl + Shift and press Enter

This runs the Command Prompt in Administrator mode.

Now type regsvr32 MyComobject.dll

like image 45
Michael Blood Avatar answered Sep 29 '22 11:09

Michael Blood