Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Keith R Hubbard 175 posts 403 karma points
    Apr 06, 2011 @ 04:00
    Keith R Hubbard
    2

    404 - File or directory not found. when setting up a .exe file download

    Recieve 404 error when trying to setup download of .exe files from a link or a directory. 

    Thanks to Blus Onion Software here is a refeence. 

    http://blueonionsoftware.com/blog.aspx?p=baecdd86-1a91-4d63-86cf-90e5916d58a3

     

    How to configure IIS 7 to allow downloading .exe files

    If you’re finding that you’re getting 404 errors when trying to download executable files, add the following to your web.config (IIS 7 only).

    <system.webServer>
    <handlers>
    <add name="Client exe" path="*.exe" verb="*" modules="StaticFileModule" resourceType="File" />
    <handlers>
    <system.webServer>

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Apr 06, 2011 @ 07:17
    Jan Skovgaard
    1

    Hi Keith

    Thanks for sharing. It's good to know how to handle this.

    I guess this can also be handled directly in IIS, right?

    /Jan

  • Oluwole Kolawole 32 posts 53 karma points
    Feb 12, 2012 @ 16:05
    Oluwole Kolawole
    0

    Hi Keith,

    Thanks for this solution...it was exactly what I needed to solve a problem that I had with a new hosting account with GodsWeb. Their technical support correctly diagnosed that it was something to do with the web.config file but were unable to tell me what exactly to do to solve it.

    Your post here has been the life saver. Thanks again.

    Regards,

    Wole.

  • Damian Chambers 23 posts 87 karma points
    Apr 12, 2015 @ 05:34
    Damian Chambers
    0

    I have this line in my webconfig; yet I still get the 404 error for my exe file. (Oh, erase that, it worked.) I was modifying the incorrect web.config file. Thanks much!

Please Sign in or register to post replies

Write your reply to:

Draft