Article ID: 931206 - Last Review: January 24, 2007 - Revision: 1.0
Error message when you try to install version 2.5 of the UrlScan tool on a computer that is running Internet Information Services 7.0: "Installer cannot install UrlScan because IIS version 4.0, 5.0, 5.1, or 6.0 is not installed on this computer"
When you try to install version 2.5 of the UrlScan tool on a computer that is running Microsoft Internet Information Services (IIS) 7.0, you receive the following error message:
Installer cannot install UrlScan because IIS version 4.0, 5.0, 5.1, or 6.0 is not installed on this computer. Install one of these IIS versions on the computer and then try again.
This issue occurs because the UrlScan tool Setup program is incompatible with IIS 7.0. However, the DLL and .ini file that provide the UrlScan tool functionality work with IIS 7.0.
Extract the UrlScan.exe file from the Setup.exe file that you downloaded in step 1. To do this, follow these steps:
Click Start, type cmd in the Start Search box, and then click cmd in the Programs list.
If you are prompted for an administrator password or confirmation, type your password or click Continue.
At the command prompt, change to the folder to which you downloaded the UrlScan Setup program. By default, this folder is the Downloads folder. For example, type cd downloads, and then press ENTER.
To extract the UrlScan.exe file, type the following command, and then press ENTER:
setup.exe /c /t:c:\users\UserName\downloads\temp
Note UserName represent the name of your user account.
This command creates a subfolder that is named Temp in the Downloads folder and then extracts the Urlscan.exe file to this Temp folder.
Click Run to run the Setup program.
If you are prompted for an administrator password or confirmation, type your password or click Continue.
Click Yes to agree to the license agreement, and then click Cancel if you receive a message that mentions that the program may not have installed correctly.
Extract the files from the UrlScan.exe program that you extracted in step 2. To do this, follow these steps:
At the command prompt, change to the Temp folder to which you extracted the UrlScan.exe file. To do this, type cd temp, and then press ENTER.
Type urlscan.exe /x, and then press ENTER.
If you are prompted to let the UrlScan tool access the computer, click Allow.
Click OK on the message that states that the UrlScan files have been extracted successfully.
Create a new subfolder that is named UrlScan in the %windir%\System32\Inetsrv folder. To do this, follow these steps:
Click Start, type Windows Explorer in the Start Search box, right-click Windows Explorer in the Programs list, and then click Run as administrator.
If you are prompted for an administrator password or confirmation, type your password or click Continue.
Expand Computer, expand Local Disk (Drive:), expand Windows, expand System32, and then click Inetsrv.
Right-click the results pane, point to New, and then click Folder.
If you are prompted for an administrator password or confirmation, type your password or click Continue.
Click Continue to confirm the file operation.
In the New Folder box, type UrlScan, and then press ENTER.
If you are prompted for an administrator password or confirmation, type your password or click Continue.
Click Continue to confirm the file operation.
Copy the following two files that you extracted in step 3 to the UrlScan folder that you created in step 4:
Urlscan.dll Urlscan.ini
If you are prompted for an administrator password or confirmation, type your password or click Continue. Then, click Continue to perform the file operation.
Step 2: Install the ISAPI Filters component
To install the UrlScan ISAPI filter in IIS 7.0, you must also install the ISAPI Filters component.
Note By default, this component is not installed.
To install the ISAPI Filters component, follow these steps:
Click Start, type
programs and features in the Start Search box, and then click Programs and Features in the Programs list.
Click Turn Windows features on or off.
If you are prompted for an administrator password or confirmation,
type your password or click Continue.
Expand Internet Information Services, expand World Wide Web Services, expand Application Development Features, click to select the ISAPI Filters check box, and then click OK.
Step 3: Install the UrlScan ISAPI filter
Install the UrlScan ISAPI filter in IIS 7.0. To do this, follow these steps:
Click Start, type iis manager in the Start Search box, and then click Internet Information Services (IIS) Manager in the Programs list.
If you are prompted for an administrator password or confirmation, type your password or click Continue.
Note Do not click Internet Information Services (IIS) 6.0 Manager in the Programs list.
In the Connections pane, click the name of the Web server.
In the results pane, double-click ISAPI Filters.
Right-click the ISAPI Filters pane, and then click Add.
In the Filter name box, type UrlScan.
In the Executable box, type c:\Windows\System32\Inetsrv\UrlScan\Urlscan.dll.
Note If Windows Vista is not installed on drive C, modify this path as appropriate for the Windows Vista installation.
IIS 7.0 introduces a new feature that is named Request Filtering. This feature replaces the functionality that version 2.5 of the UrlScan tool provides. Request Filtering is integrated into IIS 7.0. Also, Request Filtering is available as a role that you can install when you install Internet Information Services 7.0. For more information about Request Filtering, visit the following Microsoft Web site: