Microsoft KB Archive/254718

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

Article ID: 254718

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft Internet Information Services 5.0
 * Microsoft Internet Information Server 4.0

-



This article was previously published under Q254718



We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.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



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



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).
 * 1) Right-click a Web site that contains at least one ASP file, and then click Properties.
 * 2) On the Web Site tab, click to select the Enable Logging check box, and then click Properties.
 * 3) Click the Extended Properties tab, and then click to select the Bytes Sent (sc-bytes) check box.
 * 4) Click OK to return to the Properties dialog box, and then click the Home Directory tab.
 * 5) In the Application Settings section, click Configuration.
 * 6) Click the App Options tab, and then click to select the Enable buffering check box.
 * 7) Click OK two times to return to the IIS snap-in.
 * 8) Locate an ASP file on the Web site.
 * 9) 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.

Additional query words: iis 5 4 empty not recorded Server-Client bytes active pages akz

Keywords: kbtshoot kbprb kbpending KB254718

-

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

© Microsoft Corporation. All rights reserved.