Downloading File Causes IE To Crash
I'm downloading a file from my intranet site and on Chrome, it works as expected. But when I try it on IE, it crashes.
http://i.imgur.com/jBEY5.png
ASP.NET Code:
<a href="../nbd.exe">TEST</a></h2>
Is there something I need to do just for IE?
*Edit: Also, it works fine in Opera and Firefox. So just IE...
Re: Downloading File Causes IE To Crash
I ran across this in the past. Basically the .NET Framework is using MIME filters to intercept certain file types. When it catches one it checks to see if it's a .NET binary. If so it tries to run the program in a sandbox rather than give the option to Run/Save/Cancel.
Your Options:
1. Right click the link and choose Save As
2. Set the content disposition in the response header.
3. Wrap your exe in a MSI, ZIP, etc.