The message says:
To protect your security, Windows Internet Explorer has blocked this site from downloading files to your computer. Click here for more options ...
I get this error when I try to initiate a download after successfully populating the CAPTCHA in my ASP.NET website (C #).
Has anyone encountered this problem before? If so, let me know how you tried to make it work. I have no way to remove AJAX calls in my code.
This issue seems to be specific to IE7. The work proposed for this Microsoft problem is as follows:
To ensure that your website’s download is not blocked, do not start the file download automatically. Instead, use hyperlinks or buttons that require user action. If you use a script to navigate to a resource, it must be executed synchronously in the context of the OnClick event handler for the link.
I even tried to create a button dynamically and start a click after completing my AJAX call. Even then, the problem is not resolved.
source
share