Microsoft KB Archive/931206

From BetaArchive Wiki

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.

  1. Obtain the UrlScan tool. To do this, visit the following Microsoft Web site:
  2. Extract the UrlScan.exe file from the Setup.exe file that you downloaded in step 1. To do this, follow these steps:
    1. 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.
    2. 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.
    3. 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.
    4. Click Run to run the Setup program.

      If you are prompted for an administrator password or confirmation, type your password or click Continue.
    5. 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.
  3. Extract the files from the UrlScan.exe program that you extracted in step 2. To do this, follow these steps:
    1. 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.
    2. Type urlscan.exe /x, and then press ENTER.

      If you are prompted to let the UrlScan tool access the computer, click Allow.
    3. Click OK on the message that states that the UrlScan files have been extracted successfully.
  4. Create a new subfolder that is named UrlScan in the %windir%\System32\Inetsrv folder. To do this, follow these steps:
    1. 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.
    2. Expand Computer, expand Local Disk (Drive:), expand Windows, expand System32, and then click Inetsrv.
    3. 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.
    4. Click Continue to confirm the file operation.
    5. 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.
    6. Click Continue to confirm the file operation.
  5. 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:

  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.


STATUS

This behavior is by design.

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:

Keywords: kbprb kbtshoot kberrmsg KB931206