Change the IIS Framework Version

Source: Internet
Author: User

Changing the Framework version requires a restart of the W3SVC service. Alternatively, you can change the Framework version without restarting the W3SVC service by running: aspnet_regiis.exe-norestart-s IIS-Viirtual-Path
Do you want to continue (this will change the Framework version and restart the W3SVC service )?

Multiple frameworks coexist on the computer. When you build a site, select the asp.net version. The above prompt is displayed.

 

Solution:

Open C:/WINDOWS/system32/inetsrv

MetaBase. xml

Find your iis directory name.

My "default website" gets

/LM/W3SVC/14616328120FALSE: 8080:Default website"/>

Cmd input: C:/WINDOWS/Microsoft. NET/Framework/v2.0.50727/aspnet_regiis.exe-norestart-s W3SVC/1461632812/Root

Restart IIS

In addition, in some cases, the default IIS website is deleted and the "default website" node cannot be found in MetaBase. xml.

Try it.

C:/WINDOWS/Microsoft. NET/Framework/v4.0.30319/aspnet_regiis.exe-norestart-s W3SVC

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.