Admin-Ahead Community

Windows => General Windows => Topic started by: Chetan Singh on October 29, 2013, 08:32:39 pm

Title: Downlaod .exe file on the browser.
Post by: Chetan Singh on October 29, 2013, 08:32:39 pm
Hi,

I have seen some cases where customers were unable to download .exe files on the browser. It is showing "File not found" error while accessing .exe files on the browser. Even .exe MIME type is already added in IIS. To make this work, you need to add these code in Web.config file (only for IIS7).

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

If .exe MIME type is not added, please add this::-    .exe = application/octet-stream

Now, go ahead and check this, it should be fine and .exe files should start getting downloaded.

Thank you,