I installed Windows Vista and found out that I still had IIS in it, and it was still 7, so I wanted to play around. From installation to configuration, I felt that there were many more things to pay attention to than IIS6 under Windows 2003.
IIS7 installation
IIS7 is not installed by default in Windows Vista, so if you need to install IIS7 after installing Windows Vista, you have to do it yourself. The installation steps are: Start Control Panel Programs Turn on or close Windows Functions Internet Information Services. When installing IIS7, it is important to note that if ASP or other support is required, the functional module needs to be installed, and it is not installed by default.
Location of "Programs" in Control Panel
The location of "Open or close Windows features" in "Programs"
As shown in the figure, you need to select the functional module you want to use when installing IIS7.
After IIS7 is installed, you can see the "Administrative Tools" in all programs in the Start Menu, which has a "Internet Information Service Manager". If there is no, you can add it as follows: Start "Right-click Properties "Start" Menu Tab "Customize "Set System Management Tools" to "Show on All Program Menu" or "Show on All Program Menu and Start Menu".
Open the Internet Information Service Manager and you can see the homepage of IIS7
IIS7 configuration ASP+Access usage environment
After installing IIS7 by default, using the ASP program will prompt that the database connection failed. I searched online and said that it was because the MS Jet engine changed the location of the temporary directory, but did not have temporary access permissions, resulting in the database use failure.
First, you need to set the application pool (Application Pool) to Classic.NET AppPool, instead of the default Default AppPool, you can set each site in the website directory or separately on the site. After selecting the site you want to set, click "Basic Settings" on the right to call up the Application Pool Settings dialog box.
Then add an "Authenticated Users" user to the "System Disk:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp" directory. The AppData directory is hidden. When entering, you can directly enter the path in the address bar, or display hidden files in the folder options.
Steps to set permissions: Right-click the Temp folder, select "Properties" and select "Security" tab. Click "Edit" to "Temp Permissions" dialog box, click "Add", enter Authenticated Users in the "Input Object Name to Select" below, and return to "Temp Permissions", and check the full control of Authenticated Users' permissions, and confirm.
Enable parent path support
Select "ASP" on the site homepage, and then set "Enable Parent Path" to True in the "Behavior" group.
At this point, the installation of IIS7 in Windows Vista and the configuration using ASP+Access has been completed.