Response.ContentType application/vnd.ms-excel xls stopped working

岁酱吖の 提交于 2019-11-30 18:15:42
xelvis42

The issue is related to Microsoft Security Update KB3115262 for Excel that was released July 12, 2016. The security update information can be found in Microsoft Security Bulletin MS16-088 - Critical.

I've found three workarounds (in my order of preference):

  • Instead of clicking Open, save the file and then open it
  • In Excel Trust Center > Trust Center Settings > Protected View, uncheck the top two options. This is potentially unsafe.
  • Uninstall the security update.

Below are several links regarding the issue for further perusal. https://social.technet.microsoft.com/Forums/en-US/d2d84793-9920-45e3-baef-5027a4ac1ae0/kb3170008-for-office-2016-breaks-functionality-ms16088?forum=officeitpro

https://technet.microsoft.com/library/security/MS16-088

https://salesforce.stackexchange.com/questions/131404/end-user-cannot-open-a-xls-report-exported-from-salesforce

Export HTML Table to Excel- Doesn't Open in Office 2010

You can also go to properties of the file and click Unblock.

I think is safer than change the Excel Trust Center

For Windows 10 users, add the Excel download site URL to your list of Trusted Sites in Windows 10 Internet Options > Security > Trusted Sites > Sites then download and open the Excel Workbook via your MS Edge browser.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!