PDA

View Full Version : DllRegisterServer returns 0x80020009 when trying to register a dll


Jones
June 25th 05, 05:42 PM
Hi,
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.

Thanks for any help you can give


--
Jones
------------------------------------------------------------------------
Jones's Profile: http://forums.techarena.in/member.php?userid=7543
View this thread: http://forums.techarena.in/showthread.php?t=235204
Visit - http://forums.techarena.in/archive/index.php/f-127.html | http://forums.techarena.in/archive/index.php/f-127-p--p-3.html | http://forums.techarena.in/archive/index.php/f-127-p--p-2.html

Mark L. Ferguson
June 26th 05, 12:06 PM
The Edit menu in Regedt32.exe has a Permissions item. If thats the issue, I would try changing all child objects in
Hkey_Classes_Root (advanced button, both checkboxes, inherit.., and replace...)

--
Mark L. Ferguson
FAQ for Windows Antispy http://www.geocities.com/marfer_mvp/FAQ_MSantispy.htm
"Jones" > wrote in message ...
>
> Hi,
> 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.
>
> Thanks for any help you can give
>
>
> --
> Jones
> ------------------------------------------------------------------------
> Jones's Profile: http://forums.techarena.in/member.php?userid=7543
> View this thread: http://forums.techarena.in/showthread.php?t=235204
> Visit - http://forums.techarena.in/archive/index.php/f-127.html | http://forums.techarena.in/archive/index.php/f-127-p--p-3.html
> | http://forums.techarena.in/archive/index.php/f-127-p--p-2.html
>

Jones
June 26th 05, 03:00 PM
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?


--
Jones
------------------------------------------------------------------------
Jones's Profile: http://forums.techarena.in/member.php?userid=7543
View this thread: http://forums.techarena.in/showthread.php?t=235204
Visit - http://forums.techarena.in/archive/index.php/f-127.html | http://forums.techarena.in/archive/index.php/f-127-p--p-3.html | http://forums.techarena.in/archive/index.php/f-127-p--p-2.html

Mark L. Ferguson
June 26th 05, 03:20 PM
Yes, start/run, type regedt32


--
Mark L. Ferguson
FAQ for Windows Antispy http://www.geocities.com/marfer_mvp/FAQ_MSantispy.htm
"Jones" > wrote in message ...
>
> 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?
>
>
> --
> Jones
> ------------------------------------------------------------------------
> Jones's Profile: http://forums.techarena.in/member.php?userid=7543
> View this thread: http://forums.techarena.in/showthread.php?t=235204
> Visit - http://forums.techarena.in/archive/index.php/f-127.html | http://forums.techarena.in/archive/index.php/f-127-p--p-3.html
> | http://forums.techarena.in/archive/index.php/f-127-p--p-2.html
>

teegolife
May 31st 09, 06:59 PM
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


--
teegolife
------------------------------------------------------------------------
teegolife's Profile: http://forums.techarena.in/members/102428.htm
View this thread: http://forums.techarena.in/windows-xp-support/235204.htm

http://forums.techarena.in

Google