none
0x80070005 error trying to register DLL RRS feed

  • Dotaz

  • Hello, I have a client who is trying to run the regsvr32 command on his Vista Home Premium (32-bit) system, but keeps getting the error message <DLL file> was loaded but the call to DllRegisterServer failed with error code 0x80070005. We have tried several options, including:

    • verifying that his login account has sufficient permissions on the file and the folder it is located in
    • verifying that his login account is Administrator type
    • temporarily enabling and then logging in with built-in Administrator account and trying to register the file
    • verifying that the file in question is not read-only
    • verifying that his login account has sufficient permissions on key registry entries, specifically ones that pertain to this particular DLL file

    The interesting thing is that he can successfully register another DLL file located in the same folder. We have multiple other clients with either the same OS as this particular client, or other flavours of Vista and we are not running into this problem on any of those systems, so this appears to be isolated. Aside from any other possible security issues, could it be that there is a dependent file(s) missing?  Any information would be greatly appreciated. Thank you.

    Regards,

    Randy

    pondělí 13. července 2009 14:56

Všechny reakce

  • Hi Randy, thanks for the post. I suggest you try the following steps to register the file:

     

    1. Click the Start Button, then in the "Start Search" box type CMD but DO NOT press Enter yet.

    2. In the list above, under "Programs" right-click on CMD that appears above and choose "Run as Administrator" and click "Continue".

    3. In the black command line window, use the command “REGSVR32” to register the file again.

     

    Let’s see if the error still occurs.


    Sean Zhu - MSFT
    • Navržen jako odpověď Baratwaaj pátek 23. listopadu 2012 6:39
    středa 15. července 2009 6:39
    Moderátor
  • Hi Randy, thanks for the update. I’d like to inform you that both 0x80070005 and 0x80004005 indicates permission issue. You can check the following KB article:

     

    http://support.microsoft.com/kb/964677

     

    SYMPTOMS

    ============

    The module "C:\Program Files\FRx Software\FRx 6.7\XXX.DLL" was loaded but the call to DllRegisterServer failed with error code 0x80004005.

     

    CAUSE

    ============

    This error message will be displayed if the regsvr32.exe command is not run as an Administrator to the Windows Vista machine.

     

    I suggest you also try to turn off UAC temporarily and log on as Administrator and then retry the steps to register the file and see the result.


    Sean Zhu - MSFT
    • Navržen jako odpověď Narendra Pal pondělí 17. února 2014 20:29
    čtvrtek 16. července 2009 3:50
    Moderátor
  • Hi Sean, thanks again for your reply. Oddly enough, the client turned off UAC yet the error continues to occur. I even had him try copying the DLL in question to a more "public" folder (even though we confirmed that his account has appropriate permissions on the file's current folder), namely his C:\Users\<username>\Documents folder, but still gets the <DLL file> was loaded but the call to DLLRegisterServer failed with error code 0x80004005 error. So, despite running Command Prompt as administrator, turning off UAC, confirming sufficient permissions on file and the folder it resides in, logging in with built-in Administrator account, the DLLRegisterServer errors persist.

    It's almost as if there is an issue with the security model in his Vista, but I am guessing. Any other ideas? Thanks again for your help.

    Regards,

    Randy
    čtvrtek 16. července 2009 14:30
  • Hi Sean, just wondering if you have any other ideas. I just had the client try a Microsoft tool that resets the security in Vista (http://support.microsoft.com/kb/313222) - this was because I had him send me his Application Log file from Event Viewer and I noticed other instances where the 0x80004005 error was occurring that were not related to his attempts at registering this DLL file. Unfortunately, even after running the tool the same error occurs when he tries to register the file. This is very perplexing. Again, anything else you can think of would be greatly appreciated. Thank you.

    Regards,

    Randy
    úterý 21. července 2009 18:46
  • Randy:

    Thanks a lot, it worked for me

    On Window 7 i have had a problem registering DLL, after i follow your steps it helped

    Thanks, Ragu

    středa 19. ledna 2011 15:21
  • Thanks a lot everybody, it worked to me as a magic.

     

    středa 2. listopadu 2011 12:10
  • In addition to the above, we have had reports that some Anti-virus programs interfere with the installation, temporarily disable your Anti-Virus programs, install Office 2010 and then re-enable the AV solution. Programs we've seen having problems with Office 2010 installation:

    • Forefront Client Security
    • Panda Cloud Antivirus
    • Clam Antivirus

    Also check the task manager to see if you have any background Office tasks running. If so, shut them down. Retry your installation again.

    If you experience the same error once again, try restarting your computer and once rebooted, retry your installation.

    After closing all applicaitons and running the installer, everything should run smoothly
    • Upravený sophiya depp martin úterý 29. listopadu 2011 17:17
    • Navržen jako odpověď soranazad pátek 7. září 2012 21:50
    • Zrušeno navržení jako odpověď soranazad pátek 7. září 2012 21:52
    úterý 29. listopadu 2011 17:16
  • I run into this periodically.  The error is indicative of a permissions issue.  Here are the top three things that usually fix it for me:

    1. If this is a freshly downloaded file, make sure it isn't block (Right-click the file in Explorer, choose Properties, click the Unblock button).
    2. Check the security on the file (Right-click the file in Explorer, choose the Security tab and ensure the user has appropriate permissions).
    3. Run a command prompt as an administrator (Right-click the icon and choose Run As Administrator).

    -KA

    • Navržen jako odpověď soranazad pátek 7. září 2012 21:53
    pátek 29. června 2012 17:19
  • Hi Randy,

    This had me stumped for a while.

    Saw your update to run cmd line as administrator and it registered the dll's fine.

    Regards

    Mark

    úterý 28. srpna 2012 10:00
  • Hi Randy, thanks for the post. I suggest you try the following steps to register the file:

    1. Click the Start Button, then in the "Start Search" box type CMD but DO NOT press Enter yet.

    2. In the list above, under "Programs" right-click on CMD that appears above and choose "Run as Administrator" and click "Continue".

    3. In the black command line window, use the command “REGSVR32” to register the file again.

    Let’s see if the error still occurs.


    Sean Zhu - MSFT

    Tanks, its very helpful.
    úterý 6. listopadu 2012 12:05
  • Hi Randy, thanks for the post. I suggest you try the following steps to register the file:

     

    1. Click the Start Button, then in the "Start Search" box type CMD but DO NOT press Enter yet.

    2. In the list above, under "Programs" right-click on CMD that appears above and choose "Run as Administrator" and click "Continue".

    3. In the black command line window, use the command “REGSVR32” to register the file again.

     

    Let’s see if the error still occurs.


    Sean Zhu - MSFT

    Hi Sean,

    This is not working for me. I am running Windows 8, is there any other solution

    Thanks

    čtvrtek 8. listopadu 2012 9:22
  • Hi Sean, thanks for the post, worked like a charm
    pátek 16. listopadu 2012 5:59
  • Hi Sean, this worked for me. Thanks for your info. 
    pátek 23. listopadu 2012 6:40
  • Hi Randy, thanks for the post. I suggest you try the following steps to register the file:

     

    1. Click the Start Button, then in the "Start Search" box type CMD but DO NOT press Enter yet.

    2. In the list above, under "Programs" right-click on CMD that appears above and choose "Run as Administrator" and click "Continue".

    3. In the black command line window, use the command “REGSVR32” to register the file again.

     

    Let’s see if the error still occurs.


    Sean Zhu - MSFT

    Worked like a charm, thanks!
    • Navržen jako odpověď olmecking22 pondělí 17. srpna 2015 22:30
    pátek 30. listopadu 2012 1:49
  • hi I am also having this issue with the creative audio pack and the .dll file not reging am running win 8 64bit and nothing works did you find an answer that worked?thanks kev
    středa 14. srpna 2013 11:33
  • Also having same issues with Windows 8.  Have tried all the suggested solution above, none have worked.
    pátek 16. srpna 2013 12:59

  •  

    Simple solution for “.dll was loaded but the call to DllRegisterServer failed with error code 0x80004005”    

            I succeeded to register custom dll files by booting the system in safe mode and login as Administrator, when running Command Prompt with administrator rights and turning off UAC can’t solve the problem.

    This worked successfully in Windows Vista Business SP1 and Windows 7 Professional SP1. 

    **sa2kalpettaho



    • Upravený Roy K J pátek 6. září 2013 12:37 personal
    čtvrtek 5. září 2013 7:54
  • Hi I got Windows 8.1 and had same error when running Regsvr. after following these steps now all fixed.

    thanks.[run from step 2 and then command prompt I ran reg command..after that I can run reg code

    středa 8. ledna 2014 16:16
  • I am running Windows 8 and I have been spending most of the day trying to get the ieproxy.dll to successfully register and I still can't get it to work. 

    1. I have verified that I am running the command prompt window as an administrator

    2. I shut down Windows Defender and Windows Firewall

    3. I started up in Safe Mode then ran the command prompt as an administrator

    In every case, I always get the same error - The module "C:\Program Files (x86)\Internet Explorer\ieproxy.dll" was loaded but the call to DllRegisterServer failed with error code 0x80070005.

    If I unregister the dll that works fine. (regsvr31 /u "C:\Program Files (x86)\Internet Explorer ieproxy.dll)

    It appears that the problem is with permissions when trying to run the DllRegisterServer program.

    I am running into this problem as a result of installing Source Gear Vault 3.1.9 yesterday.  Source Gear has told me that this version of their Vault software is not compatible with Windows 8, but I need to install this to work on a clients system.  Source Gear has told me that after installing their Vault software that I need to re-register the ieproxy.dll.  This is where I get stuck.


    Gary Frickey

    úterý 15. dubna 2014 22:48
  • Hi,

    I do not have any knowledge on *.dll files and I am not a programmer either. I am supposed to create an online document. I need to attach a digital certificate to this document. In order to create the certificate I was required to copy a dll file to syswow64 folder, which I did. I ran that successfully. This should have lead to creation of a certificate, but its not happening. Any ideas?

    Thanks

    pátek 11. července 2014 9:17
  • And I am using windows 8.

    Hi,

    I do not have any knowledge on *.dll files and I am not a programmer either. I am supposed to create an online document. I need to attach a digital certificate to this document. In order to create the certificate I was required to copy a dll file to syswow64 folder, which I did. I ran that successfully. This should have lead to creation of a certificate, but its not happening. Any ideas?

    Thanks

    pátek 11. července 2014 9:18
  • This worked!  Thank you.
    čtvrtek 17. července 2014 14:13
  • Thanks a lot! it works for me
    středa 17. prosince 2014 9:11
  • Hi Randy, thanks for the post. I suggest you try the following steps to register the file:

     

    1. Click the Start Button, then in the "Start Search" box type CMD but DO NOT press Enter yet.

    2. In the list above, under "Programs" right-click on CMD that appears above and choose "Run as Administrator" and click "Continue".

    3. In the black command line window, use the command “REGSVR32” to register the file again.

     

    Let’s see if the error still occurs.


    Sean Zhu - MSFT

    GOOD

    resolve my problem 

    Thanks

    středa 3. června 2015 13:32
  • Thank you very much . It worked perfectly 

    neděle 11. prosince 2016 6:21
  • Hello, hope everything fine.

    Thank you, it helped me.

    Thank you.

    čtvrtek 26. ledna 2017 11:44
  • Thanks for your post.

    It worked well for me, But:

    What is the difference between logging in as Administrator

    and running the command as administrator?

    Hope you can and will answer!

    pondělí 27. března 2017 17:39
  • Moose,

    When you log in and run the command prompt as an Administrator you are doing so with higher escalated privileges than you would under your a user account.  Even if all your computer is protected with is such user account, running the command prompt (or any other program / application) as administrator will decrease the security of the system so to speak.

    If you ran Internet Explorer as an admin, and went to a site that had malware that site (hacker) could potentially install backdoors into your system much easier because you ran that program as admin.

    pondělí 10. dubna 2017 12:37
  • Hello Sean,

    I have tried the suggestions and still cannot get the .dll file to register.  We are using Office 2013 here. 

    My next step is to uninstall / reinstall Office, but I think I will get the same results as I cannot change the UAC settings or disable anti-virus. 

    So the next step is wiping the machine and re-image it.  However, after adding it to our network I am going to install Office prior to installing the Anti-Virus and updating the group policy settings.  I hope this will work.

    SikkoB

    pondělí 10. dubna 2017 13:16
  • If Your Account type is [Standard User] it Asking you Administrator Password. and you give the administrator Login Password. and I dont Know English, Sorry.
    pondělí 16. října 2017 15:56
  • I am running Windows 8 and I have been spending most of the day trying to get the ieproxy.dll to successfully register and I still can't get it to work. 

    1. I have verified that I am running the command prompt window as an administrator

    2. I shut down Windows Defender and Windows Firewall

    3. I started up in Safe Mode then ran the command prompt as an administrator

    In every case, I always get the same error - The module "C:\Program Files (x86)\Internet Explorer\ieproxy.dll" was loaded but the call to DllRegisterServer failed with error code 0x80070005.

    If I unregister the dll that works fine. (regsvr31 /u "C:\Program Files (x86)\Internet Explorer ieproxy.dll)

    It appears that the problem is with permissions when trying to run the DllRegisterServer program.

    I am running into this problem as a result of installing Source Gear Vault 3.1.9 yesterday.  Source Gear has told me that this version of their Vault software is not compatible with Windows 8, but I need to install this to work on a clients system.  Source Gear has told me that after installing their Vault software that I need to re-register the ieproxy.dll.  This is where I get stuck.


    Gary Frickey

    Hi 

    I have a similar issue with a DLL (com addin for Outlook) . I think it's besause MY DLL is NOT SIGNED.  W7 64 bit  .

    There is no"software restriction policies" and no APPLOCKER

    Antivirus is "ESET" ans i pause it.

    Any idea ?


    Have a nice day. Oliv-

    pátek 20. října 2017 14:33
  • According to http://support.microsoft.com/en-us/kb/2792179 VB6 based add-ins have a dependency on the Add-In Designer Object Library (msaddndr.dll), which is no longer shipped with Office 2013. If the add-in setup project did not include this DLL, then the Add-in registration would fail.

    Have a nice day. Oliv-

    • Navržen jako odpověď Oliv- středa 25. října 2017 18:22
    středa 25. října 2017 18:22