Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot decrypt Connection String after encryption

Status
Not open for further replies.

sirnose1

Programmer
Nov 1, 2005
133
US
I used the command line tool to encrypt a connection string using the command:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -pef "connectionStrings" C:\inetpub\CIUI_Test_09052013 -prov "RsaProtectedConfigurationProvider"

This worked fine. However on decryption I used:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -pdf
"connectionStrings" -app "C:\inetpub\CIUI_Test_09052013"

Using -pd instead of -pdf didn't help. The encryption/decryption is all done on the server. Why is my decryption failing? Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top