Asp.Net connection string bug

This is clearly a bug.

I have been using the connection manager class.

If you use an instance db then the database name part of the connection string is of the form:

ServerInstance

However if you leave this as this in the web.config this is returned as Server\Instance which is correctly identified as an invalid connection string.

You need to record this as Server\Instance so that it will return the result ServerInstance.

Why should an xml based config tool start escaping data that is entirely valid xml?

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 )

Connecting to %s