This is a migrated thread and some comments may be shown as answers.

Problems with ReportViewer in IE8...

6 Answers 168 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Allen Smothers
Top achievements
Rank 2
Allen Smothers asked on 04 May 2011, 04:35 PM
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

6 Answers, 1 is accepted

Sort by
0
Allen Smothers
Top achievements
Rank 2
answered on 09 May 2011, 03:08 PM
Anyone have any ideas?

Thanks in advance,
Allen
0
Peter
Telerik team
answered on 09 May 2011, 05:50 PM
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
0
Allen Smothers
Top achievements
Rank 2
answered on 11 May 2011, 04:14 PM
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
0
Allen Smothers
Top achievements
Rank 2
answered on 11 May 2011, 04:44 PM
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
0
Chavdar
Telerik team
answered on 17 May 2011, 09:12 AM
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
0
Travis
Top achievements
Rank 1
answered on 05 Dec 2012, 05:34 PM
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.
Tags
General Discussions
Asked by
Allen Smothers
Top achievements
Rank 2
Answers by
Allen Smothers
Top achievements
Rank 2
Peter
Telerik team
Chavdar
Telerik team
Travis
Top achievements
Rank 1
Share this question
or