How to install ASP.NET version for virtual directory using IIS Manager 7.0?

In the old version of IIS Manager, I could just right-click on the VD properties, hit, and then on the ASP.NET tab select the version of ASP.NET that I wanted to run. Does anyone know if this is possible? I am running an instance of localhost IIS on my Vista window, and I'm not used to the new user interface that IIS 7 ships with.

+4
source share
3 answers

You need to change the application pool - ASP.NET is installed at the application pool level.

Left-click the virtual directory in IIS Manager, then click "Advanced Settings" in the right corner of the screen. The application pool is at the top of the list.

If you need, you can add a new application pool by right-clicking the "application pools" icon in the left pane and selecting "Add application pool"

+8
source

IIS7 has two options on a "website". In IIS6, you added a sub-application as "Add a virtual directory ..." in IIS7, which forces you to support the same AppPool and, therefore, the version of the .NET framework as a website.

But IIS7 now has the "Add Application ..." option, which allows you to substantially accomplish what IIS6 allowed, so that you can explicitly tell AppPool to run and may differ from the parent site.

+5
source

In IIS7, the version of ASP.NET is specified in the application pool (which is then used by your web application). Here is a screenshot of the dialog here:

http://www.stolenbit.com/2008/10/select-aspnet-version-in-iis-7.html

+2
source

All Articles