Running Web Site Projects as non-administrator on Vista and Visual Studio 2008 throws an exception
The OpenWebConfiguration method exhibits problems in VS2008 that were not seen in VS2005 in most scenarios.
Basically, in a Web Site project (Web Application projects are fine), this method does not work well (or at all, really) in the development web server.
There are two workarounds:
- Run VS2008 as an Administrator.
- Use Web Application Projects.