An ASP.NET Blog
I work for Microsoft and help people and businesses make better use of technolgy to realize their full potential. The opinions mentioned herein are solely mine and do not reflect those of my employer.

ASP.NET 2.0 - Website Configuration Management from IIS

Thursday, February 23, 2006 8:52 AM
Many of us are aware that ASP.NET 2.0 provides a Website Administration Tool from where we can manage the settings for the web application.

However, we can also manage the website settings from the IIS - Virtual directory settings.

Steps

1. Click "Start" and select "Run"

2. Type "inetmgr" and press "Ok" or Hit "Enter"

3. IIS Control Panel Opens.

4. Expand the appropriate nodes to navigate to the Virtual directory of your application.

5. Select the Virtual Directory and Right Click and select "Properties".

6. You will notice that there is a New "ASP.NET" Tab. This Tab features once you install the .NET Framework 2.0.

7. Switch to the "ASP.NET" Tab.

8. There is a Version selector from which you can select the version you would like to use for your application. However, since we are dealing with ASP.NET 2.0, we will leave it to the default one that would be selected i.e. 2.0.50727. We can change it if its showing a older version.

9. Also, there is an "Edit Configuration" button in the bottom in the same Tab.

10. Clicking on it will open up the ASP.NET Configuration Settings for that application.

We can "Add", "Edit", "Remove" and "Reset" the setttings. We can manage as many settings as Authentication, Authorization, Session State, Custom Errors etc., from this Utility.

This would be very useful when we deploy our applications and would like to change the settings over the deployment environment.

Cheers and Happy Programming !!!

Feedback

# re: ASP.NET 2.0 - Website Configuration Management from IIS

Any idea on how to set the ASP.NET Version programatically from code? 3/3/2006 3:43 PM | KS

# re: ASP.NET 2.0 - Website Configuration Management from IIS

Hi, i did all this thing but after that i am getting error "Server Application Unabliable"

5/5/2006 8:24 AM | Manish

# re: ASP.NET 2.0 - Website Configuration Management from IIS

most intellegent,prudent and sexiest help in connection with dot net 2.0.I went through scores of sites but everyone got into technical depth ignoring the begining issues. 6/15/2008 7:07 PM | mohit

Post a comment





 

Please add 5 and 1 and type the answer here: