Installation and Setup of iis7 in Windows Vista

Source: Internet
Author: User

Considering the system security, Vista still needs some settings to use ASP + ACCESS normally. the following describes how to install, set, and debug ASP + Access in iis7 in Windows Vista:

Step 1: Install iis7 in Windows Vista.
Go to the control panel of Vista and select open or close windows on the left.

 

Step 2: Set the option for installing iis7.
After you click it, the option menu for installing the WINDOWS function is displayed. Pay attention to the selected project. The following figure shows that you have selected all the services to be installed, because the default installation options of iis7 in Vista do not support ASP and ASP. therefore, you must manually select the required features during installation.

Note:

IIS default security: In vs2005, If You Want To debug the site, you must have "Integrated Windows Authentication"

The other two can also be used in some cases:

Digest authentication: The Windows domain controller is used to authenticate the user requesting access to the content on the web server.

Basic Authentication: users are required to provide a valid user name and password to access the content.

 

 

Step 3: After the installation is complete, go to the control panel again and select the management tool. Under the management tool, the IIS6 management tool option is displayed, and the red line option is selected to set iis7.

Step 4: Set iis7.

A. Enable the ASP parent path. Select the default web site and double-click the ASP option,

In iis7, the ASP parent path is not enabled. To use ASP conveniently, you must first enable the parent path and select true. In this step, you can set the parent path option.

B. Authentication

After you open the Internet Information Service (IIS) manager, you can view the authentication configuration item in the lower part of the middle part. Double-click the configuration item as follows:

We have added several creden that need to be enabled on the site you want to debug.

Note: It is the site you want to debug, not the application directory you want to debug!

C. iis7 application pool settings

The application pool of IIS is divided into two types based on the managed pipeline mode: integration and classic

Integration. in the. NET mode, the application should not be in the <system. in the Web>/

The classic. Net mode is the way we used to use IIS 6.

After all, the Longhorn server is far away from us. Of course, we must be compatible with the IIS6 mode of window 2003. Therefore, we need to modify the application pool settings of the site, such:

I used an existing application pool in Classic mode. You can also create an application pool in Classic Mode first, then, configure the classic-mode application pool used by the corresponding site.

Step 5: Configure iis7 sites. Right-click the default web site option and select the Advanced Settings option marked by the red line.

In this dialog box, set the home directory and access port of the website.

According to the above steps, iis7 has been basically completed. However, in Windows Vista, you can only debug ASP programs, but you still cannot debug ASP + ACCESS programs, this is because of the directory permissions of Windows Vista. The last step is to set the directory permissions.

Reasons for setting directory permissions:

Because the MS Jet Engine changes the location of the temporary directory, but does not have temporary access permissions, resulting in database usage failure, you must give the "System Disk: add an "Authenticated Users" user to the \ windows \ serviceprofiles \ NetworkService \ appdata \ Local \ Temp "directory.


Step 1: Set the directory path for permissions as follows:
System installation disk: \ windows \ serviceprofiles \ NetworkService \ appdata \ Local, it is best to manually enter the path, because the file from appdata is hidden. Right-click the temp folder and select Properties.

Step 2: Select security options and click Edit to go To the edit permission dialog box.

Step 3: Select Add to add a user.

Step 4: In the select user or group dialog box, enter uppercase subtitle A in the input object name selection form, and click OK, the system automatically displays all system users with subtitles.

Step 5: select the user athenticated users from the user list, and click OK.

Step 6: After the user is added, select the user to be added, click "full control", and click "OK". In this way, the access permission of temp is settled. The system will have a security prompt, select OK, and try again, it is not ASP + ACCESS can run. This is done.

 

Step 6: Start vs2005

Because of the User Account Control (UAC) of Vista, to avoid permission issues during debugging, we should run Vista as an administrator. For example:

Related Article

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.