Microsoft KB Archive/294395

= FP2002: Usage Analysis Does Not Process Log Files; or, Error Message: Usage Processing Failed to Complete Normally =

Article ID: 294395

Article Last Modified on 2/21/2007

-

APPLIES TO


 * Microsoft FrontPage 2002 Server Extensions

-



This article was previously published under Q294395





SYMPTOMS
When you run usage analysis on a Microsoft Internet Information Services (IIS) 5.0 Web server, one of the following symptoms may occur:  Usage analysis does not process the log files correctly.

-or- You receive the following error message:

Usage processing failed to complete normally.





CAUSE
These problems can occur if process accounting is turned on for a virtual server in IIS.



WORKAROUND
To work around this issue, you must first determine whether process accounting logging is turned on for the virtual server in question. To do this, follow these steps:  Open the Internet Services Manager. To do this, follow these steps:  Click Start, point to Programs, and then click Administrative Tools. Click Internet Services Manager.</li></ol> </li> Right-click the virtual server in question, and then select Properties.</li> On the Web Site tab, set the log format to W3C Extended.</li> Click the Properties button.</li> On the General Properties tab, note the log file name, which will be a name like W3SVC1\exyymmdd.log, where  W3SVC1 is the virtual server instance. In this case, it is Instance 1, which is typically the Default Web Site.

This is also the name of the folder under %SystemRoot%\System32\Logfiles, where the log files for this virtual server are kept.</li> Exyymmdd.log is the log file name.

The naming syntax for log files is defined in Microsoft Knowledge Base article 242898. For more information, please see the &quot;References&quot; section of this article.</li></ul> </li> Select the Extended Properties tab.</li> Scroll down to the bottom. Determine whether any check boxes are selected under the Process Accounting section.</li></ol>

Allow Usage Analysis to Process Your Log Files
NOTE: Both of the following methods require that all process accounting be turned off by using the steps listed earlier in this section to determine whether process accounting is turned on.

Method 1
Remove the process accounting information from the log files. To do this, follow these steps: <ol> Turn off all process accounting options for the virtual server.</li> Open the folder where the virtual server's log files are kept, using the information listed earlier in this article.</li>  Open the log files for the virtual server, and then search for sections of the log file that look similar to the following: 2001-03-17 02:07:12 Periodic-Log All 00.000% 00.000% 0 0 0 0 </li> Remove each process accounting section entirely, and then save the file.</li></ol>
 * 1) Software: Microsoft Internet Information Services 5.0
 * 2) Version: 1.0
 * 3) Date: 2001-03-17 02:07:12
 * 4) SubComponent: Process Accounting
 * 5) Fields: date time s-event s-process-type s-user-time s-kernel-time s-page-faults s-total-procs s-active-procs s-stopped-procs

Method 2
Delete the log files for the virtual server in question. To this, follow these steps:
 * 1) Turn off all process accounting options for the virtual server.
 * 2) Open the folder where the virtual server's log files are kept, using the steps listed earlier in this section.
 * 3) Delete all existing log files.

NOTE: If you delete the log files, there is no way to review your Web server's past Web activity; also, usage analysis cannot process data from previous Web activity.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

<div class="references_section">