[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2015
  • Last Modified:

How to make .exe file downloadable from server running IIS 7 on Windows Server 2008?

I have uploaded and .exe file on my server which is running IIS7 on Windows Server 2008. When I try to access the url in order to download it. It does allow me to access that URL. It give following error.

HTTP Error 404.2 - Not Found
The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server.

Module      CgiModule
Notification      ExecuteRequestHandler
Handler      CGI-exe
Error Code      0x800704ec
Requested URL      http://www.myserver:80/vd/myapp.exe
Physical Path      D:\web\app\vd\myapp.exe
Logon Method      Anonymous
Logon User      Anonymous
1 Solution

create a mime type in IIS manager for '.exe' file type.  make it something like 'x-application/download'


Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now