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일 월요일 오후 2: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
    • 답변으로 제안됨 Narendra Pal 2014년 2월 17일 월요일 오후 8:29
    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일 목요일 오후 2: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일 화요일 오후 6: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일 수요일 오후 3: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
    • 편집됨 sophiya depp martin 2011년 11월 29일 화요일 오후 5:17
    • 답변으로 제안됨 soranazad 2012년 9월 7일 금요일 오후 9:50
    • 답변으로 제안 취소됨 soranazad 2012년 9월 7일 금요일 오후 9:52
    2011년 11월 29일 화요일 오후 5: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일 금요일 오후 9:53
    2012년 6월 29일 금요일 오후 5: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일 월요일 오후 10: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일 수요일 오후 4: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일 화요일 오후 10: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일 목요일 오후 2: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일 수요일 오후 1: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일 월요일 오후 5: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일 월요일 오후 1: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일 월요일 오후 3: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일 금요일 오후 2: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일 수요일 오후 6:22
    2017년 10월 25일 수요일 오후 6:22