Microsoft KB Archive/946082

= FIX: Error message when you display a SQL Server 2005 Reporting Services report on a computer that has multiple processors: &quot;An internal error occurred on the report server&quot; =

Article ID: 946082

Article Last Modified on 12/19/2007

-

APPLIES TO


 * Microsoft SQL Server 2005 Reporting Services

-



Bug: #50002053 (SQL Hotfix)



Microsoft distributes Microsoft SQL Server 2005 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 2005 fix release.



SYMPTOMS
You install Microsoft SQL Server 2005 Reporting Services (SSRS) on a computer that has multiple processors. Or, you install Reporting Services on a computer that has one or more multicore processors. When you display a report, you receive the following error message:

An internal error occurred on the report server

Additionally, a minidump file is generated. And, an error message that resembles the following error message is logged in the Reporting Services log file:

……

w3wp!processing!5! - :: a ASSERT: Assertion failed! Call stack:

Microsoft.ReportingServices.ReportProcessing.ReportProcessing.UpdateTimingInformation(RunningJobContext jobContext, Int64 totalDurationMs, Int64 reportDataRetrievalDurationMs, Int64 reportRenderingDurationMs)

Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension renderer, DateTime executionTimeStamp, GetReportChunk getCompiledDefinitionCallback, ProcessingContext pc, RenderingContext rc, CreateReportChunk cacheDataCallback, Boolean& dataCached)

……

w3wp!library!5! - :: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details., un-named assertion fired for component processing;

Info: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details..



CAUSE
This problem occurs if Reporting Services calls the QueryPerformanceCounter function to query the system time. The function incorrectly returns negative time duration values.



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

943656 Cumulative update package 5 for SQL Server 2005 Service Pack 2

Note 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 2005 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:

937137 The SQL Server 2005 builds that were released after SQL Server 2005 Service Pack 2 was released

Microsoft SQL Server 2005 hotfixes are created for specific SQL Server service packs. You must apply a SQL Server 2005 Service Pack 2 hotfix to an installation of SQL Server 2005 Service Pack 2. By default, any hotfix that is provided in a SQL Server service pack is included in the next SQL Server service pack.



WORKAROUND
To work around this problem, use the method that is described in the &quot;Resolution&quot; section of Microsoft Knowledge Base article 895980. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

895980 Programs that use the QueryPerformanceCounter function may perform poorly in Windows Server 2003 and in Windows XP



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For more information about what files are changed, and for information about any prerequisites to apply the cumulative update package that contains the hotfix that is described in this Microsoft Knowledge Base article, click the following article number to view the article in the Microsoft Knowledge Base:

943656 Cumulative Update Package 5 for SQL Server 2005 Service Pack 2

