Error message when you try to browse .asp pages after you run the IIS Lockdown Tool in Internet Information Services 5.0: "Object disabled" or "HTTP 404 - File not found" (922720)



The information in this article applies to:

  • Microsoft Internet Information Server 5.0

SYMPTOMS

Consider the following scenario. You run the IIS Lockdown Tool in Express mode on a computer that is running Microsoft Internet Information Services (IIS) 5.0. Then, you try to browse .asp pages on a Web site. In this scenario, the .asp pages are not displayed as expected in the Web browser. Instead, you receive one of the following error messages:

Message 1

Object disabled

Message 2

HTTP 404 - File not found

CAUSE

This issue occurs when the IIS Lockdown Tool maps the .asp file name extension to the 404.dll file.

RESOLUTION

To resolve this issue, map the .asp file name extension to the Asp.dll file. To do this, follow these steps:
  1. Click Start, click Run, type inetmgr in the Open box, and then click OK.
  2. Expand ComputerName, right-click the Web site that you want to configure, and then click Properties. For example, right-click Default Web Site.
  3. Click the Home Directory tab, and then click Configuration under Application settings. The Application Configuration dialog box appears.
  4. Click the Mappings tab.
  5. In the Extension column, click .asp, and then click Edit. The Add/Edit Application Extension Mapping dialog box appears.
  6. In the Executable box, type the following line, and then click OK:

    Drive: \Windir\System32\Inetsrv\Asp.dll

    Note Windir is the name of the folder that contains the Microsoft Windows system files. For example, if Windows is installed in the Windows folder on drive C, type the following line:

    C:\Windows\System32\Inetsrv\Asp.dll

  7. Click OK two times.

MORE INFORMATION

For more information about how to use the IIS Lockdown Tool, click the following article number to view the article in the Microsoft Knowledge Base:

325864 How to install and use the IIS Lockdown Wizard

For more information about another mapping issue that occurs in IIS 5.0 when you use the IIS Lockdown Tool, click the following article number to view the article in the Microsoft Knowledge Base:

840974 You cannot modify the DLL that is mapped to the .htr file name extension by using the IIS Lockdown Tool


Modification Type:MajorLast Reviewed:8/14/2006
Keywords:kberrmsg kbtshoot kbExpertiseInter kbprb KB922720 kbAudITPRO