We help IT Professionals succeed at work.

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

Medium Priority
2,115 Views
Last Modified: 2012-05-06
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
Comment
Watch Question

Top Expert 2008
Commented:
Hi,

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

Cheers.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.