configProtectedData>
<providers>
<add keyContainerName="ShyjuMohanKeys"
useMachineContainer="true"
description="RsaCryptoServiceProvider for encryption and decryption"
name="MyCustomProvider" type="System.Configuration.RsaProtectedConfigurationProvider,System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</configProtectedData>
In webcon fig File.
Start->Allprograms->Microsoft .Net framework SDK V2.0->SDK Command prompt).Type the following
aspnet_regiis -pc "ShyjuMohanKeys" -exp
aspnet_regiis -pe "connectionStrings" -app "/MywebApplication" -prov "MyCustomProvider"