Windows Server 2003 server cannot download an. exe file resolution _win Server

Source: Internet
Author: User

Today set up a Windows Server 2003 Web server, found that after opening the Web page can not download the. exe file in the website, after the research problem can be solved, to make a memo.

The workaround is simply to set the Execute permission in the site properties to "plain Script" in IIS.

Attachment: Windows Server 2003 server cannot download exe-suffix file solution

In the actual operation, only the second step is successful,

That is: Open IIS Manager, right-click the Web site-click Properties-Home directory, set execution permissions to None or "pure script", that is, cancel "executable file."

Detailed Troubleshooting steps:

1. Set MIME to allow IIS to support more file types, which can be skipped if an. exe is already in the MIME type.

To open IIS, select the server, right-click, property has MIME type
Add extension:. exe
Type: Application/octet-stream

(common MIME type
Hypertext Markup language text. html,.html text/html
Plain text. txt text/plain
Rich text. rtf application/rtf
gif graphics. gif imag E/gif
JPEG graphics. ipeg,.jpg image/jpeg
au sound file. Au audio/basic
midi music file Mid,.midi Audio/midi,audio/x-mi Di
RealAudio music files. RA,. Ram audio/x-pn-realaudio
MPEG file. mpg,.mpeg video/mpeg
avi file. avi Video/x-ms Video
gzip file. gz application/x-gzip
Tar file. Tar application/x-tar)

2. If the previous step does not solve the problem, you can set up a visit to the site's home directory Ask permission.   

To open IIS Manager, right-click web site-click Properties-Home directory, set execution permissions to none or pure script, cancel executable.

3. If the previous step still does not resolve the problem, you can disable all unknown CGI extensions, all unknown ISAPI expansions, and only "ASP" and "ASP.net" in the Web service extensions in IIS Manager.

After three steps, the problem should be resolved by allowing you to download other file types in the same way.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.