FIX: Perfmon Terminates While Monitoring SQL Procedure Cache (155766)



The information in this article applies to:

  • Microsoft SQL Server 6.5

This article was previously published under Q155766

SYMPTOMS

If you shut down SQL Server while you are monitoring any SQL Server - Procedure Cache counter in Performance Monitor (Perfmon.exe), Perfmon.exe and Winlogon.exe close with a Divide By Zero Exception error. If you run Perfmon.exe on the Windows NT console, an Unhandled Exception error in SQLCTR60.DLL appears in Perfmon.exe.

If you monitor the counter in Perfmon.exe from a client computer, the Exception error occurs in Winlogon.exe and a STOP: 0xc000021a (Fatal System Error) screen appears.

In addition, the following Application event appears in Event Viewer:
Event ID: 8
Source: SQLCTR60.DLL
Description: DB-LIBRARY error: Attempt to bind to a non-existent column.

WORKAROUND

To work around this problem:
  • Do not monitor SQL Server - Procedure Cache counters when you shut down shut down SQL Server.

    -or-
  • Use "On Demand Mode" for SQL Server Perfmon Integration. For more information, please see the "Integration with Windows NT Performance Monitor" section in the SQL Server Administrator's Companion guide.

STATUS

Microsoft has confirmed this to be a problem in SQL Server 6.5. This problem has been corrected in Service Pack 5a for Microsoft SQL Server 6.5.For more information, click the following article number to view the article in the Microsoft Knowledge Base:

197177 INF: How to Obtain SQL Server 6.5 Service Pack 5a

For more information, contact your primary support provider.

Modification Type:MajorLast Reviewed:3/14/2006
Keywords:kbBug kbfix kbinterop KB155766