You may face this error while registering dlls. “.”
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:
- Verify that the file is not read-only.
- Go to start up and type CMD, right click on command prompt and run as administrator.
- Then type the same command for dll registration example:
- Regsvr32 d:\Test\Test.dll
- And press enter.