Enable IIS7 in Windows 7 to configure the ASP Runtime Environment

Source: Internet
Author: User

For the first time, I configured IIS in Windows 7. Although I have rich experience in configuring IIS in XP, I still encountered many problems. It is time-consuming to find out something, especially for beginners. In fact, the iis7 configuration process under win7 is very simple. The SEO blog will introduce in detail how to configure iis7 environment to run ASP websites in win7 for reference by new contacts.

1. Install iis7

By default, IIS is not automatically installed after Windows 7 is installed. You need to install IIS manually.

1. Go to the control panel of Windows 7 and select open or close windows function on the left side:

Start-control panel-Default Programs-programs and functions-enable or disable windows. 1.

2. The option menu for installing the WINDOWS function is displayed. Note that you need to manually select the required function for the selected project. For details, refer to 2. Now iis7 has been installed! Is it quite simple? 2. Configure IIS

1. After the above components are installed on IIS7, perform the following operations: Control Panel-system and security-management tools-Internet Information Service (IIS) management tools.

Expand the left sidebar to "Default Web Site", and click the "ASP" icon in the middle. 3.

2. In iis7, the ASP parent path is not enabled. Enable the parent path. Select defaultwebsite and double-click ASP on the internal page to display ASP settings. ", then enable parent paths (enable parent path) in the" behavior "group) "set to" true. 4. (Note: After "true" is selected, you must click "application" in the right sidebar to make the change take effect !)

Now the ASP basic runtime environment has been configured!

3. Configure the default website for iis7

1. Click the "Advanced Settings" option on the right to set the website directory. 5.

2. Similar to the operation in the previous step, click "Bind..." on the right side to set the website port. Port 80 is used by default. If the port is occupied, you can add another port number to browse the site. 6. Generally, no operation is required here. 3. Click "Default document" to set the default document for the website. Here we can add the default document name of the homepage that we usually use. Such as index. asp and default. asp. 7. Now, iis7 settings for Windows 7 have been basically completed. Under normal circumstances, the correct ASP + access website program can be successfully run. However, due to the access permission of the NTFS format partition directory, errors such as http500 often occur. For more information, see the appendix.

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.