Applies ToSQL Server 2012 Enterprise

Microsoft distributes Microsoft SQL Server 2012 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 fix release.

Symptoms

When you receive notice of an alert error in an email message from SQL Server Performance Condition in Microsoft SQL Server 2012, the message resembles the following:

The SQL Server performance counter 's' (instance 's') of object 's' is now above the threshold of s (the current value is s).

This alert error message should actually resemble this:

The SQL Server performance counter 'Data File(s) Size (KB)' (instance 'ReportServer') of object 'MSSQL$SQL2K8R2:Databases' is now above the threshold of 1024.00 (the current value is 4352.00).

Cause

This issue occurs because of incorrect output formatting. The alert uses the LoadFormattedMessage function that, in turn, invokes the FormatMessage function to format output information. Specifically, the following template string is used: 

The SQL Server performance counter '%s' (instance '%s') of object '%s' is now above the threshold of %s (the current value is %s).This generates the incorrect output after formatting.

Resolution

Cumulative update information

SQL Server 2012

The fix for this issue was first released in Cumulative Update 2 for SQL Server 2012 Service Pack RTM. For more information about this cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:

2703275 Cumulative update package 2 for SQL Server 2012Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 fix release. Microsoft recommends that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

2692828 The SQL Server 2012 builds that were released after SQL Server 2012 was released Microsoft SQL Server 2012 hotfixes are created for specific SQL Server service packs. You must apply a SQL Server 2012 Service Pack RTM hotfix to an installation of SQL Server 2012 Service Pack RTM. By default, any hotfix that is provided in a SQL Server service pack is included in the next SQL Server service pack.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.