Posted on: 6/3/2014 7:40:13 PM | Views : 476

Trying to encrypt my connectionstrings.
My site uses Integrated Authentication (Active Directory)- not that it matters, but the STUPID Aspnet_regiis.exe program can't seem to accept a FILENAME, as a parameter, it needs either the IIS ID (i.e. "3") or the APPLICATION NAME, which doesn't seem to exist unless you add ASPNET Forms Authentication to your site.
How do I set the APPLICATION NAME on my web site? 
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Aspnet_regiis.exe -pe "connectionStrings" -app "/EncryptTest" This gives...
P:\WebSites\encrypt>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Aspnet_regiis.exe -pe "connectionStrings" -app "/EncryptTest" Microsoft (R) ASP.NET RegIIS version 4.0.30319.18408 Administration utility to install and uninstall ASP.NET on the local machine. Copyright (C) Microsoft Corporation. All rights reser ...

Go to the complete details ...