Code Project

Link Unit

Tuesday, October 23, 2007

Unrecongnised Section ConnectionStrings

When one of my client was deploying the web application he faced this issue. The following Steps helped me. Hope they help you too.

By default, when you create a website in IIS, the framework is 1.1

ASP.NET has introduced the new section in the web.config which will not be recognized in the .NET 1.1 framework.

1) Open IIS and browse to the website under computer_name > Web Sites > Default Web Site > website_name.
Where website_name is the actual name of the website, in this case the MySite website.
2) Right click website_name.
3) Click Properties.
4) Click the ASP.NET Tab
5) From the ASP.NET Version dropdown, select 2.0... version and Click OK.
Now, if you visit your application main page, it should work !

No comments: