• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2046
  • 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
0
iqbalshamsi
Asked:
iqbalshamsi
1 Solution
 
meverestCommented:
Hi,

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

Cheers.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

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