FIX: SSRS 2008 R2 crashes when you use SSRS 2008 R2 to render the enhanced metafile (.emf) format or print many reports at the same time
- No further .emf format reports can be rendered or printed.
- The CPU usage of the ReportingServicesService.exe process increases to 100%.
- The ReportingServicesService.exe process crashes and then restarts. When this occurs, the following error may be logged in the System Event Log: The SQL Server Reporting Services (<InstanceName>) service terminated unexpectedly. It has done this # time(s).
When this issue occurs you may see the following error in the SSRS log file:reportrendering!ReportServer_0-3!748!12/01/2010-02:12:11:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: , Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Drawing.SafeNativeMethods.Gdip.GdipDrawLineI(HandleRef graphics, HandleRef pen, Int32 x1, Int32 y1, Int32 x2, Int32 y2)
at System.Drawing.Graphics.DrawLine(Pen pen, Int32 x1, Int32 y1, Int32 x2, Int32 y2)
Note This error and the associated call stack may vary. However, both should contain a call to the System.Drawing .NET namespace.
Cumulative update information
SQL Server 2008 R2 Service Pack 1The fix for this issue was first released in Cumulative Update 1 for SQL Server 2008 R2 Service Pack 1. For more information about how to obtain this cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
SQL Server 2008 R2
The fix for this issue was first released in Cumulative Update 7. For more information about how to obtain this cumulative update package for SQL Server 2008 R2, click the following article number to view the article in the Microsoft Knowledge Base:
Article ID: 2492931 - Last Review: 07/18/2011 19:36:00 - Revision: 4.0
- kbqfe kbexpertiseadvanced kbsurveynew kbfix KB2492931