Saturday, August 6, 2011

Changing the database connection string in Sitefinity v. 4.x

In Sitefinity v. 4.x, the database connection string is no longer stored beneath the <connectionStrings> element in the Web.config file.  Instead, the connection string information is stored in a new configuration file called DataConfig.config.

Fortunately, with some minor changes you can also modify the connection string information to once again utilize it from the Web.config file.

You can find detailed instructions about the new database connection string format here:
http://www.sitefinity.com/devnet/forums/sitefinity-4-x/developing-with-sitefinity/web-config-transformations.aspx

No comments:

Post a Comment