This article describes how to install iis7 in Windows 7, how to configure iis7 during installation, and how to configure ASP in iis7.
How to install iis7 in Windows 7:
1. Go to the control panel of Windows 7 and select enable or disable windows on the left.
2. You can see the WINDOWS function interface. Pay attention to the selected project and select the desired function as needed. The following picture shows that all services to be installed have been selected, you can follow the instructions in the image to enable the desired function. The unspecified check box is required or the default installation item.
3. After installation, go to the control panel again, select management tools, and double-click the Internet (IIS) Manager option to go to IIS settings.
4. Now go to the iis7 control panel.
5. Select default web site and double-click the ASP option,
6. Configure the iis7 site.
Select computer name (CIBILL-PC in the figure) → site → default web site, double-click ASP, configure the ASP module as follows :( this step is not necessary)
1) to ensure the normal operation of some ASP programs that use the parent path, we set the Enable parent path option to true.
Location: behavior → enable parent path → true
NOTE: If your website does not use the parent path, this operation can be omitted.
2) To facilitate debugging, we also need to enable two debugging options.
Location: Debug → send error to browser → true
Debug → enable server debugging → true
Debug → enable client debug → true
Note:This feature must be enabled only during development and debugging.
3. If you need to bind a domain name or modify the port used by the website, click "Bind..." on the right to set it.
4. The default physical path of the website is "C:/inetpub/wwwroot". To modify the path, click "Advanced Settings..." on the right to configure the path.
5. Set the read and write permissions of anonymous IIS users for the physical path of the website. Click "Edit permission..." on the right to add the iis_users User Group read and write permissions to the website directory. (Note: This is the most critical step. Many friends forget to do this step because they encounter an error when accessing the ACCESS database after installation. Therefore, after you modify the physical path of a website or add virtual directories, do not forget to add the iis_users user group permissions to these directories.)
6. Double-click "Default document" to add index. asp.
So far, IIS 7 has been installed and configured completely.