Go Back   TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



DllRegisterServer returns 0x80020009 when trying to register a dll

Windows XP Support


Reply
 
Thread Tools Search this Thread
  #1  
Old 25-06-2005
Member
 
Join Date: Jun 2005
Posts: 3
DllRegisterServer returns 0x80020009 when trying to register a dll

When I try to run the command: "regsvr32 dllname.dll" for a specific dll, I get a popup with an error message saying that DllRegisterServer returned 0x80020009. I've googled all over the Internet, and come up with 2 possibilities:

1) dllname.dll depends on other dlls which are not registered on the user's machine
2) Even though the user has admin rights to their PC, they still are restricted from using certain registry keys that dllname.dll needs to write to.

I don't think the problem is #1, because I removed a few dlls that dllname.dll is dependent on, and when I run regsvr32 dllname.dll on a PC that doesn't have the original problem, I get a different error code: 7e. Has anyone come across this problem, and do you know the solution? This happens on an XP PC, and it's only happening on 1 out of 10 PCs. The other 9 PCs have no problem registering dllname.dll.

Reply With Quote
  #2  
Old 26-06-2005
Member
 
Join Date: Sep 2004
Posts: 136
The error can be resolved if you can re-register the dll file. That is the only way to fix the issue and you can do that through command prompt using regsvr32 command. This is one of the most easiest way to fix the problem. But if that does not work then the only option left here is to run a repair setup of windows. You can use the windows installation disc and hit R from boot. That will run the repair setup and it is one of the best way to get rid of problems that you are facing.
Reply With Quote
  #3  
Old 26-06-2005
Member
 
Join Date: Jun 2005
Posts: 3
Wow, thanks for the quick response, Mark! I've been pulling my hair out trying to fix this problem. I only have access to a PC right now that has regedit.exe, so I don't see any Permissions item, but you're saying regedt32.exe has that item for any PC it's running on?
Reply With Quote
  #4  
Old 31-05-2009
Member
 
Join Date: May 2009
Posts: 1
Re: DllRegisterServer returns 0x80020009 when trying to register a dll

I get this issue with clients a lot. It always turns out that they are not using xp, but vista. If it is vista (blue orb instead of green start button), the easiest way to fix it is to run the CMD.exe as Administrator.

Steps:

Start> Computer> Local Disk (c:)> Windows> System32> Scroll down to CMD.exe, right click and 'Run as Administrator'

Then you can just regsvr32 xxxxx.dll

to change directory use the following format:
to go back a folder - CD..
to navigate forward - cd folderNameExactly
Reply With Quote
  #5  
Old 21-05-2010
Member
 
Join Date: May 2010
Posts: 1
Re: DllRegisterServer returns 0x80020009 when trying to register a dll

Thank you very much, it solved the problem on windows7 too :)
Reply With Quote
  #6  
Old 16-05-2011
Member
 
Join Date: May 2011
Posts: 1
Re: DllRegisterServer returns 0x80020009 when trying to register a dll

When I try to run the command: "regsvr32 dllname.dll" for a capicom.dll, I get a popup with an error message saying that DllRegisterServer returned 0x80020009.
Kindly help me on this issue...
Reply With Quote
  #7  
Old 28-07-2011
TechMan1975
 
Posts: n/a
Re: DllRegisterServer returns 0x80020009 when trying to register a dll

Hi,

In order to resolve this issue, you can also do the following:

Restore file and registry security permissions to a known state.

For Windows XP users:
Download and unzip a small utility called Repair Permissions from http://djlizard.net/software/Repair%20Permissions.zip
Locate the unzipped folder, and double-click the !RUNME file.
The command prompt window will now open and will begin to restore the file and registry permissions to a known state, please be patient as the command can take some time to complete.
Once the command has completed, try to register a dll file again.

For Windows Vista/Windows 7 users:
Click Start>All Programs>Accessories, then right-click on “Command Prompt” and select “Run as Administrator”
Type in the following command exactly as you see it and press ENTER.
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose
Wait for the command to complete, it can take some time so please be patient.
Once the command has completed, try to register a dll file again.
Reply With Quote
  #8  
Old 28-09-2011
Member
 
Join Date: Jan 2009
Posts: 2
Re: DllRegisterServer returns 0x80020009 when trying to register a dll

I am having a similar problem trying to run a program in windows 7. I ran your code above and received the following error message:

The task has completed with an error. See Log %windir%\security\logs\scesrv.log

The error log is quit long, but it appears that certain securities are not set up. My machine will not allow me to create a restore point and I wonder if the 2 are related. I'm in over my head here and any advice would greatly help.

Log highlights (I can provide more info if needed);



----Configure User Rights...
SeImpersonatePrivilege must be assigned to administrators. This setting is adjusted.
SeImpersonatePrivilege must be assigned to SERVICE. This setting is adjusted.

----Configure 64-bit Registry Keys...
Configure users\.default.
Configure machine\software.
Configure machine\software\classes.
Warning 5: Access is denied.
Error setting security on machine\software\classes.


----Configure 32-bit Registry Keys...
Configure machine\software.
Configure machine\software\classes.
Warning 5: Access is denied.
Error setting security on machine\software\classes.


----Configure Security Policy...
Configure password information.
Administrator account is disabled.
Guest account is disabled.
Reply With Quote
  #9  
Old 04-11-2011
Member
 
Join Date: Nov 2011
Posts: 1
Re: DllRegisterServer returns 0x80020009 when trying to register a dll

thanks "regsvr32 xxxxx.dll" it solves my problems,
i was suffered by last one month and atleast i was found the solution.

thanks again
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "DllRegisterServer returns 0x80020009 when trying to register a dll"
Thread Thread Starter Forum Replies Last Post
DllRegisterServer failed with error code 0x8002801c Sauvan Vista Help 3 03-01-2014 09:37 AM
call to DllRegisterServer failed 0x8002801c greensmachine_snake Vista Help 4 02-07-2011 04:38 AM
ADODB 0x80020009 error problem Halyn Software Development 3 28-08-2009 06:50 PM
Error code 0x80020009, wmp.dll will not register Fedlix MediaCenter 2 03-07-2009 05:52 AM
My friend needs help with DLLRegisterServer error 0x80020009 Elmrok Vista Help 0 22-04-2008 07:54 AM


All times are GMT +5.5. The time now is 04:52 PM.