Microsoft KB Archive/931206

= 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: &quot;Installer cannot install UrlScan because IIS version 4.0, 5.0, 5.1, or 6.0 is not installed on this computer&quot; =

Article ID: 931206

Article Last Modified on 1/24/2007

-

APPLIES TO


 * Microsoft Internet Information Services 7.0

-



SYMPTOMS
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.



CAUSE
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.



RESOLUTION
To resolve this issue, manually install version 2.5 of the UrlScan tool. To do this, follow these steps.

Step 1: Extract the UrlScan files
Note These steps assume that you are running IIS 7.0 on a Windows Vista-based computer.  Obtain the UrlScan tool. To do this, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?familyid=23d18937-dd7e-4613-9928-7f94ef1c902a&displaylang=en

 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\ \downloads\temp

Note  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.</li></ol> </li> Extract the files from the UrlScan.exe program that you extracted in step 2. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> 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.</li> Type urlscan.exe /x, and then press ENTER.

If you are prompted to let the UrlScan tool access the computer, click Allow.</li> Click OK on the message that states that the UrlScan files have been extracted successfully.</li></ol> </li> Create a new subfolder that is named UrlScan in the %windir%\System32\Inetsrv folder. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> 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.</li> Expand Computer, expand Local Disk , expand Windows, expand System32, and then click Inetsrv.</li> 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.</li> Click Continue to confirm the file operation.</li> 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.</li> Click Continue to confirm the file operation.</li></ol> </li> 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.</li></ol>

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:
 * 1) Click Start, type programs and features in the Start Search box, and then click Programs and Features in the Programs list.
 * 2) Click Turn Windows features on or off.

If you are prompted for an administrator password or confirmation, type your password or click Continue.
 * 1) 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:
 * 1) 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.
 * 1) In the Connections pane, click the name of the Web server.
 * 2) In the results pane, double-click ISAPI Filters.
 * 3) Right-click the ISAPI Filters pane, and then click Add.
 * 4) In the Filter name box, type UrlScan.
 * 5) 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.
 * 1) Click OK.

<div class="status_section">

STATUS
This behavior is by design.

<div class="moreinformation_section">

MORE INFORMATION
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:

http://technet2.microsoft.com/WindowsServer/en/library/86bb183f-a016-40ca-b9c3-bbb2f5c8a4b51033.mspx?mfr=true

Keywords: kbprb kbtshoot kberrmsg KB931206

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.