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.