I have a report generated by a reporting control on a .Net page that generates just fine using an SSL connection or not. The problem is when using the SSL connection the control won't link to the generated Excel document correctly. On clicking Export the
dialog box indicates:
When exporting using the non SSL site the Name line indicates the name of the expected spreadsheet (spreadsheet.xls).
UPDATE:
The problem persists. I found an article that provided a glimmer of hope but didn't work in my instance. You can see it [HERE].
From the site: ". . . so Response.ClearHeaders() and setting headers to "Pragma:public" and "Cache-Control:max-age=0" made it work."
I've set the headers in IIS and called ClearHeaders from my code behind. It may have worked for the comment poster but sadly not for me.
I am at a total roadblock on this and any assistance would be greatly appreciated.
Please mark the post(s) that have helped you as "Answer"
I'm better at brewing beer than crafting code but I have to do the latter to do the former. Will code for malt.
newsomer
Member
587 Points
216 Posts
Excel Export and SSL
Sep 23, 2008 08:16 PM|LINK
I have a report generated by a reporting control on a .Net page that generates just fine using an SSL connection or not. The problem is when using the SSL connection the control won't link to the generated Excel document correctly. On clicking Export the dialog box indicates:
When exporting using the non SSL site the Name line indicates the name of the expected spreadsheet (spreadsheet.xls).
UPDATE:
The problem persists. I found an article that provided a glimmer of hope but didn't work in my instance. You can see it [HERE].
From the site: ". . . so Response.ClearHeaders() and setting headers to "Pragma:public" and "Cache-Control:max-age=0" made it work."
I've set the headers in IIS and called ClearHeaders from my code behind. It may have worked for the comment poster but sadly not for me.
I am at a total roadblock on this and any assistance would be greatly appreciated.
I'm better at brewing beer than crafting code but I have to do the latter to do the former. Will code for malt.