Re: Problem reading encrypted credentials from registry
From: Microsoft Newsgroups (afroio_at_cmins.com)
Date: Tue, 8 Jun 2004 10:47:53 -0700
I'm getting the same error. I have it working fine on a Windows 2000
server, but I get the same error Matthew does when I do the same thing on
"Matthew" <mhiklem(at)mimh(dot)edu> wrote in message
> ----- David Coe, MCP wrote: -----
> The user that you are running ASP.NET as (ASPNET, or some customer
user) will need to have access to the registry to read it.
> I am running IIS 6 and Server 2003 so I set the "NETWORK SERVICES" account
to have read access (I also tried full access). I checked the processes and
ASPNET was not running but I tried ASPNET as well (with both read and full
access) and the same error. I also tried to give permissions to all of the
users of the running processes and still had the same error. I tried
anonomous as well and still the same error.
> Below is the system.web section of my web.config file. If I comment out
the identity section it works correctly. When it is not commented out the
error message also points directly to the line that begins the identity
section so that seems to be the problem.
> Do I need to set permissions in some place other than the registry? What
else do you suggest?
> Thanks, Matthew
> <system.web><compilation defaultLanguage="vb" debug="true" /><customErrors
mode="RemoteOnly" /><authentication mode="Windows" /><identity
_SETREG,password" /><authorization><allow users="*" /><!-- Allow all
users --></authorization><trace enabled="false" requestLimit="10"
pageOutput="false" traceMode="SortByTime" localOnly="true" /><sessionState
> /><globalization requestEncoding="utf-8" responseEncoding="utf-8" /