1
I have a testeexcel.Asp file for excel generation:
<%@ 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 opening in excel the file is empty. If I open it in Notepad++ save without changing anything and try to open in excel again it opens normally. Follow the link to test 104.41.63.35/testeexcel.Asp
I tried to configure file encoding but it didn’t work at all. Any hints?
Environment: Windows server 2012 with IIS 8