Results 1 to 2 of 2

Thread: Downloading File Causes IE To Crash

  1. #1

    Thread Starter
    Wait... what? weirddemon's Avatar
    Join Date
    Jan 2009
    Location
    USA
    Posts
    3,826

    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.


    ASP.NET Code:
    1. <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...
    Last edited by weirddemon; May 2nd, 2012 at 09:38 AM.
    CodeBank contributions: Process Manager, Temp File Cleaner

    Quote Originally Posted by SJWhiteley
    "game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....

  2. #2
    Frenzied Member MattP's Avatar
    Join Date
    Dec 2008
    Location
    WY
    Posts
    1,227

    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.
    This pattern in common to all great programmers I know: they're not experts in something as much as experts in becoming experts in something.

    The best programming advice I ever got was to spend my entire career becoming educable. And I suggest you do the same.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width