Win7 Installing IIS and publishing the Web site to IIS

Source: Internet
Author: User

This article was reproduced from: http://blog.csdn.net/qizhichao110/article/details/8164116

1. WIN7 Install IIS: Control Panel----programs and features-----turn Windows features on or off,

Expand Internet Information Services, select it as you like, and then click OK to wait a few minutes to install

2. Registering IIS

Because we are installed first VS, after installing IIS, so need to register IIS into VS (for specific reasons can be checked online, or we will later, but I still hope that you find the answer), the specific method is as follows:

Enter "CMD" in the Run, enter the DOS interface

Enter the following command: CD C:\Windows\Microsoft.NET\Framework\v4.0.30319, hit Enter,

The above command means to go to the C:\Windows\Microsoft.NET\Framework\v4.0.30319 directory, and then run the program with the name Aspnet_regiis.exe, as shown in the code

Then flush IIS, restart the IIS command for IISRESET (the command to stop IIS is iisreset/stop, the command to start IIS is Iisreset/start), to register IIS successfully

Note: The reason why the use of aspnet_regiis.exe–i, rather than directly run aspnet_regiis.exe, is because the role of the two different, aspnet_regiis.exe can be followed in addition to I, but also with other parameters, The following commands can be used to see which parameters are followed by Asp.net_regiis.exe

Win7 Installing IIS and publishing the Web site to IIS

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.