i want to encrypt the connectionstring section of my web.config. i have tried to do this by following the below steps:
- Open Developer Command Prompt for VS2013
- aspnet_regiis -pef "connectionStrings" -app "/E:\New folder\WebApplication1\WebApplication1"
it is thorwing me error "a configuration file cannot be created for the requested configuration object. failed"
I did some google but i am not able to get why i am facing this. i have tried to change the permissions of website folder?
do i need to set the website in IIS? please help me to solve this issue.
thanks in advance.