开发者

internet explorer was not able to open this internet site the requested site is either unavailable or cannot be found.Please try again later

开发者 https://www.devze.com 2023-02-03 03:24 出处:网络
When im t开发者_开发技巧ry to export to excel from my web page im getting this error. can anyone please help me.

When im t开发者_开发技巧ry to export to excel from my web page im getting this error.

can anyone please help me.

Thanks, smartdev


Had the same problem with IE8 and Exporting to Excel that worked in all other browsers.

The culprit for me was setting "NoCache" for the response headers: HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.NoCache);

Once I removed this response header for the Excel Export page, it worked.

By the way, your App might be doing this automatically, so you may have to programatically remove this response header in your page. Make sure you do that before outputting any content.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号