ReportViewer control LocalReport PDF Bug

Discussion in 'ASP .Net Web Controls' started by andyclap, Jan 4, 2008.

  1. andyclap

    andyclap Guest

    I'm getting an exception rendering to PDF in local mode from the ReportViewer
    control.
    When there is a certain mixture of AutoSize and Fit images in a header, it
    seems to confuse the renderer, and throws the following exception:

    System.NullReferenceException: Object reference not set to an instance of an
    object.
    at
    Microsoft.ReportingServices.Rendering.ImageRenderer.Image.CalculateItemMeasurement(Orientation orientation)

    Is there any support available for the ReportViewer? I can post the simple
    rdlc file and sample code to reproduce the error.
     
    andyclap, Jan 4, 2008
    #1
    1. Advertisements

  2. andyclap

    andyclap Guest

    Seems like any image with sizing=clip causes problems on both the pdf and
    excel localreport exports.
    I can provide simple samples to reproduce these bugs, if anybody is
    interested.
     
    andyclap, Jan 9, 2008
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.