Mike-Ward.Net

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>

It’s not that this is hard, I just couldn’t find any documentation. After what seemed like way to long searching for an answer, I thought it might be helpful to post my solution, which I never did find on line.

← newer older →
.Net, Technology, Life, Whatever

Recent Posts

VSColorOutput for VS 2017 Released
Quick ReSharper tip for inline templates
NoSQL vs. NewSQL: What's the Difference?
Exploring Mithril, A JavaScript Framework for Building Brilliant Applications
Tweetz 1.1
Tweetz Desktop 1.0
Tweetz 0.11 Released
More... (1073)

Donate with PayPal