remove response header X-Content-Type-Options in aspx page not working RRS feed

  • Question

  • Respected Sir,

    We are using urn:schemas-microsoft-com:office:spreadsheet for opening Excel file.

    But after adding the  <add name="X-Content-Type-Options" value="nosniff" /> in IIS, download Excel File option is not displayed, instead it displays whole XML text content in aspx page while clicking on download page.

    Could you please help on this as this is URGENT for us to deliver.



    • Moved by CoolDadTx Monday, November 5, 2018 3:15 PM ASP.NET related
    Monday, November 5, 2018 9:07 AM

All replies

  • Please post questions related to ASP.NET in the ASP.NET forums.

    Michael Taylor http://www.michaeltaylorp3.net

    Monday, November 5, 2018 3:15 PM
  • Hope this is related to IIS configuration which is part of ASP.net. Hence posted. Please advice in which category I need to post
    Monday, November 5, 2018 5:23 PM