Thanks Mark for the information, sorry if my query mislead you. I'd done the
encryption part: the username and password are encrypted and stored in the
registry with the tool "aspnet_setreg"
(
http://support.microsoft.com/default...b;en-us;329290) and those
can be retrieved by stating the following entry in the web.config file:
<identity impersonate="true"
userName="registry:HKLM\Software\DummyApplication\ Identity\ASPNET_SETREG,use
rName"
password="registry:HKLM\Software\DummyApplication\ Identity\ASPNET_SETREG,pas
sword" />
I follow the procedures exactly but the browser returns the following error:
***
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.
Parser Error Message: Error reading the password from the registry.
Source Error:
Line 83: <globalization requestEncoding="utf-8" responseEncoding="utf-8"
/>
Line 84:
Line 85: <identity impersonate="true"
userName="registry:HKLM\Software\DummyApplication\ Identity\ASPNET_SETREG,use
rName"
password="registry:HKLM\Software\DummyApplication\ Identity\ASPNET_SETREG,pas
sword" />
Line 86: </system.web>
Source File: c:\inetpub\wwwroot\Encryption\web.config Line: 85
----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
***
I'd given the "aspnet" account the permission to read the entries, just
don't know what the error exactly means.
Samuel