Link to home
Create AccountLog in
Avatar of VINAGAME_SD
VINAGAME_SDFlag for Viet Nam

asked on

Can't export to file by using report control

Hi,

I have a problem with reportviewer control that can't export to excel/pdf... file.
After choosing mode file and click on "Export" button to export file, I have received an error message as follows:

---------------------------
Windows Internet Explorer
---------------------------
Internet Explorer cannot download ...ed.ReportViewerWebControl.axd from localhost.



Internet Explorer was not able to open this Internet site.  The requested site is either unavailable or cannot be found.  Please try again later.
---------------------------
OK  
---------------------------


Can anybody help me out?

Many thanks,
Vinh
untitled.JPG
Avatar of Chris McGuigan
Chris McGuigan
Flag of Canada image

Bit of a long shot here, try clearing the browsers cache.
This has worked for me occasionally when odd things start happening.

Have you tried this in another brpwser such as Firefox?

May be a couple of possible solutions here relating to caching, and SSL.

http://forums.msdn.microsoft.com/en-US/vsreportcontrols/thread/bcf792f4-4da3-4dac-b689-60168e695683/

http://www.manning-sandbox.com/message.jspa?messageID=49926
Avatar of VINAGAME_SD

ASKER

I have found out the cause of the problem that Having others module catch http event (by implement System.Web.IHttpModule) and modify it so that export/print function of report viewer didn't work.

Anyway, thanks for your reply to all
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of PaulRi
PaulRi

I have wrestled with this problem for some time and have found a solution.  It is in the Internet Explorer Options Advanced Tab.  I had a check mark in the “Do not save encrypted pages to disc” option and with this option cleared I can download the .axd file and complete the data export.

Regards, Paul Richardson.