ASPNET_SETREG and Framework 1.1

From: Gerald Trainer (gerry_trainer_at_1iiespam1npd.com)
Date: 03/29/04


Date: Mon, 29 Mar 2004 15:53:35 -0500

I am trying to create an account that my app will use for impersonation. I
used aspnet_setreg.exe to create the encrypted values for username and
password, and set my <impersonate> tag accordingly. I have also
(temporarily) given my asp.net service account local admin access.

I still get "error reading the password from the registry."

Regmon shows that the registry values are being queried.

I did notice that the aspnet_setreg.exe was version 1.0.3705, and I am
running version 1.1 of the framework. Can this version be used for 1.1? If
not, where can I find the version that can? If so, what am I doing wrong?

Any insight is appreciated.

Gerald Trainer
The NPD Group, Inc.



Relevant Pages

  • Re: Using ImpersonateLoggedOnUser
    ... that process will run under the worker process account. ... > service in order to perform impersonation for the purposes ... > does not have access to printers (unless the registry is ... If the registry is modified to ...
    (microsoft.public.dotnet.framework)
  • Re: ASP.Net Running Under IIS 6 Application Pool
    ... If impersonation is not enabled, ... What account do you expect to see used instead? ... > context of a specific security account. ... > accesses a value from the registry. ...
    (microsoft.public.dotnet.security)
  • Re: ASPNET account and Domain Controller
    ... access to the registry keys. ... KB article has a mistype on the account name by the way. ... If you are able to get your impersonation to work help me out. ... > impersonate the required network user. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: ASPNET account and Domain Controller
    ... access to the registry keys. ... KB article has a mistype on the account name by the way. ... If you are able to get your impersonation to work help me out. ... > impersonate the required network user. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: showing all SIDs in registry ? (including hidden SIDs)
    ... after I delete an account and I try to add a new account I get a message ... that username already exists." ... > registry. ... >> If you really want to take the chance, do a full system state backup ...
    (microsoft.public.windowsxp.security_admin)