Microsoft KB Archive/817442

From BetaArchive Wiki
Knowledge Base


IIS 6.0: Antivirus Scanning of IIS Compression Directory May Result in 0-Byte File

Article ID: 817442

Article Last Modified on 12/3/2007



APPLIES TO

  • Microsoft Internet Information Services 6.0



SYMPTOMS

When compression is enabled on a server running Internet Information Services (IIS) 6.0, and an HTTP request is served from the IIS compression directory, a 0-byte file may be returned instead of the expected file.

Note You may only see these symptoms if HTTP Static Compression is enabled.

CAUSE

Antivirus software running on the IIS server is scanning the IIS compression directory.

RESOLUTION

Exclude the IIS compression directory from the antivirus software's scan list. The steps to do this may vary based on the antivirus software you are using. Microsoft recommends that you contact the manufacturer of the antivirus software for information about how to exclude directories from scanning.

MORE INFORMATION

The default compression directory in IIS 6.0 is %systemroot%\IIS Temporary Compressed Files. This directory may have been changed to another location. To verify the compression directory:

  1. Click Start, point to Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
  2. In IIS Manager, right-click the Web Sites folder, and then click Properties.
  3. Click the Service tab.
  4. Under HTTP Compression, make sure that Compress static files is selected, and then locate the path to the temporary directory.


Keywords: KB817442