Shawn Weisfeld

I find when I talk to myself nobody listens. - Shawn Weisfeld
posts - 352, comments - 144, trackbacks - 34

My Links

News

The views expressed in this blog are mine and mine alone, not that of my employer, Microsoft, or anyone else’s. No warrantee is given for the quality of any material on this site.

Archives

Post Categories

Cannot export Local Reporting Services Reports to excel or pdf?

If you get the following error when trying to export a Local Reporting services report to excel or pdf:

Internet Explorer cannot download … ReportViewerWebControl.axd from <server name>
Internet explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later.

 

clip_image001

 

You might want to check the properties on your virtual directory. Here is mine before I made the change. As you can see it is set to “no-cache”. What I think is happening is that IE downloads the excel/pdf file (confirmed this via fiddler) then deletes it, then tries to open it.

 

clip_image002

 

To fix the issue I removed the three lines in the middle:
Cache-Control: no-cache
Pragma: no-cache
Expires: 0

Hope this helps you out. . . .

Print | posted on Wednesday, April 21, 2010 11:15 PM | Filed Under [ Reporting Services ]

Feedback

Gravatar

# re: Cannot export Local Reporting Services Reports to excel or pdf?

Hi! What if there's no custom HTTP headers like those, and still I cannot download the file, with the same message on the server?

Thanks in advance
8/17/2010 2:58 PM | marco padierna
Gravatar

# re: Cannot export Local Reporting Services Reports to excel or pdf?

Very hard to say without more info. . . :(
8/18/2010 6:52 AM | shawnweisfeld

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 7 and 1 and type the answer here:

Powered by: