Results 1 to 9 of 9

Thread: DllRegisterServer returns 0x80020009 when trying to register a dll

  1. #1
    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.

  2. #2
    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.

  3. #3
    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?

  4. #4
    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

  5. #5
    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 :)

  6. #6
    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...

  7. #7
    TechMan1975 Guest

    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.

  8. #8
    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.

  9. #9
    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

Similar Threads

  1. Replies: 3
    Last Post: 03-01-2014, 10:37 AM
  2. call to DllRegisterServer failed 0x8002801c
    By greensmachine_snake in forum Vista Help
    Replies: 4
    Last Post: 02-07-2011, 04:38 AM
  3. ADODB 0x80020009 error problem
    By Halyn in forum Software Development
    Replies: 3
    Last Post: 28-08-2009, 06:50 PM
  4. Error code 0x80020009, wmp.dll will not register
    By Fedlix in forum MediaCenter
    Replies: 2
    Last Post: 03-07-2009, 05:52 AM
  5. Replies: 0
    Last Post: 22-04-2008, 07:54 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,712,911.60060 seconds with 16 queries