Jan 1, 2008

Internet Explorer cannot download MyPage.aspx from MyWebSite.com

Why do I get error message "Internet Explorer cannot download MyPage.aspx from MyWebSite.com ..."?

This happens for example, whe you try to export data to excel from a datagrid.
The problem occurs if the server is using Secure Sockets Layer (SSL) and has added one or both of the following HTTP headers to the response message:

Pragma: no-cache
Cache-control: no-cache,max-age=0,must-revalidate