Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I set the password that contains quotation mark to a connection string in an ASP.NET application?


Password: This"Is"Password

In connection string: This""Is""Password

share|improve this question
Make your life easier by changing that password. – John Gardeniers Apr 15 '10 at 21:53

Great resource for Connection Strings

share|improve this answer

Encode it as a


That's how " are encoded in XML.

Let me know if it works :-)

Here is a link.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.