Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows Vista > Windows Vista Security

Notices

Reply

DllRegisterServer

 

LinkBack Thread Tools Display Modes
Old 04-17-2006, 08:38 PM   #1 (permalink)
Default DllRegisterServer

I have a problem registering a simple in-process COM object. The object
registers OK on Windows XP Professional, but fails when an attempt is made
to register it on Vista (CTP 5308). I ran the debugging tool "ntsd" and it
produced the following output:

Microsoft (R) Windows Debugger Version 6.6.0003.5
Copyright (c) Microsoft Corporation. All rights reserved.

CommandLine: regsvr32 regtest.dll
Symbol search path is: *** Invalid ***
************************************************** **************************
* Symbol loading may be unreliable without a symbol search path. *
* Use .symfix to have the debugger choose a symbol path. *
* After setting your symbol path, use .reload to refresh symbol locations. *
************************************************** **************************
Executable search path is:
ModLoad: 01000000 01007000 regsvr32.exe
ModLoad: 77ef0000 77ff2000 ntdll.dll
ModLoad: 77e20000 77ee8000 C:\Windows\system32\kernel32.dll
ModLoad: 77b10000 77bb3000 C:\Windows\system32\msvcrt.dll
ModLoad: 77d60000 77e15000 C:\Windows\system32\ADVAPI32.dll
ModLoad: 77c10000 77cb8000 C:\Windows\system32\RPCRT4.dll
ModLoad: 77cc0000 77d5b000 C:\Windows\system32\USER32.dll
ModLoad: 77bc0000 77c09000 C:\Windows\system32\GDI32.dll
ModLoad: 76d20000 76e55000 C:\Windows\system32\ole32.dll
ModLoad: 718e0000 718fe000 C:\Windows\system32\ShimEng.dll
ModLoad: 756c0000 756e9000 C:\Windows\system32\apphelp.dll
ModLoad: 75c30000 75c4e000 C:\Windows\system32\IMM32.DLL
ModLoad: 71650000 71659000 C:\Windows\system32\LPK.DLL
ModLoad: 72a30000 72aaa000 C:\Windows\system32\USP10.dll
ModLoad: 71950000 7198e000 C:\Windows\system32\uxtheme.dll
ModLoad: 10000000 1003b000 U:\MyProjects\RegTest\Debug\regtest.dll
ModLoad: 76c80000 76d10000 C:\Windows\system32\OLEAUT32.dll
ModLoad: 76b80000 76c04000 C:\Windows\system32\CLBCatQ.DLL
ModLoad: 77b00000 77b09000 C:\Windows\system32\VERSION.dll
ModLoad: 76610000 76624000 C:\Windows\system32\atl.dll
ModLoad: 73d90000 73e4c000 C:\Windows\system32\msctf.dll


At this point I get a popup dialog containing the following:

"DllRegisterServer in regtest.dll failed. Return code was: 0x80020009"

Any clues as to where I go from here.

Thank you,
Rick


news.microsoft.com
Guest
 
Posts: n/a
Reply With Quote  
Old 04-17-2006, 09:30 PM   #2 (permalink)
Default Re: DllRegisterServer

Type in at Run> regsvr.exe softpub.dll
That might help - may need to restart.

--
Zack Whittaker
» ZackNET Enterprises: www.zacknet.co.uk
» MSBlog on ResDev: www.msblog.org
» Vista Knowledge Base: www.vistabase.co.uk
» This mailing is provided "as is" with no warranties, and confers no
rights. All opinions expressed are those of myself unless stated so, and not
of my employer, best friend, Ghandi, my mother or my cat. Glad we cleared
that up!

--: Original message follows :--
"news.microsoft.com" <rick6@cdldata.com> wrote in message
news:uoBVU7lYGHA.1228@TK2MSFTNGP02.phx.gbl...
Quote:
>I have a problem registering a simple in-process COM object. The object
>registers OK on Windows XP Professional, but fails when an attempt is made
>to register it on Vista (CTP 5308). I ran the debugging tool "ntsd" and it
>produced the following output:
>
> Microsoft (R) Windows Debugger Version 6.6.0003.5
> Copyright (c) Microsoft Corporation. All rights reserved.
>
> CommandLine: regsvr32 regtest.dll
> Symbol search path is: *** Invalid ***
> ************************************************** **************************
> * Symbol loading may be unreliable without a symbol search path.
> *
> * Use .symfix to have the debugger choose a symbol path.
> *
> * After setting your symbol path, use .reload to refresh symbol locations.
> *
> ************************************************** **************************
> Executable search path is:
> ModLoad: 01000000 01007000 regsvr32.exe
> ModLoad: 77ef0000 77ff2000 ntdll.dll
> ModLoad: 77e20000 77ee8000 C:\Windows\system32\kernel32.dll
> ModLoad: 77b10000 77bb3000 C:\Windows\system32\msvcrt.dll
> ModLoad: 77d60000 77e15000 C:\Windows\system32\ADVAPI32.dll
> ModLoad: 77c10000 77cb8000 C:\Windows\system32\RPCRT4.dll
> ModLoad: 77cc0000 77d5b000 C:\Windows\system32\USER32.dll
> ModLoad: 77bc0000 77c09000 C:\Windows\system32\GDI32.dll
> ModLoad: 76d20000 76e55000 C:\Windows\system32\ole32.dll
> ModLoad: 718e0000 718fe000 C:\Windows\system32\ShimEng.dll
> ModLoad: 756c0000 756e9000 C:\Windows\system32\apphelp.dll
> ModLoad: 75c30000 75c4e000 C:\Windows\system32\IMM32.DLL
> ModLoad: 71650000 71659000 C:\Windows\system32\LPK.DLL
> ModLoad: 72a30000 72aaa000 C:\Windows\system32\USP10.dll
> ModLoad: 71950000 7198e000 C:\Windows\system32\uxtheme.dll
> ModLoad: 10000000 1003b000 U:\MyProjects\RegTest\Debug\regtest.dll
> ModLoad: 76c80000 76d10000 C:\Windows\system32\OLEAUT32.dll
> ModLoad: 76b80000 76c04000 C:\Windows\system32\CLBCatQ.DLL
> ModLoad: 77b00000 77b09000 C:\Windows\system32\VERSION.dll
> ModLoad: 76610000 76624000 C:\Windows\system32\atl.dll
> ModLoad: 73d90000 73e4c000 C:\Windows\system32\msctf.dll
>
>
> At this point I get a popup dialog containing the following:
>
> "DllRegisterServer in regtest.dll failed. Return code was: 0x80020009"
>
> Any clues as to where I go from here.
>
> Thank you,
> Rick
>

Zack Whittaker
Guest
 
Posts: n/a
Reply With Quote  
Old 04-17-2006, 11:58 PM   #3 (permalink)
Default Re: DllRegisterServer

I was able to register the softpub.dll, but still got the error trying to
register the original dll. This is crazy. One works the other doesn't.

"Zack Whittaker" <admin@zacknet.co.uk> wrote in message
news:OuBhiYmYGHA.1764@TK2MSFTNGP05.phx.gbl...
Quote:
> Type in at Run> regsvr.exe softpub.dll
> That might help - may need to restart.
>
> --
> Zack Whittaker
> » ZackNET Enterprises: www.zacknet.co.uk
> » MSBlog on ResDev: www.msblog.org
> » Vista Knowledge Base: www.vistabase.co.uk
> » This mailing is provided "as is" with no warranties, and confers no
> rights. All opinions expressed are those of myself unless stated so, and
> not
> of my employer, best friend, Ghandi, my mother or my cat. Glad we cleared
> that up!
>
> --: Original message follows :--
> "news.microsoft.com" <rick6@cdldata.com> wrote in message
> news:uoBVU7lYGHA.1228@TK2MSFTNGP02.phx.gbl...
Quote:
>>I have a problem registering a simple in-process COM object. The object
>>registers OK on Windows XP Professional, but fails when an attempt is made
>>to register it on Vista (CTP 5308). I ran the debugging tool "ntsd" and it
>>produced the following output:
>>
>> Microsoft (R) Windows Debugger Version 6.6.0003.5
>> Copyright (c) Microsoft Corporation. All rights reserved.
>>
>> CommandLine: regsvr32 regtest.dll
>> Symbol search path is: *** Invalid ***
>> ************************************************** **************************
>> * Symbol loading may be unreliable without a symbol search path. *
>> * Use .symfix to have the debugger choose a symbol path. *
>> * After setting your symbol path, use .reload to refresh symbol
>> locations. *
>> ************************************************** **************************
>> Executable search path is:
>> ModLoad: 01000000 01007000 regsvr32.exe
>> ModLoad: 77ef0000 77ff2000 ntdll.dll
>> ModLoad: 77e20000 77ee8000 C:\Windows\system32\kernel32.dll
>> ModLoad: 77b10000 77bb3000 C:\Windows\system32\msvcrt.dll
>> ModLoad: 77d60000 77e15000 C:\Windows\system32\ADVAPI32.dll
>> ModLoad: 77c10000 77cb8000 C:\Windows\system32\RPCRT4.dll
>> ModLoad: 77cc0000 77d5b000 C:\Windows\system32\USER32.dll
>> ModLoad: 77bc0000 77c09000 C:\Windows\system32\GDI32.dll
>> ModLoad: 76d20000 76e55000 C:\Windows\system32\ole32.dll
>> ModLoad: 718e0000 718fe000 C:\Windows\system32\ShimEng.dll
>> ModLoad: 756c0000 756e9000 C:\Windows\system32\apphelp.dll
>> ModLoad: 75c30000 75c4e000 C:\Windows\system32\IMM32.DLL
>> ModLoad: 71650000 71659000 C:\Windows\system32\LPK.DLL
>> ModLoad: 72a30000 72aaa000 C:\Windows\system32\USP10.dll
>> ModLoad: 71950000 7198e000 C:\Windows\system32\uxtheme.dll
>> ModLoad: 10000000 1003b000 U:\MyProjects\RegTest\Debug\regtest.dll
>> ModLoad: 76c80000 76d10000 C:\Windows\system32\OLEAUT32.dll
>> ModLoad: 76b80000 76c04000 C:\Windows\system32\CLBCatQ.DLL
>> ModLoad: 77b00000 77b09000 C:\Windows\system32\VERSION.dll
>> ModLoad: 76610000 76624000 C:\Windows\system32\atl.dll
>> ModLoad: 73d90000 73e4c000 C:\Windows\system32\msctf.dll
>>
>>
>> At this point I get a popup dialog containing the following:
>>
>> "DllRegisterServer in regtest.dll failed. Return code was: 0x80020009"
>>
>> Any clues as to where I go from here.
>>
>> Thank you,
>> Rick
>>
>
>

news.microsoft.com
Guest
 
Posts: n/a
Reply With Quote  
Old 04-18-2006, 12:16 AM   #4 (permalink)
Default Re: DllRegisterServer

Try > regsvr.exe (but then type in the name of the dll - if that doesn't
work, type in the full path of the DLL)

ie: regsvr.exe faultyfile.dll
or: regsvr.exe c:/windows/faultyfile.dll

--
Zack Whittaker
» ZackNET Enterprises: www.zacknet.co.uk
» MSBlog on ResDev: www.msblog.org
» Vista Knowledge Base: www.vistabase.co.uk
» This mailing is provided "as is" with no warranties, and confers no
rights. All opinions expressed are those of myself unless stated so, and not
of my employer, best friend, Ghandi, my mother or my cat. Glad we cleared
that up!

--: Original message follows :--
"news.microsoft.com" <rick6@cdldata.com> wrote in message
news:eDlUTrnYGHA.2376@TK2MSFTNGP03.phx.gbl...
Quote:
>I was able to register the softpub.dll, but still got the error trying to
>register the original dll. This is crazy. One works the other doesn't.
>
> "Zack Whittaker" <admin@zacknet.co.uk> wrote in message
> news:OuBhiYmYGHA.1764@TK2MSFTNGP05.phx.gbl...
Quote:
>> Type in at Run> regsvr.exe softpub.dll
>> That might help - may need to restart.
>>
>> --
>> Zack Whittaker
>> » ZackNET Enterprises: www.zacknet.co.uk
>> » MSBlog on ResDev: www.msblog.org
>> » Vista Knowledge Base: www.vistabase.co.uk
>> » This mailing is provided "as is" with no warranties, and confers no
>> rights. All opinions expressed are those of myself unless stated so, and
>> not
>> of my employer, best friend, Ghandi, my mother or my cat. Glad we cleared
>> that up!
>>
>> --: Original message follows :--
>> "news.microsoft.com" <rick6@cdldata.com> wrote in message
>> news:uoBVU7lYGHA.1228@TK2MSFTNGP02.phx.gbl...
Quote:
>>>I have a problem registering a simple in-process COM object. The object
>>>registers OK on Windows XP Professional, but fails when an attempt is
>>>made to register it on Vista (CTP 5308). I ran the debugging tool "ntsd"
>>>and it produced the following output:
>>>
>>> Microsoft (R) Windows Debugger Version 6.6.0003.5
>>> Copyright (c) Microsoft Corporation. All rights reserved.
>>>
>>> CommandLine: regsvr32 regtest.dll
>>> Symbol search path is: *** Invalid ***
>>> ************************************************** **************************
>>> * Symbol loading may be unreliable without a symbol search path. *
>>> * Use .symfix to have the debugger choose a symbol path. *
>>> * After setting your symbol path, use .reload to refresh symbol
>>> locations. *
>>> ************************************************** **************************
>>> Executable search path is:
>>> ModLoad: 01000000 01007000 regsvr32.exe
>>> ModLoad: 77ef0000 77ff2000 ntdll.dll
>>> ModLoad: 77e20000 77ee8000 C:\Windows\system32\kernel32.dll
>>> ModLoad: 77b10000 77bb3000 C:\Windows\system32\msvcrt.dll
>>> ModLoad: 77d60000 77e15000 C:\Windows\system32\ADVAPI32.dll
>>> ModLoad: 77c10000 77cb8000 C:\Windows\system32\RPCRT4.dll
>>> ModLoad: 77cc0000 77d5b000 C:\Windows\system32\USER32.dll
>>> ModLoad: 77bc0000 77c09000 C:\Windows\system32\GDI32.dll
>>> ModLoad: 76d20000 76e55000 C:\Windows\system32\ole32.dll
>>> ModLoad: 718e0000 718fe000 C:\Windows\system32\ShimEng.dll
>>> ModLoad: 756c0000 756e9000 C:\Windows\system32\apphelp.dll
>>> ModLoad: 75c30000 75c4e000 C:\Windows\system32\IMM32.DLL
>>> ModLoad: 71650000 71659000 C:\Windows\system32\LPK.DLL
>>> ModLoad: 72a30000 72aaa000 C:\Windows\system32\USP10.dll
>>> ModLoad: 71950000 7198e000 C:\Windows\system32\uxtheme.dll
>>> ModLoad: 10000000 1003b000 U:\MyProjects\RegTest\Debug\regtest.dll
>>> ModLoad: 76c80000 76d10000 C:\Windows\system32\OLEAUT32.dll
>>> ModLoad: 76b80000 76c04000 C:\Windows\system32\CLBCatQ.DLL
>>> ModLoad: 77b00000 77b09000 C:\Windows\system32\VERSION.dll
>>> ModLoad: 76610000 76624000 C:\Windows\system32\atl.dll
>>> ModLoad: 73d90000 73e4c000 C:\Windows\system32\msctf.dll
>>>
>>>
>>> At this point I get a popup dialog containing the following:
>>>
>>> "DllRegisterServer in regtest.dll failed. Return code was: 0x80020009"
>>>
>>> Any clues as to where I go from here.
>>>
>>> Thank you,
>>> Rick
>>>
>>
>>
>
>

Zack Whittaker
Guest
 
Posts: n/a
Reply With Quote  
Old 04-18-2006, 03:24 PM   #5 (permalink)
Default Re: DllRegisterServer

Thanks. I understood that. My point was that one dll worked and the other
did not. It is finding my dll. I'm assuming you mean "regsvr32.exe" since
there is no "regsvr.exe". The registration process is failing due to an
"E_ACCESSDENIED" returned when trying to update the registry. Does anyone
know why I get access denied and not offered a chance to elevate the
process? Are there special rules for installations on Vista that I've
missed?

Thanks,
Rick

"Zack Whittaker" <admin@zacknet.co.uk> wrote in message
news:ur%23KyynYGHA.4168@TK2MSFTNGP05.phx.gbl...
Quote:
> Try > regsvr.exe (but then type in the name of the dll - if that doesn't
> work, type in the full path of the DLL)
>
> ie: regsvr.exe faultyfile.dll
> or: regsvr.exe c:/windows/faultyfile.dll
>
> --
> Zack Whittaker
> » ZackNET Enterprises: www.zacknet.co.uk
> » MSBlog on ResDev: www.msblog.org
> » Vista Knowledge Base: www.vistabase.co.uk
> » This mailing is provided "as is" with no warranties, and confers no
> rights. All opinions expressed are those of myself unless stated so, and
> not
> of my employer, best friend, Ghandi, my mother or my cat. Glad we cleared
> that up!
>
> --: Original message follows :--
> "news.microsoft.com" <rick6@cdldata.com> wrote in message
> news:eDlUTrnYGHA.2376@TK2MSFTNGP03.phx.gbl...
Quote:
>>I was able to register the softpub.dll, but still got the error trying to
>>register the original dll. This is crazy. One works the other doesn't.
>>
>> "Zack Whittaker" <admin@zacknet.co.uk> wrote in message
>> news:OuBhiYmYGHA.1764@TK2MSFTNGP05.phx.gbl...
Quote:
>>> Type in at Run> regsvr.exe softpub.dll
>>> That might help - may need to restart.
>>>
>>> --
>>> Zack Whittaker
>>> » ZackNET Enterprises: www.zacknet.co.uk
>>> » MSBlog on ResDev: www.msblog.org
>>> » Vista Knowledge Base: www.vistabase.co.uk
>>> » This mailing is provided "as is" with no warranties, and confers no
>>> rights. All opinions expressed are those of myself unless stated so, and
>>> not
>>> of my employer, best friend, Ghandi, my mother or my cat. Glad we
>>> cleared
>>> that up!
>>>
>>> --: Original message follows :--
>>> "news.microsoft.com" <rick6@cdldata.com> wrote in message
>>> news:uoBVU7lYGHA.1228@TK2MSFTNGP02.phx.gbl...
>>>>I have a problem registering a simple in-process COM object. The object
>>>>registers OK on Windows XP Professional, but fails when an attempt is
>>>>made to register it on Vista (CTP 5308). I ran the debugging tool "ntsd"
>>>>and it produced the following output:
>>>>
>>>> Microsoft (R) Windows Debugger Version 6.6.0003.5
>>>> Copyright (c) Microsoft Corporation. All rights reserved.
>>>>
>>>> CommandLine: regsvr32 regtest.dll
>>>> Symbol search path is: *** Invalid ***
>>>> ************************************************** **************************
>>>> * Symbol loading may be unreliable without a symbol search path. *
>>>> * Use .symfix to have the debugger choose a symbol path. *
>>>> * After setting your symbol path, use .reload to refresh symbol
>>>> locations. *
>>>> ************************************************** **************************
>>>> Executable search path is:
>>>> ModLoad: 01000000 01007000 regsvr32.exe
>>>> ModLoad: 77ef0000 77ff2000 ntdll.dll
>>>> ModLoad: 77e20000 77ee8000 C:\Windows\system32\kernel32.dll
>>>> ModLoad: 77b10000 77bb3000 C:\Windows\system32\msvcrt.dll
>>>> ModLoad: 77d60000 77e15000 C:\Windows\system32\ADVAPI32.dll
>>>> ModLoad: 77c10000 77cb8000 C:\Windows\system32\RPCRT4.dll
>>>> ModLoad: 77cc0000 77d5b000 C:\Windows\system32\USER32.dll
>>>> ModLoad: 77bc0000 77c09000 C:\Windows\system32\GDI32.dll
>>>> ModLoad: 76d20000 76e55000 C:\Windows\system32\ole32.dll
>>>> ModLoad: 718e0000 718fe000 C:\Windows\system32\ShimEng.dll
>>>> ModLoad: 756c0000 756e9000 C:\Windows\system32\apphelp.dll
>>>> ModLoad: 75c30000 75c4e000 C:\Windows\system32\IMM32.DLL
>>>> ModLoad: 71650000 71659000 C:\Windows\system32\LPK.DLL
>>>> ModLoad: 72a30000 72aaa000 C:\Windows\system32\USP10.dll
>>>> ModLoad: 71950000 7198e000 C:\Windows\system32\uxtheme.dll
>>>> ModLoad: 10000000 1003b000 U:\MyProjects\RegTest\Debug\regtest.dll
>>>> ModLoad: 76c80000 76d10000 C:\Windows\system32\OLEAUT32.dll
>>>> ModLoad: 76b80000 76c04000 C:\Windows\system32\CLBCatQ.DLL
>>>> ModLoad: 77b00000 77b09000 C:\Windows\system32\VERSION.dll
>>>> ModLoad: 76610000 76624000 C:\Windows\system32\atl.dll
>>>> ModLoad: 73d90000 73e4c000 C:\Windows\system32\msctf.dll
>>>>
>>>>
>>>> At this point I get a popup dialog containing the following:
>>>>
>>>> "DllRegisterServer in regtest.dll failed. Return code was: 0x80020009"
>>>>
>>>> Any clues as to where I go from here.
>>>>
>>>> Thank you,
>>>> Rick
>>>>
>>>
>>>
>>
>>
>
>

news.microsoft.com
Guest
 
Posts: n/a
Reply With Quote  
Old 04-18-2006, 05:14 PM   #6 (permalink)
Default Re: DllRegisterServer

Try, going to the Start orb, All Programs, Accessories, right click on
Command Prompt and click on "Run as administrator". This may help your cause
a bit )

--
Zack Whittaker
» ZackNET Enterprises: www.zacknet.co.uk
» MSBlog on ResDev: www.msblog.org
» Vista Knowledge Base: www.vistabase.co.uk
» This mailing is provided "as is" with no warranties, and confers no
rights. All opinions expressed are those of myself unless stated so, and not
of my employer, best friend, Ghandi, my mother or my cat. Glad we cleared
that up!

--: Original message follows :--
"news.microsoft.com" <rick6@cdldata.com> wrote in message
news:%23TdM8wvYGHA.508@TK2MSFTNGP02.phx.gbl...
Quote:
> Thanks. I understood that. My point was that one dll worked and the other
> did not. It is finding my dll. I'm assuming you mean "regsvr32.exe" since
> there is no "regsvr.exe". The registration process is failing due to an
> "E_ACCESSDENIED" returned when trying to update the registry. Does anyone
> know why I get access denied and not offered a chance to elevate the
> process? Are there special rules for installations on Vista that I've
> missed?
>
> Thanks,
> Rick
>
> "Zack Whittaker" <admin@zacknet.co.uk> wrote in message
> news:ur%23KyynYGHA.4168@TK2MSFTNGP05.phx.gbl...
Quote:
>> Try > regsvr.exe (but then type in the name of the dll - if that doesn't
>> work, type in the full path of the DLL)
>>
>> ie: regsvr.exe faultyfile.dll
>> or: regsvr.exe c:/windows/faultyfile.dll
>>
>> --
>> Zack Whittaker
>> » ZackNET Enterprises: www.zacknet.co.uk
>> » MSBlog on ResDev: www.msblog.org
>> » Vista Knowledge Base: www.vistabase.co.uk
>> » This mailing is provided "as is" with no warranties, and confers no
>> rights. All opinions expressed are those of myself unless stated so, and
>> not
>> of my employer, best friend, Ghandi, my mother or my cat. Glad we cleared
>> that up!
>>
>> --: Original message follows :--
>> "news.microsoft.com" <rick6@cdldata.com> wrote in message
>> news:eDlUTrnYGHA.2376@TK2MSFTNGP03.phx.gbl...
Quote:
>>>I was able to register the softpub.dll, but still got the error trying to
>>>register the original dll. This is crazy. One works the other doesn't.
>>>
>>> "Zack Whittaker" <admin@zacknet.co.uk> wrote in message
>>> news:OuBhiYmYGHA.1764@TK2MSFTNGP05.phx.gbl...
>>>> Type in at Run> regsvr.exe softpub.dll
>>>> That might help - may need to restart.
>>>>
>>>> --
>>>> Zack Whittaker
>>>> » ZackNET Enterprises: www.zacknet.co.uk
>>>> » MSBlog on ResDev: www.msblog.org
>>>> » Vista Knowledge Base: www.vistabase.co.uk
>>>> » This mailing is provided "as is" with no warranties, and confers no
>>>> rights. All opinions expressed are those of myself unless stated so,
>>>> and not
>>>> of my employer, best friend, Ghandi, my mother or my cat. Glad we
>>>> cleared
>>>> that up!
>>>>
>>>> --: Original message follows :--
>>>> "news.microsoft.com" <rick6@cdldata.com> wrote in message
>>>> news:uoBVU7lYGHA.1228@TK2MSFTNGP02.phx.gbl...
>>>>>I have a problem registering a simple in-process COM object. The object
>>>>>registers OK on Windows XP Professional, but fails when an attempt is
>>>>>made to register it on Vista (CTP 5308). I ran the debugging tool
>>>>>"ntsd" and it produced the following output:
>>>>>
>>>>> Microsoft (R) Windows Debugger Version 6.6.0003.5
>>>>> Copyright (c) Microsoft Corporation. All rights reserved.
>>>>>
>>>>> CommandLine: regsvr32 regtest.dll
>>>>> Symbol search path is: *** Invalid ***
>>>>> ************************************************** **************************
>>>>> * Symbol loading may be unreliable without a symbol search path. *
>>>>> * Use .symfix to have the debugger choose a symbol path. *
>>>>> * After setting your symbol path, use .reload to refresh symbol
>>>>> locations. *
>>>>> ************************************************** **************************
>>>>> Executable search path is:
>>>>> ModLoad: 01000000 01007000 regsvr32.exe
>>>>> ModLoad: 77ef0000 77ff2000 ntdll.dll
>>>>> ModLoad: 77e20000 77ee8000 C:\Windows\system32\kernel32.dll
>>>>> ModLoad: 77b10000 77bb3000 C:\Windows\system32\msvcrt.dll
>>>>> ModLoad: 77d60000 77e15000 C:\Windows\system32\ADVAPI32.dll
>>>>> ModLoad: 77c10000 77cb8000 C:\Windows\system32\RPCRT4.dll
>>>>> ModLoad: 77cc0000 77d5b000 C:\Windows\system32\USER32.dll
>>>>> ModLoad: 77bc0000 77c09000 C:\Windows\system32\GDI32.dll
>>>>> ModLoad: 76d20000 76e55000 C:\Windows\system32\ole32.dll
>>>>> ModLoad: 718e0000 718fe000 C:\Windows\system32\ShimEng.dll
>>>>> ModLoad: 756c0000 756e9000 C:\Windows\system32\apphelp.dll
>>>>> ModLoad: 75c30000 75c4e000 C:\Windows\system32\IMM32.DLL
>>>>> ModLoad: 71650000 71659000 C:\Windows\system32\LPK.DLL
>>>>> ModLoad: 72a30000 72aaa000 C:\Windows\system32\USP10.dll
>>>>> ModLoad: 71950000 7198e000 C:\Windows\system32\uxtheme.dll
>>>>> ModLoad: 10000000 1003b000 U:\MyProjects\RegTest\Debug\regtest.dll
>>>>> ModLoad: 76c80000 76d10000 C:\Windows\system32\OLEAUT32.dll
>>>>> ModLoad: 76b80000 76c04000 C:\Windows\system32\CLBCatQ.DLL
>>>>> ModLoad: 77b00000 77b09000 C:\Windows\system32\VERSION.dll
>>>>> ModLoad: 76610000 76624000 C:\Windows\system32\atl.dll
>>>>> ModLoad: 73d90000 73e4c000 C:\Windows\system32\msctf.dll
>>>>>
>>>>>
>>>>> At this point I get a popup dialog containing the following:
>>>>>
>>>>> "DllRegisterServer in regtest.dll failed. Return code was: 0x80020009"
>>>>>
>>>>> Any clues as to where I go from here.
>>>>>
>>>>> Thank you,
>>>>> Rick
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>

Zack Whittaker
Guest
 
Posts: n/a
Reply With Quote  
Old 04-18-2006, 07:49 PM   #7 (permalink)
Default Re: DllRegisterServer

Yes. That works fine. Thank you. As does turning off UAP. Now, does anyone
know how to turn these things off programatically during the installation of
our products? Is there a document on this some place?

Thanks,
Rick

"Zack Whittaker" <admin@zacknet.co.uk> wrote in message
news:enuDuswYGHA.4944@TK2MSFTNGP02.phx.gbl...
Quote:
> Try, going to the Start orb, All Programs, Accessories, right click on
> Command Prompt and click on "Run as administrator". This may help your
> cause a bit )
>
> --
> Zack Whittaker
> » ZackNET Enterprises: www.zacknet.co.uk
> » MSBlog on ResDev: www.msblog.org
> » Vista Knowledge Base: www.vistabase.co.uk
> » This mailing is provided "as is" with no warranties, and confers no
> rights. All opinions expressed are those of myself unless stated so, and
> not
> of my employer, best friend, Ghandi, my mother or my cat. Glad we cleared
> that up!
>
> --: Original message follows :--
> "news.microsoft.com" <rick6@cdldata.com> wrote in message
> news:%23TdM8wvYGHA.508@TK2MSFTNGP02.phx.gbl...
Quote:
>> Thanks. I understood that. My point was that one dll worked and the other
>> did not. It is finding my dll. I'm assuming you mean "regsvr32.exe" since
>> there is no "regsvr.exe". The registration process is failing due to an
>> "E_ACCESSDENIED" returned when trying to update the registry. Does anyone
>> know why I get access denied and not offered a chance to elevate the
>> process? Are there special rules for installations on Vista that I've
>> missed?
>>
>> Thanks,
>> Rick
>>
>> "Zack Whittaker" <admin@zacknet.co.uk> wrote in message
>> news:ur%23KyynYGHA.4168@TK2MSFTNGP05.phx.gbl...
Quote:
>>> Try > regsvr.exe (but then type in the name of the dll - if that
>>> doesn't work, type in the full path of the DLL)
>>>
>>> ie: regsvr.exe faultyfile.dll
>>> or: regsvr.exe c:/windows/faultyfile.dll
>>>
>>> --
>>> Zack Whittaker
>>> » ZackNET Enterprises: www.zacknet.co.uk
>>> » MSBlog on ResDev: www.msblog.org
>>> » Vista Knowledge Base: www.vistabase.co.uk
>>> » This mailing is provided "as is" with no warranties, and confers no
>>> rights. All opinions expressed are those of myself unless stated so, and
>>> not
>>> of my employer, best friend, Ghandi, my mother or my cat. Glad we
>>> cleared
>>> that up!
>>>
>>> --: Original message follows :--
>>> "news.microsoft.com" <rick6@cdldata.com> wrote in message
>>> news:eDlUTrnYGHA.2376@TK2MSFTNGP03.phx.gbl...
>>>>I was able to register the softpub.dll, but still got the error trying
>>>>to register the original dll. This is crazy. One works the other
>>>>doesn't.
>>>>
>>>> "Zack Whittaker" <admin@zacknet.co.uk> wrote in message
>>>> news:OuBhiYmYGHA.1764@TK2MSFTNGP05.phx.gbl...
>>>>> Type in at Run> regsvr.exe softpub.dll
>>>>> That might help - may need to restart.
>>>>>
>>>>> --
>>>>> Zack Whittaker
>>>>> » ZackNET Enterprises: www.zacknet.co.uk
>>>>> » MSBlog on ResDev: www.msblog.org
>>>>> » Vista Knowledge Base: www.vistabase.co.uk
>>>>> » This mailing is provided "as is" with no warranties, and confers no
>>>>> rights. All opinions expressed are those of myself unless stated so,
>>>>> and not
>>>>> of my employer, best friend, Ghandi, my mother or my cat. Glad we
>>>>> cleared
>>>>> that up!
>>>>>
>>>>> --: Original message follows :--
>>>>> "news.microsoft.com" <rick6@cdldata.com> wrote in message
>>>>> news:uoBVU7lYGHA.1228@TK2MSFTNGP02.phx.gbl...
>>>>>>I have a problem registering a simple in-process COM object. The
>>>>>>object registers OK on Windows XP Professional, but fails when an
>>>>>>attempt is made to register it on Vista (CTP 5308). I ran the
>>>>>>debugging tool "ntsd" and it produced the following output:
>>>>>>
>>>>>> Microsoft (R) Windows Debugger Version 6.6.0003.5
>>>>>> Copyright (c) Microsoft Corporation. All rights reserved.
>>>>>>
>>>>>> CommandLine: regsvr32 regtest.dll
>>>>>> Symbol search path is: *** Invalid ***
>>>>>> ************************************************** **************************
>>>>>> * Symbol loading may be unreliable without a symbol search path. *
>>>>>> * Use .symfix to have the debugger choose a symbol path. *
>>>>>> * After setting your symbol path, use .reload to refresh symbol
>>>>>> locations. *
>>>>>> ************************************************** **************************
>>>>>> Executable search path is:
>>>>>> ModLoad: 01000000 01007000 regsvr32.exe
>>>>>> ModLoad: 77ef0000 77ff2000 ntdll.dll
>>>>>> ModLoad: 77e20000 77ee8000 C:\Windows\system32\kernel32.dll
>>>>>> ModLoad: 77b10000 77bb3000 C:\Windows\system32\msvcrt.dll
>>>>>> ModLoad: 77d60000 77e15000 C:\Windows\system32\ADVAPI32.dll
>>>>>> ModLoad: 77c10000 77cb8000 C:\Windows\system32\RPCRT4.dll
>>>>>> ModLoad: 77cc0000 77d5b000 C:\Windows\system32\USER32.dll
>>>>>> ModLoad: 77bc0000 77c09000 C:\Windows\system32\GDI32.dll
>>>>>> ModLoad: 76d20000 76e55000 C:\Windows\system32\ole32.dll
>>>>>> ModLoad: 718e0000 718fe000 C:\Windows\system32\ShimEng.dll
>>>>>> ModLoad: 756c0000 756e9000 C:\Windows\system32\apphelp.dll
>>>>>> ModLoad: 75c30000 75c4e000 C:\Windows\system32\IMM32.DLL
>>>>>> ModLoad: 71650000 71659000 C:\Windows\system32\LPK.DLL
>>>>>> ModLoad: 72a30000 72aaa000 C:\Windows\system32\USP10.dll
>>>>>> ModLoad: 71950000 7198e000 C:\Windows\system32\uxtheme.dll
>>>>>> ModLoad: 10000000 1003b000 U:\MyProjects\RegTest\Debug\regtest.dll
>>>>>> ModLoad: 76c80000 76d10000 C:\Windows\system32\OLEAUT32.dll
>>>>>> ModLoad: 76b80000 76c04000 C:\Windows\system32\CLBCatQ.DLL
>>>>>> ModLoad: 77b00000 77b09000 C:\Windows\system32\VERSION.dll
>>>>>> ModLoad: 76610000 76624000 C:\Windows\system32\atl.dll
>>>>>> ModLoad: 73d90000 73e4c000 C:\Windows\system32\msctf.dll
>>>>>>
>>>>>>
>>>>>> At this point I get a popup dialog containing the following:
>>>>>>
>>>>>> "DllRegisterServer in regtest.dll failed. Return code was:
>>>>>> 0x80020009"
>>>>>>
>>>>>> Any clues as to where I go from here.
>>>>>>
>>>>>> Thank you,
>>>>>> Rick
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>

Rick Lemons
Guest
 
Posts: n/a
Reply With Quote  
Old 04-19-2006, 02:53 AM   #8 (permalink)
Default Re: DllRegisterServer

You can manifest a file so that it can run elevated (prompts with the allow)
or you can have an MSI regserv the file during install which you can also
get Windows Vista to elevate.


Josh


"Rick Lemons" <rick6@cdldata.com> wrote in message
news:%23p3roEyYGHA.4168@TK2MSFTNGP05.phx.gbl...
Quote:
> Yes. That works fine. Thank you. As does turning off UAP. Now, does anyone
> know how to turn these things off programatically during the installation
> of our products? Is there a document on this some place?
>
> Thanks,
> Rick
>
> "Zack Whittaker" <admin@zacknet.co.uk> wrote in message
> news:enuDuswYGHA.4944@TK2MSFTNGP02.phx.gbl...
Quote:
>> Try, going to the Start orb, All Programs, Accessories, right click on
>> Command Prompt and click on "Run as administrator". This may help your
>> cause a bit )
>>
>> --
>> Zack Whittaker
>> » ZackNET Enterprises: www.zacknet.co.uk
>> » MSBlog on ResDev: www.msblog.org
>> » Vista Knowledge Base: www.vistabase.co.uk
>> » This mailing is provided "as is" with no warranties, and confers no
>> rights. All opinions expressed are those of myself unless stated so, and
>> not
>> of my employer, best friend, Ghandi, my mother or my cat. Glad we cleared
>> that up!
>>
>> --: Original message follows :--
>> "news.microsoft.com" <rick6@cdldata.com> wrote in message
>> news:%23TdM8wvYGHA.508@TK2MSFTNGP02.phx.gbl...
Quote:
>>> Thanks. I understood that. My point was that one dll worked and the
>>> other did not. It is finding my dll. I'm assuming you mean
>>> "regsvr32.exe" since there is no "regsvr.exe". The registration process
>>> is failing due to an "E_ACCESSDENIED" returned when trying to update the
>>> registry. Does anyone know why I get access denied and not offered a
>>> chance to elevate the process? Are there special rules for installations
>>> on Vista that I've missed?
>>>
>>> Thanks,
>>> Rick
>>>
>>> "Zack Whittaker" <admin@zacknet.co.uk> wrote in message
>>> news:ur%23KyynYGHA.4168@TK2MSFTNGP05.phx.gbl...
>>>> Try > regsvr.exe (but then type in the name of the dll - if that
>>>> doesn't work, type in the full path of the DLL)
>>>>
>>>> ie: regsvr.exe faultyfile.dll
>>>> or: regsvr.exe c:/windows/faultyfile.dll
>>>>
>>>> --
>>>> Zack Whittaker
>>>> » ZackNET Enterprises: www.zacknet.co.uk
>>>> » MSBlog on ResDev: www.msblog.org
>>>> » Vista Knowledge Base: www.vistabase.co.uk
>>>> » This mailing is provided "as is" with no warranties, and confers no
>>>> rights. All opinions expressed are those of myself unless stated so,
>>>> and not
>>>> of my employer, best friend, Ghandi, my mother or my cat. Glad we
>>>> cleared
>>>> that up!
>>>>
>>>> --: Original message follows :--
>>>> "news.microsoft.com" <rick6@cdldata.com> wrote in message
>>>> news:eDlUTrnYGHA.2376@TK2MSFTNGP03.phx.gbl...
>>>>>I was able to register the softpub.dll, but still got the error trying
>>>>>to register the original dll. This is crazy. One works the other
>>>>>doesn't.
>>>>>
>>>>> "Zack Whittaker" <admin@zacknet.co.uk> wrote in message
>>>>> news:OuBhiYmYGHA.1764@TK2MSFTNGP05.phx.gbl...
>>>>>> Type in at Run> regsvr.exe softpub.dll
>>>>>> That might help - may need to restart.
>>>>>>
>>>>>> --
>>>>>> Zack Whittaker
>>>>>> » ZackNET Enterprises: www.zacknet.co.uk
>>>>>> » MSBlog on ResDev: www.msblog.org
>>>>>> » Vista Knowledge Base: www.vistabase.co.uk
>>>>>> » This mailing is provided "as is" with no warranties, and confers no
>>>>>> rights. All opinions expressed are those of myself unless stated so,
>>>>>> and not
>>>>>> of my employer, best friend, Ghandi, my mother or my cat. Glad we
>>>>>> cleared
>>>>>> that up!
>>>>>>
>>>>>> --: Original message follows :--
>>>>>> "news.microsoft.com" <rick6@cdldata.com> wrote in message
>>>>>> news:uoBVU7lYGHA.1228@TK2MSFTNGP02.phx.gbl...
>>>>>>>I have a problem registering a simple in-process COM object. The
>>>>>>>object registers OK on Windows XP Professional, but fails when an
>>>>>>>attempt is made to register it on Vista (CTP 5308). I ran the
>>>>>>>debugging tool "ntsd" and it produced the following output:
>>>>>>>
>>>>>>> Microsoft (R) Windows Debugger Version 6.6.0003.5
>>>>>>> Copyright (c) Microsoft Corporation. All rights reserved.
>>>>>>>
>>>>>>> CommandLine: regsvr32 regtest.dll
>>>>>>> Symbol search path is: *** Invalid ***
>>>>>>> ************************************************** **************************
>>>>>>> * Symbol loading may be unreliable without a symbol search path. *
>>>>>>> * Use .symfix to have the debugger choose a symbol path. *
>>>>>>> * After setting your symbol path, use .reload to refresh symbol
>>>>>>> locations. *
>>>>>>> ************************************************** **************************
>>>>>>> Executable search path is:
>>>>>>> ModLoad: 01000000 01007000 regsvr32.exe
>>>>>>> ModLoad: 77ef0000 77ff2000 ntdll.dll
>>>>>>> ModLoad: 77e20000 77ee8000 C:\Windows\system32\kernel32.dll
>>>>>>> ModLoad: 77b10000 77bb3000 C:\Windows\system32\msvcrt.dll
>>>>>>> ModLoad: 77d60000 77e15000 C:\Windows\system32\ADVAPI32.dll
>>>>>>> ModLoad: 77c10000 77cb8000 C:\Windows\system32\RPCRT4.dll
>>>>>>> ModLoad: 77cc0000 77d5b000 C:\Windows\system32\USER32.dll
>>>>>>> ModLoad: 77bc0000 77c09000 C:\Windows\system32\GDI32.dll
>>>>>>> ModLoad: 76d20000 76e55000 C:\Windows\system32\ole32.dll
>>>>>>> ModLoad: 718e0000 718fe000 C:\Windows\system32\ShimEng.dll
>>>>>>> ModLoad: 756c0000 756e9000 C:\Windows\system32\apphelp.dll
>>>>>>> ModLoad: 75c30000 75c4e000 C:\Windows\system32\IMM32.DLL
>>>>>>> ModLoad: 71650000 71659000 C:\Windows\system32\LPK.DLL
>>>>>>> ModLoad: 72a30000 72aaa000 C:\Windows\system32\USP10.dll
>>>>>>> ModLoad: 71950000 7198e000 C:\Windows\system32\uxtheme.dll
>>>>>>> ModLoad: 10000000 1003b000 U:\MyProjects\RegTest\Debug\regtest.dll
>>>>>>> ModLoad: 76c80000 76d10000 C:\Windows\system32\OLEAUT32.dll
>>>>>>> ModLoad: 76b80000 76c04000 C:\Windows\system32\CLBCatQ.DLL
>>>>>>> ModLoad: 77b00000 77b09000 C:\Windows\system32\VERSION.dll
>>>>>>> ModLoad: 76610000 76624000 C:\Windows\system32\atl.dll
>>>>>>> ModLoad: 73d90000 73e4c000 C:\Windows\system32\msctf.dll
>>>>>>>
>>>>>>>
>>>>>>> At this point I get a popup dialog containing the following:
>>>>>>>
>>>>>>> "DllRegisterServer in regtest.dll failed. Return code was:
>>>>>>> 0x80020009"
>>>>>>>
>>>>>>> Any clues as to where I go from here.
>>>>>>>
>>>>>>> Thank you,
>>>>>>> Rick
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>

Josh
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:12 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48