How to change .NET framework version without restarting IIS
When we want to change the .NET Framework version for an existing site, IIS will display a warning message saying it will restart the W3SVC service. We may not want to do this, as it will stop other websites running in IIS. Below is Step By Step instruction to change the .NET framework version without restarting the W3SVC service. Step 1 : In IIS navigate to the website (which requires change in .net framework version) Step 2 : Right click on the site and select All Tasks> Save Configuration to a File and save the configuration to a file. Step 3 : Open the configuration file and look for the IISWebServer tag which contains the siteid. Below is a sample line in the configuration file: IISWebServer Location ="/LM/W3SVC/1890249283" the number 1890249281 is the site id. Step 4 : Navigate to C:\windows\microsoft.net\Framework\<new framework version>\ for example if you want to switch the site to .NET Framework 4.0 then navigate to the 4.0 framework folder f...