Do not reboot IIS to modify the. NET Framework version
When you create a new Web site or virtual directory on the server, you will be prompted to restart IIS if you need to find a version of this. NET (it is strange that local can be modified directly).
If you restart, the site will be temporarily inaccessible.
You can use the following methods to not restart IIS to modify the Dotnet framework version
1. Switch to. NET directory like:c:\windows\microsoft.net\framework\v4.0.30128> in cmd
Find this directory, under DOS, into this directory and run Aspnet_regiis.exe-i. Used to be a 32BIT system, with the above command nothing. But the 64BIT system, No. Error Tip: This error indicates that IIS is 64-bit mode and this application is a 32-bit application and is therefore incompatible
64-bit in this directory, C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727
2. Run command: aspnet_regiis.exe-norestart-s w3svc/number
Item No: Right-click on a Web site or virtual directory in IIS → all tasks → save configuration to a file where a path is found: "w3svc/997936427" Note: Virtual directory continues to the virtual directory name