Microsoft KB Archive/155766

From BetaArchive Wiki
Knowledge Base


FIX: Perfmon Terminates While Monitoring SQL Procedure Cache

Article ID: 155766

Article Last Modified on 3/14/2006



APPLIES TO

  • Microsoft SQL Server 6.5 Standard Edition



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.


Additional query words: prodsql sp sp5

Keywords: kbbug kbfix kbinterop KB155766