DllRegisterServer returns 0x80020009 when trying to register a dll



Jones
07-10-2005, 01:32 AM
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
07-10-2005, 01:32 AM
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" <Jones.1r6zev@DoNotSpam.com> wrote in message news:Jones.1r6zev@DoNotSpam.com...
>
> 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
07-10-2005, 01:33 AM
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
07-10-2005, 01:33 AM
Yes, start/run, type regedt32


--
Mark L. Ferguson
FAQ for Windows Antispy http://www.geocities.com/marfer_mvp/FAQ_MSantispy.htm
"Jones" <Jones.1r8lt6@DoNotSpam.com> wrote in message news:Jones.1r8lt6@DoNotSpam.com...
>
> 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
>


DllRegisterServer returns 0x80020009 when trying to register a dll