Microsoft KB Archive/891749

= An application can no longer log events in the Security event log by using the ReportEvent function in Windows XP with Service Pack 2 =

Article ID: 891749

Article Last Modified on 1/16/2007

-

APPLIES TO


 * Microsoft Windows XP Service Pack 2

-





SYMPTOMS
After you upgrade a Microsoft Windows XP-based computer to Windows XP with Service Pack 2 (SP2), an application can no longer log events in the Security event log by using the ReportEvent function.



CAUSE
This problem occurs because of a change in Windows XP with Service Pack 2 (SP2). To help protect the computer, the ReportEvent function no longer logs events in the Security event log. Only the Lsass.exe process can log events in the Security event log.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
In Microsoft Windows Server 2003, the AuthzReportSecurityEvent function was added to enable applications to log events in the Security event log.

For more information about the AuthzReportSecurityEvent function, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-gb/library/aa376317.aspx

For more information about the ReportEvent function, visit the following MSDN Web site:

http://msdn2.microsoft.com/en-gb/library/aa363679.aspx

Additional query words: WinXP WinXPSP2

Keywords: kbwinxpsp2fix kbprogramming kbeventlog kbtshoot kbinfo kbprb KB891749

-

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

© Microsoft Corporation. All rights reserved.