0x80070005 error trying to register DLL
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
July 13th, 2009 5:56pm

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. Lets see if the error still occurs.Sean Zhu - MSFT
Free Windows Admin Tool Kit Click here and download it now
July 15th, 2009 9:39am

Hi Randy, thanks for the update. Id 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
July 16th, 2009 6:50am

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
Free Windows Admin Tool Kit Click here and download it now
July 16th, 2009 5:30pm

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
July 21st, 2009 9:46pm

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
Free Windows Admin Tool Kit Click here and download it now
January 19th, 2011 6:21pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics