I am trying to encrypt a web.config file using the following command i am getting the error like below:
"Illegal characters in path"
aspnet_regiis.exe -pef "connection
Strings" "D:\Password Encryption\DPAPITestWeb\DPAPITestWeb\" prov "DataProtection
ConfigurationProvider"
web.config section has been provided below :
<connectionStrings>
<add name="Connection"
connectionString="Data Source=clsql.mgt.com;Initial Catalog=Proj_Report;user id=webuser;password=dian87;" />
</connectionStrings>
could encrypt this in different machine. But only this issue arrises on my machine