Viewing the Application Log

When SQL Server is configured to use the Windows NT application log, each SQL Server session writes new events to that log. The Windows NT application log is a special file that can be viewed and managed only by using Windows NT Event Viewer. Unlike the SQL Server error log, a new application log is not created each time you start SQL Server.

    To view the Windows NT application log
  1. From the Administrative Tools program group, start the Event Viewer application.

    The Event Viewer window appears.

    SQL Server events are identified by the entry MSSQLServer in the Source column. SQL Executive events are identified by the entry SQLEXECUTIVE.

  2. To view the log of a remote computer, from the Log menu, choose Select Computer, and then complete the dialog box that appears.

    If you will be viewing the log of the local computer, skip this step.

  3. If the Application log is not displayed, from the Log menu, choose Application.

    There are three Windows NT logs¾Application, System, and Security¾that can be displayed by Event Viewer. The name of the displayed log is shown on the title bar of the dialog box. SQL Server and SQL Executive events are written to the Application log.

  4. Optionally, to display only SQL Server events, choose Filter Events from the View menu, select MSSQLServer from the Source box, and then choose the OK button.

    To view only SQL Executive events, select SQLEXECUTIVE instead.

  5. To view more information about an event, double-click the event.

    The Event Detail dialog box appears.

For additional information about using Event Viewer, managing the application log, and understanding the information it presents, see the online Help for Event Viewer, or see your documentation for Windows NT.