msSaveBlob, msSaveOrOpenBlob fail when IE Enhanced Security Configuration is on


  • When trying to get a file to download in IE 11 through javascript using msSaveBlob and msSaveOrOpenBlob I get an error message stating that the file couldn't be downloaded. Ive tried adding the site to Trusted sites but this does not fix the problem. Turning off IE Enhanced Security Configuration in Server Manager however does seem to fix the issue and files download successfully.

    Is there any way to download files using msSaveBlob or msSaveOrOpenBlob while keeping IE Enhanced Security Configuration on?

    IE version: 11

    OS: Windows 2012 R2, Windows 2016

    Monday, February 05, 2018 5:55 AM

All replies

  • Hi jayjay2018,

    According to your description, I suggest you could firstly check the Trusted sites' security setting.

    I suggest you could follow below steps to check the setting.

    1.Open internet opintions

    2.Locate the security Trusted sites.

    3.Turn down the security level or use the custom level to enable javascript and download.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Tuesday, February 06, 2018 2:30 AM