FIX: The Remote Registry service crashes when an application tries to retrieve Performance Counter data from another computer

This hotfix also applies to Microsoft SQL Server 2012 Reporting Services (SSRS 2012) and SQL Server 2014 Reporting Services (SSRS 2014).
Consider the following scenario:
  • You install an instance of Microsoft SQL Server 2008 R2 Reporting Services (SSRS 2008 R2), SQL Server 2012 Reporting Services (SSRS 2012), or SQL Server 2014 Reporting Services (SSRS 2014) on a computer that is running Windows Server 2003, Windows Server 2008, Windows Vista, or a later version of Windows.
  • You run an application on another computer. The application tries to retrieve the Performance Counter data for the instance of SQL Server Reporting Services remotely.

In this scenario, the Remote Registry service crashes on the computer that has SQL Server Reporting Services installed. Additionally, error messages that resemble the following are logged in the Application log on the computer that has the instance of SQL Server Reporting Services installed:

Faulting application name: svchost.exe_RemoteRegistry, version: 6.1.7600.16385, time stamp: 0x4a5bc3c1
Faulting module name: perf-ReportServer$INSTANCENAME-rsctr._unloaded version:, time stamp: 0x4bb67a29 Exception code: 0xc0000005
Fault offset: 0x0000000069c5b507
Faulting process id: 0x1ad0
Faulting application start time: 0x01ce2f154b19923b
Faulting application path: Drive:\Windows\system32\svchost.exe
Faulting module path: perf-ReportServer$INSTANCENAME-rsctr
Report Id: 489cdf90-9b0d-11e2-b6ac-005056b63f2a

Additionally, an error message that resembles the following is logged in the Windows System log on the computer that has the instance of SQL Server installed:

Date,Time,Error,ServerName,7034,Service Control Manager,N/A,N/A,"The Remote Registry service terminated unexpectedly. It has done this number time(s)."

This issue occurs because the SQL Server Reporting Services Performance Counter uses an incorrect method to call the RegQueryValueEx API to access a registry key. This behavior causes the Remote Registry service to crash.

Note The Remote Registry service loads the SQL Server Reporting Services Performance Counter.

Cumulative update information

The issue was first fixed in the following cumulative update of SQL Server.

Cumulative Update 1 for SQL Server 2014

Cumulative Update 11 for SQL Server 2012

Cumulative Update 7 for SQL Server 2012 SP1

Cumulative Update 8 for SQL Server 2008 R2 SP2

About cumulative updates for SQL Server

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Article ID: 2844210 - Last Review: 04/21/2014 19:54:00 - Revision: 5.0

Microsoft SQL Server 2008 R2 Reporting Services, Microsoft SQL Server 2012 Developer, Microsoft SQL Server 2012 Enterprise, Microsoft SQL Server 2012 Parallel Data Warehouse, Microsoft SQL Server 2012 Service Pack 1, Microsoft SQL Server 2012 Standard, Microsoft SQL Server 2012 Web, Microsoft SQL Server 2014 Developer, Microsoft SQL Server 2014 Enterprise, Microsoft SQL Server 2014 Standard

  • kbqfe kbfix kbsurveynew kbexpertiseadvanced KB2844210