I have encryted the connection string of several web site, two of them are working bit not others. All the web sites are on the same server.
On command prompt I have
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe -pef "connection
Strings" "C:\web80\TestWebApp1\"
Encrypting configuration section...
Succeeded!
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe -pef "connection
Strings" "C:\web80\TestServer\TestWebApp2"
Encrypting configuration section...
Succeeded!
<div>
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe -pef "connection
Strings" "C:\web80\TestWebApp2"
Encrypting configuration section...
Succeeded!
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 ...
Go to the complete details ...