Cannot set new clip region in an inner graphic state level.

4 posts, 0 answers
  1. Dave Koppe
    Dave Koppe avatar
    4 posts
    Member since:
    Oct 2009

    Posted 02 Dec 2009 Link to this post

    I'm getting the following error when exporting to pdf, any idea?

    Server Error in '/' Application.

    Cannot set new clip region in an inner graphic state level.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NotImplementedException: Cannot set new clip region in an inner graphic state level.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [NotImplementedException: Cannot set new clip region in an inner graphic state level.]
       Telerik.Reporting.Pdf.Rendering.PdfRenderer.SetClip(GraphicsPath path, CombineMode combineMode) +267
       Telerik.Reporting.Pdf.Drawing.PdfGraphics.SetClip(GraphicsPath path, CombineMode combineMode) +72
       Telerik.Reporting.Pdf.Drawing.PdfGraphics.SetClip(RectangleF rect, CombineMode mode) +51
       Telerik.Reporting.ImageRendering.CanvasPdf.SetClip(RectangleF rect, CombineMode mode) +88
       Telerik.Reporting.ImageRendering.CanvasBase.SetClipOnPage(RectangleF rect, CombineMode mode) +85
       Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight) +1102
       Telerik.Reporting.ImageRendering.CompositionBase.RenderPageSection(PageArea pageArea, RenderingElement pageSection, Single height) +585
       Telerik.Reporting.ImageRendering.CompositionBase.ApplyPageSections() +174
       Telerik.Reporting.ImageRendering.CompositionBase.SendPhysicalPages(Boolean force) +52
       Telerik.Reporting.ImageRendering.CompositionBase.End() +74
       Telerik.Reporting.ImageRendering.CompositionPdf.End() +39
       Telerik.Reporting.ImageRendering.CompositionBase.Dispose(Boolean disposing) +22
       Telerik.Reporting.ImageRendering.CompositionPdf.Dispose(Boolean disposing) +11
       Telerik.Reporting.ImageRendering.CompositionBase.System.IDisposable.Dispose() +17
       Telerik.Reporting.ImageRendering.ImageRendererBase.RenderReport(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback) +224
       Telerik.Reporting.ImageRendering.ImageRendererBase.Telerik.Reporting.Processing.IRenderingExtension.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback) +21
       Telerik.Reporting.Processing.ReportProcessor.Render(IList`1 reports, ExtensionInfo extensionInfo, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback) +427
       Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback) +419
       Telerik.ReportViewer.WebForms.ServerReport.Render(HttpResponse response, String format, Int32 pageIndex) in ServerReport.cs:110
       Telerik.ReportViewer.WebForms.ReportExportOperation.PerformOperation(NameValueCollection urlQuery, HttpContext context) in ReportExportOperation.cs:15
       Telerik.ReportViewer.WebForms.HttpHandler.ProcessRequest(HttpContext context) in HttpHandler.cs:71
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3053
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 04 Dec 2009 Link to this post

    Hello Dave,

    You are the first person reporting such an error and we have no idea how to reproduce it. We would appreciate it if you prepare a sample project that exhibits the error, open a support ticket, and attach it in the thread. Once we review it, we would be able to provide more info on what is happening.

    Regards,
    Steve
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. Matthias
    Matthias avatar
    9 posts
    Member since:
    Feb 2011

    Posted 06 Nov 2013 Link to this post

    I got the same error a well! no clue why... I cannot send you a sample but you can access remote and have a look if you wish...
  5. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 06 Nov 2013 Link to this post

    Hi Matthias,

    We have found and fixed a similar issue in the latest Q3 2013 Telerik Reporting release.
    Please download and test it.

    Let us know if you need any further help.

    Regards,
    Stef
    Telerik

    New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

Back to Top