Saturday, January 3, 2015

DLL file was loaded but the call to DllRegisterServer failed with error code 0x80070005.

You may face this error while registering dlls. <DLL file> was loaded but the call to DllRegisterServer failed with error code 0x80070005. 

0x80070005 and 0x80004005 indicates permission issue you must login with administrator user, then go to start and press” WIN key” + R.

Type regsvr32 + space + dll path.

And press enter.
You will receive message that dllRegistreServer <DLL File> succeeded.

If not getting register then do the following step:
  1. Verify that the file is not read-only.
  2. Go to start up and type CMD, right click on command prompt and run as administrator.
  3. Then type the same command for dll registration example:
  4. Regsvr32 d:\Test\Test.dll
  5. And press enter.

Search This Blog