Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Downlaod .exe file on the browser.  (Read 2946 times)

0 Members and 1 Guest are viewing this topic.

Chetan Singh

  • Full Member
  • ***
  • Posts: 123
  • Karma: +2/-0
  • Bienvenido a las Tecnologías de la Admin-Ahead.
    • Admin-Ahead Server Technologies.
Downlaod .exe file on the browser.
« 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,
Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!