I have the file testeexcel.asp used to generate excel file in classic asp:
<%@ Language=VBScript %>
<%
Response.AddHeader "Content-Disposition", "attachment; filename=excelTest.xls"
Response.ContentType = "application/vnd.ms-excel"
%>
<table>
<tr>
<td>Test</td>
</tr>
</table>
but when open in excel, the file is blank. If opened in notepad++, saved and reopened in excel the file works. See the link to test 104.41.63.35/testeexcel.asp
How to configure the file or IIS to resolve this problem?
Environment: Windows server 2012 - IIS 8.5