Debugging SMS/SQL Related ProblemsLast reviewed: April 23, 1997Article ID: Q139141 |
The information in this article applies to:
SUMMARYMicrosoft Systems Management Server uses SQL Server extensively. Therefore it is necessary that you diagnose connection or access problems to SQL Server on a regular basis. You may also need to manipulate data stored in the SQL Server.
MORE INFORMATIONA common function used to access SQL Server is the ability to log each SQL command into the existing SMS trace logs. "Select" or "update" statements appear as they are issued, which may slow down performance. To enable this function: WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.
Additional information is also available directly from SQL Server itself. By running i/SQL and issuing the following, the SQL\LOGS\ERRORLOG.* file(s) will also be updated with the commands being issued by each application:
dbcc traceon(-1,4032,3605)This configuration can be toggled off and on as follows:
dbcc traceoff(-1) -or- dbcc traceon(-1)These settings should not be active for normal use of the system and are intended for debugging purposes only. Once you obtain output in the respective log files, they can be used to determine more closely what is happening.
|
Additional query words: prodsms
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |