S
-Steve-
I've encrypted the appsettings in my web.config file using the following
command:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe -pe
"appSettings
" -app "/passwordReset"
Once I do that though my webapp can no longer read the values out of the
web.config file. I'm retrieving the values using
System.Configuration.ConfigurationManager.AppSettings[value]. Shouldn't
asp.net 2.0 decrypt the values on the fly? Do I need to be doing somethign
else?
Also if I run aspnet_regiis.exe -pd . . . it decrypts my web.config file
just fine and everything works as it should.
Steve Evans
command:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe -pe
"appSettings
" -app "/passwordReset"
Once I do that though my webapp can no longer read the values out of the
web.config file. I'm retrieving the values using
System.Configuration.ConfigurationManager.AppSettings[value]. Shouldn't
asp.net 2.0 decrypt the values on the fly? Do I need to be doing somethign
else?
Also if I run aspnet_regiis.exe -pd . . . it decrypts my web.config file
just fine and everything works as it should.
Steve Evans