ASP.Net: Ampersands in Web.Config

February 1, 2006

I recently had to store some values in a web.config file that contained ampersands (&). This didn’t work, causing a runtime error. (I’m guessing a more detailed error wasnt available as the web.config file wasnt parsed, meaning the value of the customerrors node was unknown?).

To fix this, I had to escape the ampersands, meaning & becomes &

Advertisements

One Response to “ASP.Net: Ampersands in Web.Config”

  1. lucyprehiem6059503836 said

    Get any Desired College Degree, In less then 2 weeks.

    Call this number now 24 hours a day 7 days a week (413) 208-3069

    Get these Degrees NOW!!!

    “BA”, “BSc”, “MA”, “MSc”, “MBA”, “PHD”,

    Get everything within 2 weeks.
    100% verifiable, this is a real deal

    Act now you owe it to your future.

    (413) 208-3069 call now 24 hours a day, 7 days a week.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: