set asp.net version using aspnet_regiis

July 15, 2010 at 6:32 PMdsoltesz

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).

  1. 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.
  2.  

  3. Verify the version of .Net configured for the different web sites by running aspnet_regiis –lk 
  4.  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.

 

Posted in: .NET

Tags: ,

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading