Share via


SQL Debugging: Locating Debugging Errors on the Server

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic does not apply Topic does not apply Topic does not apply Topic does not apply

Standard

Topic does not apply Topic does not apply Topic does not apply Topic does not apply

Pro and Team

Topic applies Topic applies Topic applies Topic applies

Table legend:

Topic applies

Applies

Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

If SQL debugging does not work, check the event log on the machine that is running SQL Server.

To locate SQL debugging errors in the event log

  1. On the server machine, click Start, point to Settings, and click Control Panel.

  2. In Control Panel, double-click the Administrative Tools folder.

  3. In the Administrative Tools folder, double-click Event Viewer.

  4. In the Event Viewer, look for errors whose source is listed as the SQL Server instance name, MSSQLSERVER, MSSQL$LEGACY, MSSQL$LEGACYIS, or, for SQL Server 2000, SQLDebugging98.

  5. Double-click the event to read the Description in the Event Properties dialog box.

See Also

Reference

SQL Debugging Setup Errors and Troubleshooting

Other Resources

Setting Up SQL Debugging

Debug Settings and Preparation