Problems with ReportViewer in IE8...

7 posts, 0 answers
  1. Allen Smothers
    Allen Smothers avatar
    40 posts
    Member since:
    Nov 2006

    Posted 04 May 2011 Link to this post

    Hello,

    We just upgraded to Telerik Reporting Q1 2011 (5.0.11.316) from Telerik Reporting Q1 2010 (4.0.10.317) and are experiencing some issues with the Web ReportViewer's export and print buttons using IE8 (Chrome and Firefox work flawlessly).

    I've installed the latest version of Adobe Reader (10.0.1) as well as added the site as a trusted site.

    We have 3 dlls in our bin directory: Telerik.Reporting.dll, Telerik.Reporting.Service.dll and Telerik.ReportViewer.WebForms.dll.

    After clicking the Print button it seems the page attempts to load the print dialog and I see the loading (green) bar along the bottom but nothing ever happens.  No Adobe Print Dialog or default print dialog.  That's the first issue.

    Our second issue has to do with using the export functionality.  Regardless of what export option we choose we always get this error after the page attempts to serve the file:  

    "Unable to download Telerik.ReportViewer.axd from www.oursite.com.  Unable to open this Internet site.  The requested site is either unavailable or cannot be found.  Please try again later."

    I've searched the forums looking for a solution but haven't been able to find any solutions.

    I'm thinking we're missing the boat on something.  Any ideas?  I've attached a screenshot of the export error for your viewing pleasure.

    Let me know if you need any other information.

    Thanks,
    Allen
  2. Allen Smothers
    Allen Smothers avatar
    40 posts
    Member since:
    Nov 2006

    Posted 09 May 2011 Link to this post

    Anyone have any ideas?

    Thanks in advance,
    Allen
  3. DevCraft banner
  4. Peter
    Admin
    Peter avatar
    1611 posts

    Posted 09 May 2011 Link to this post

    Hello Allen Smothers,

    The error seems to be a problem with the http handler configuration. However, to further troubleshoot the issue you have to check with the Fiddler tool what is the server response after you click the Preview button. Please, save the relevant sessions from File -> Save -> All Sessions (or Selected Sessons) and send them to us so that we can review them locally. Additionally our recommendation is to review the handler configuration in the demos web.config.

    Kind regards,
    Peter
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Allen Smothers
    Allen Smothers avatar
    40 posts
    Member since:
    Nov 2006

    Posted 11 May 2011 Link to this post

    Thanks for the help.

    I've compared the web.config from both the demo project and our own and added/updated the necessary handlers but both problems still exist.  I'm working on getting you a fiddler session now.

    Thanks again,
    Allen
  6. Allen Smothers
    Allen Smothers avatar
    40 posts
    Member since:
    Nov 2006

    Posted 11 May 2011 Link to this post

    Hello Peter,

    I've opened a support ticket (423293) with the attached zip file containing the Fiddler sessions.  The last two sessions are when I attempt to export and click the print button in IE.

    Thanks again,
    Allen
  7. Chavdar
    Admin
    Chavdar avatar
    898 posts

    Posted 17 May 2011 Link to this post

    Hello Allen,

    We have already answered your question in the support thread but still here is the answer:

    The problem is related strictly to IE and the response header which is set by your web server. In order the PDF file to be opened the Cache-Control should not be set to no-cache as the file should be 'cached' somewhere in order to be opened later. For more information, please check the Internet Explorer file downloads over SSL do not work with the cache control headers KB article from Microsoft which explains the problem in detail. The behavior is reproducible both w/ and w/o SSL. When our response from the report viewer's http handler is formed it is explicitly set to HttpCacheability.Private so it gets somehow overridden afterwards by your system. You can check our online demos as a proof.


    Kind regards,
    Chavdar
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. Travis
    Travis avatar
    223 posts
    Member since:
    Jan 2003

    Posted 05 Dec 2012 Link to this post

    I'm getting the error "Unable to download Telerik.ReportViewer.axd" intermittently using IE8 and version 5.0.11.316 of the report control when trying to export.  In Fiddler I observed that the header "Cache-Control" is set to "private,no-cache='Set Cookie'".  If I close my browser and try again, it exports fine without errors.  The "Cache-Control" header in Fiddler when this works is set to "private".  Any idea why this might work intermittently?  Is there something I can set in web.config so that "cache-control" is always just "private"?

    I have not tried this with the latest version of the reporting control, I may do that next.
Back to Top
DevCraft banner