Disclaimer: didn't read the whole thread but want to answer to Sven's original question.

I usally store this stuff into the database (single row) if it is the same for ALL users who use the system - independent on which PC they sign in. Otherwise it's going directly to the config file.

For ASP.NET I usually use the config file too because it's also the same for all the visitors.