Monday 6 July 2009

unrecognized configuration section 'connectionstrings'

When hosting a website in IIS you may get the error below when trying to view the page in IE.

unrecognized configuration section 'connectionstrings'

One of the reasons for this maybe because in IIS, the website is configured as a .Net 1.1 application rather than .Net 2.0, to fix this, right click on the website application in IIS and choose properties and click on the ASP.Net tab and choose the ASP.Net version to be 2.0!

No comments: