I have a connection string in my web.config that includes a password with a% symbol, as shown below
<add name="ConnectionName" providerName="System.Data.SqlClient" connectionString="server=ServerName;database=DatabaseName; uid=UserName;password=abcde%F9abcd;" />
Locally, in VS2013, the connection string works fine, but when publishing to IIS8 web server through VS2013 and Web Deploy, something in this process controls the XML and changes the password section of the string as follows:
password=abcdeùabcd
Thus, it turns %F9 into ù (Unicode conversion).
I tried to encode% to  that does not solve the problem.
Is the problem a problem that I can solve, either with some way or with configuring? Unfortunately, I can’t control the password itself, it is provided by a third party.
Alex.Ritna
source share