Click here to Skip to main content
15,890,186 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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


What I have tried:

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"
Posted
Updated 19-Sep-17 23:44pm
v2

1 solution

Hi,
This Link is helpful to you

https://www.codeproject.com/Tips/877258/How-to-Encrypt-Web-config-Using-aspnet-regiis-exe
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900