Problem while encrypting sessionState
-
I am encrypting the web.config using RSA technique, and using aspnet_regiis command to do this. I successfully encrypted the <connectionstrings> and <appsettings> tags. However I got the following error while encrypting the <sessionstate> tag:-
The configuration section 'sessionState' was not found.
Failed!The command that I used is:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -pe "sessionState" -app "/LiveOne" -prov "LOProvider"
Kindly tell me a successful way to do this. -
I am encrypting the web.config using RSA technique, and using aspnet_regiis command to do this. I successfully encrypted the <connectionstrings> and <appsettings> tags. However I got the following error while encrypting the <sessionstate> tag:-
The configuration section 'sessionState' was not found.
Failed!The command that I used is:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -pe "sessionState" -app "/LiveOne" -prov "LOProvider"
Kindly tell me a successful way to do this.Encryption is used to encrypt sections - not individual tags. Why you would want to encrypt the sessionState tag is beyond me.
Deja View - the feeling that you've seen this post before.