Raja

Raja

  • NA
  • 1.7k
  • 40.7k

How to encrypt the web config file?

Sep 20 2017 2:44 AM
I have use command prompt command for encrypt the web config but its shows below error
'C:\Windows\Microsoft.NET\Framework\v2.0.50727' is not recognized as an internal or external command, operable program or batch file.
 
And i will change the framework path also
 
C:\Windows\Microsoft.NET\Framework\v3.5
C:\Windows\Microsoft.NET\Framework\v4.0.30319
 
I have used the below command
 
C:\Users\Administrator>C:\Windows\Microsoft.NET\Framework\v2.0.50727>ASPNET_REGIIS -pef "connectionStrings" "D:\Client_Live_04082017\Web" -prov "DataProtectionConfigurationProvider"

Answers (1)