I am getting an error in IIS7.5 when I use an & in a string value on my local dev machine. The line in question is like this:
<add key="connDB" value="Driver={MySQL ODBC 3.51 Driver};Server=localhost;Database=dbname;uid=root;pwd=kj&sxyt!jk;" />
The & in the password is causing issues "Configuration file is not well-formed XML". I've tried single quotes '' and double-double quotes """" around the password to no avail.
The file is encoded as UTF8. I've tried it as ANSI aswell.
Any other suggestions?