Use IIS 7.0 in Vista

Source: Internet
Author: User

The IIS settings in XP are very simple. If you set IIS 2003, the parent path is enabled. However, in Vista, there is a big difference between the management interface and method of IIS, and there are more problems. The most typical problem is the permission problem, especially the Access between ASP and Access.

IIS installation in Vista

Similar to XP, in Vista, all versions except the Home version are integrated with IIS and upgraded to IIS 7.0. However, the IIS service is not enabled by default and needs to be enabled again. The method for enabling is simple. You only need to follow the steps below:

"Start"> "Control Panel"> "programs and functions", and select "enable or disable Windows functions ". If Windows Vista does not close UAC, a prompt is displayed. Confirm and continue. If IIS 7.0 only supports static content, you can directly select "Internet information service ", if you want the Web server to support dynamic content, expand the "World Wide Web Service" branch and select all the required options. Click "OK" to start IIS installation in Windows Vista; after the installation process is complete, you can enter http: // localhost/in the browser for testing.

After IIS7 is installed, You can see "Administrative Tools" in all programs in the Start Menu, which has an "Internet Information Service Manager". If not, follow these steps: start → right-click Properties → "start" menu tab → custom → set "System Management Tools" to "display in all program Menus" or "on all program menus and start Menus "show ".

ASP + Access Environment Configuration

After IIS7 is installed by default, the ASP program will find a prompt indicating that the database connection failed. I found it online because the MS Jet Engine changed the location of the temporary directory, however, the database fails to use because it does not have temporary access permissions.

You must set the Application Pool to Classic. NET AppPool instead of the Default AppPool. You can set each site in the website directory or separately at the site. After selecting the site to be set, click "Basic settings" on the right to bring up the application pool Settings dialog box.

Then, add an "Authenticated Users" user to the "System Disk: WindowsServiceProfilesNetworkServiceAppDataLocalTemp" directory. The AppData directory is hidden and you can enter a path directly in the address bar, or hide the file in the folder option.

To set permissions, right-click the Temp folder, select "properties", select the "Security" tab, click "edit", click "Temp Permissions", and click "add ", in the following "input object name to select", enter Authenticated Users, OK → return to "Temp permission", and grant full control of Authenticated Users Permissions to the hook. OK.

Enable parent path support

Select "ASP" on the site homepage, and set "enable parent path" to "True" in the "behavior" group.

In this way, you can use the IIS environment on Windows Vista and XP.

 

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.