Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

ASP.NET application in IE11 throwing error - .xls couldnt be downloaded. Error is only with IE11. Working in other browsers.

$
0
0

Hi,

In my ASP.NET application (VS2013), excel file dowload function is written as below.

 Response.Clear()
 Response.AddHeader("content-disposition","attachment;filename=xyz.xls")
 Response.ContentType = "application/vnd.xls"
....
....
 Response.Flush()
 HttpContext.Current.ApplicationInstance.CompleteRequest()

It is working fine in IE8, Mozilla and chrome

but in IE11 its not working properly.Giving error "xyz.xls couldnt be downloaded"

Strange thing is that, on very few client systems it works in IE11 too.

Please help on this.

Thanks in advance for your help !


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>