Microsoft KB Archive/885458

= You receive an &quot;Event log file is corrupted&quot; error message when you try to view the Application log in Windows 2000 =

Article ID: 885458

Article Last Modified on 10/26/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Advanced Server

-





SYMPTOMS
When you start Event Viewer and then click Application to view the Application log, you receive the following error message:

Event log file is corrupted.



CAUSE
This problem may occur if the Application log file is exactly full. For example, consider the following scenario:
 * On the General tab of the Application Log Properties dialog box, you set the Maximum log size value to 64 kilobytes (KB).
 * You click Overwrite events as needed, and then click OK.
 * Events are logged that fill the Application log to exactly 64 KB.

In this scenario, the EndRecord method does not wrap to the start of the Application log file. Instead, it remains at the end of the log file. Therefore, the ReadFromLog method fails.



Update information
To resolve this problem, obtain Update Rollup 1 for Microsoft Windows 2000 SP4. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

891861 Update Rollup 1 for Windows 2000 SP4 and known issues

Hotfix information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;[LN;CNTACTMS]

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites
To install this hotfix, you must have Windows 2000 Service Pack 3 (SP3) or Windows 2000 SP4 installed on the computer. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to obtain the latest Windows 2000 service pack

Restart requirement
You must restart the computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version        Size    File name ---  28-Oct-2004  11:59  5.0.2195.6994  47,376  Eventlog.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Windows 2000 Service Pack 4 Update Rollup 1.



MORE INFORMATION
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

900345 Fixes that are included in the Update Rollup 1 for Microsoft Windows 2000 Service Pack 4 that is dated June 28, 2005

For more information about the new file naming schema for Microsoft Windows software update packages, click the following article number to view the article in the Microsoft Knowledge Base:

816915 New file naming schema for Microsoft Windows software update packages

For more information about the terminology that is used in this article, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kberrmsg kbeventlog kbenv kbbug kbfix kbwin2000presp5fix kbhotfixserver kbqfe KB885458

-

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

© Microsoft Corporation. All rights reserved.