Illegal characters in path

Posted by Smartestvega under IIS on 2/24/2012 | Points: 10 | Views : 3532 | Status : [Member] | Replies : 3
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




Responses

Posted by: Blessyjees on: 2/24/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,

check the IIS version of both machine.

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Smartestvega, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Smartestvega on: 2/24/2012 [Member] Starter | Points: 25

Up
0
Down
Version 5.1 its working
Version 6.0 NOT working!

Smartestvega, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Smartestvega on: 2/24/2012 [Member] Starter | Points: 25

Up
0
Down
I got an article , does it says IIS 6.0 cannot encrypt and IIS 5.1 Can encrypt?

http://www.guidanceshare.com/wiki/ASP.NET_2.0_Security_Practices_-_Configuration


Actually this is happening ..My machine is 6.0 its NOT working and 5.1 is working.

Smartestvega, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response