How to enable IIS 7.0 in Windows Vista

Source: Internet
Author: User
Tags mdb database classic asp

In Vista, we can see that the new version of IIS 7.0 looks a lot better than 6.0.

You can now enable IIS 7.0 and set up your own website on your PC.

The following is how to enable it:

1. Enter "cmd.exe" in the hotkey winkey + R-field (without quotation marks ).

2. Enter the following command:

Start/W pkgmgr.exe/IU: IIS-webserverrole; IIS-webserverfeature; IIS-ftpserverfeature

Then, IIS 7.0 is automatically installed.

Moreover, IIS 7.0 is completely componentized, similar to Apache.

Iis7 configuration page

 

With the advent of Vista, IIS has also been upgraded to iis7, which is more comprehensive than the previous version of IIS, integrating ASP. NET development technology and so on.
Here we will mainly explain the two problems encountered in the classic ASP + MDB website. (After the default installation, you will find the original ASP Program Running problems)
1. Enable iis7 to support ASP
In Windows Vista, iis7 is not installed by default. Therefore, after installing Windows Vista, if you need to install iis7, you have to do it yourself. The installation steps are as follows: start Control Panel program turn on or OFF windows function Internet Information Service ("Windows Components" in previous operating system versions are called "programs and features" in Vista "). When installing iis7, you must note that if you need ASP, ASP. NET, and other support, you need to install the function module, which is not installed by default.
2. Solve the. mdb database problem in iis7.
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.
Add an "Authenticated Users" user to the "System Disk: \ windows \ serviceprofiles \ NetworkService \ appdata \ Local \ Temp" directory. The appdata directory is hidden, you can enter a path in the address bar or hide the file in the folder option.
To set permissions, right-click the temp folder, select Properties, select Security tab, click Edit, and then click Add ", in the following "input object name to select", enter authenticated users, OK, and return to "Temp permission". The Authenticated Users permission is fully controlled and checked.
Other Tips in iis7:
A. Enable the parent path.
Common ../parent paths are not supported by default in iis7.
ASP-> Open Feature-> enable parent paths: True
B. return an error message to the browser.
Default webpage Code When an error occurs, the browser displays "An error occurred on the server when processing the URL. Please contact the system administrator ".
ASP-> Open Feature-> debugging properties-> enable client-side debugging: True

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.