set asp.net version using aspnet_regiis
July 15, 2010 at 6:32 PM
—
dsoltesz
I ran into a issue when trying to set a web site to use a specific .NET framework version when ASP.NET tab does not appear in IIS. (Note: this only happens on 64 bit windows 2003 server running iis in 32 bit mode).
- Open IIS and click on the web sites folder to get the Identifier for the web site where you want set the version of the .Net framework.

- Verify the version of .Net configured for the different web sites by running aspnet_regiis –lk
- Set the framework version for the site by running aspnet_regiis –sn <PATH> where <PATH> is the path to the web site you wish to configure.
Example: aspnet_regiis – sn w3svc/75913688/root/
IMPORTANT: You must run the version of aspnet_regiis associated to the version of the .Net framework you wish to register the site to use. There is a copy of the utility in the folder for each version of the framework.

634d2d4d-043f-4424-b236-83b844b37364|0|.0
Posted in: .NET
Tags: asp.net, iis