none
0x80070005 error trying to register DLL RRS feed

  • 问题

  • 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

    2009年7月13日 14:56

全部回复

  • 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
    • 已建议为答案 Baratwaaj 2012年11月23日 6:39
    2009年7月15日 6:39
    版主
  • 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
    2009年7月16日 3:50
    版主
  • 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
    2009年7月16日 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
    2009年7月21日 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

    2011年1月19日 15:21
  • Thanks a lot everybody, it worked to me as a magic.

     

    2011年11月2日 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
    2011年11月29日 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

    • 已建议为答案 soranazad 2012年9月7日 21:53
    2012年6月29日 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

    2012年8月28日 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.
    2012年11月6日 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

    2012年11月8日 9:22
  • Hi Sean, thanks for the post, worked like a charm
    2012年11月16日 5:59
  • Hi Sean, this worked for me. Thanks for your info. 
    2012年11月23日 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!
    • 已建议为答案 olmecking22 2015年8月17日 22:30
    2012年11月30日 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
    2013年8月14日 11:33
  • Also having same issues with Windows 8.  Have tried all the suggested solution above, none have worked.
    2013年8月16日 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



    • 已编辑 Roy K J 2013年9月6日 12:37 personal
    2013年9月5日 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

    2014年1月8日 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

    2014年4月15日 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

    2014年7月11日 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

    2014年7月11日 9:18
  • This worked!  Thank you.
    2014年7月17日 14:13
  • Thanks a lot! it works for me
    2014年12月17日 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

    2015年6月3日 13:32
  • Thank you very much . It worked perfectly 

    2016年12月11日 6:21
  • Hello, hope everything fine.

    Thank you, it helped me.

    Thank you.

    2017年1月26日 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!

    2017年3月27日 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.

    2017年4月10日 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

    2017年4月10日 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.
    2017年10月16日 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-

    2017年10月20日 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-

    • 已建议为答案 Oliv- 2017年10月25日 18:22
    2017年10月25日 18:22