DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 2492931 - Last Review: July 18, 2011 - Revision: 4.0

On This Page

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  (http://support.microsoft.com/kb/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  (http://support.microsoft.com/kb/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  (http://support.microsoft.com/kb/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  (http://support.microsoft.com/kb/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.


APPLIES TO
  • Microsoft SQL Server 2008 R2 Reporting Services
Keywords: 
kbqfe kbexpertiseadvanced kbsurveynew kbfix KB2492931
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support