You are currently offline, waiting for your internet to reconnect

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


Microsoft distributes Microsoft SQL Server 2008 R2 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 2008 R2 fix release.
SYMPTOMS
When you use Microsoft SQL Server 2008 R2 Reporting Services (SSRS 2008) to render the enhanced metafile (.emf) format or print many reports at the same time, SSRS 2008 periodically experiences one or more of the following issues:
  • 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)

    at Microsoft.ReportingServices.Rendering.ImageRenderer.Graphics.<>c__DisplayClass1.<DrawLine>b__0()

    Note This error and the associated call stack may vary. However, both should contain a call to the System.Drawing .NET namespace.
RESOLUTION

Cumulative update information

SQL Server 2008 R2 Service Pack 1

The 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:
2544793 Cumulative Update package 1 for SQL Server 2008 R2 Service Pack 1
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 2008 R2 fix release. We recommend 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:
2567616 The SQL Server 2008 R2 builds that were released after SQL Server 2008 R2 Service Pack 1 was released

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:
2507770 Cumulative Update package 7 for SQL Server 2008 R2
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 2008 R2 fix release. We recommend 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:
981356 The SQL Server 2008 R2 builds that were released after SQL Server 2008 R2 was released
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Properties

Article ID: 2492931 - Last Review: 07/18/2011 19:36:00 - Revision: 4.0

Microsoft SQL Server 2008 R2 Reporting Services

  • kbqfe kbexpertiseadvanced kbsurveynew kbfix KB2492931
Feedback
s.js"> ttps://c1.microsoft.com/c.gif?DI=4050&did=1&t=">" async=""> var varAutoFirePV = 1; var varClickTracking = 1; var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" var Ctrl = ""; document.write(" >