Problems caused by the installation order of IIS and the. NET Framework 4.0 (re-register. NET 4.0) _win Server

Source: Internet
Author: User

After installing the 64-bit Win7, install vs Reload IIS, resulting in IIS with the. NET4.0, but the program is always not running, and finally think it may be because 4.0 is not registered to IIS, because before in the Win2003 encountered a similar situation. Final successful solution, summary: Under win7 If you install vs2010 after installing the Microsoft. NET Framework 4, you must register IIS before you can use it.
With my installation command bar:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe-i

Windows7 Install IIS (the framework has been installed first)

Register IIS:

1, the command line (WINDOWS+R) input CD C:\Windows\Microsoft.NET\Framework\v4.0.30319 (the last version you registered, you can be another version, I use the VS2010, registered version 4) after the return ( CMD must be opened as manager

2, and then enter aspnet_regiis in the command line/? Rear carriage return

3, then enter the Aspnet_regiis-i after the return

4, display asp.net<4.0.30319> after installation, restart IIS (that is, re-open the Internet Information Services (IIS) Manager in Administrative Tools)

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.