Sc-bytes extended logging property is 0 for ASP files in Internet Information Services 5.0

Article translations Article translations
Article ID: 254718
This article has been archived. It is offered "as is" and will no longer be updated.
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:
http://www.microsoft.com/technet/security/prodtech/IIS.mspx
For more information about IIS 7.0, visit the following Microsoft Web site:
http://www.iis.net/default.aspx?tabid=1
Expand all | Collapse all

On This Page

Symptoms

The sc-bytes extended logging property is always 0 for GET requests for ASP files. If the posted data is not read by the destination script, the sc-bytes extended logging property records 89 for POST requests.

Cause

ASP buffering is enabled.

Workaround

If both the logic of the ASP file and the display of the page permit ASP buffering to be disabled, turn off ASP buffering.

For additional information about turning off ASP buffering in Microsoft Internet Information Services 5.0, click the following article number to view the article in the Microsoft Knowledge Base:
245198 Response.buffer is on by default in Internet Information Services 5.0

More information

Steps to reproduce the problem

To reproduce the problem in Microsoft Internet Information Services 5.0, follow these steps:
  1. Start the Internet Service Manager (ISM).

    ISM loads the Internet Information Server (IIS) snap-in for Microsoft Management Console (MMC).
  2. Right-click a Web site that contains at least one ASP file, and then click Properties.
  3. On the Web Site tab, click to select the Enable Logging check box, and then click Properties.
  4. Click the Extended Properties tab, and then click to select the Bytes Sent (sc-bytes) check box.
  5. Click OK to return to the Properties dialog box, and then click the Home Directory tab.
  6. In the Application Settings section, click Configuration.
  7. Click the App Options tab, and then click to select the Enable buffering check box.
  8. Click OK two times to return to the IIS snap-in.
  9. Locate an ASP file on the Web site.
  10. Open the log file for the Web site.

    Typically, this log file is located in the %WinDir%\System32\LogFiles directory. Notice that the sc-bytes extended logging property is 0 bytes.

Properties

Article ID: 254718 - Last Review: June 19, 2014 - Revision: 6.0
Keywords: 
kbnosurvey kbarchive kbtshoot kbpending kbprb KB254718

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com