Resolution for a Windows Server 2003 server that cannot download an. exe file

Source: Internet
Author: User

Today, a Windows Server 2003 Web server was set up, and it was found that it was not possible to download the. exe file in the Web after the Web page was opened, and was resolved by a research issue.

The workaround is very simple, just set the Execute permission in the Web site properties to "script only" in IIS.

Attached: Windows Server 2003 server cannot download exe as suffix file resolution

During the actual operation, only the second step was successful,

That is: Open IIS Manager, right-click on the Properties-home directory, set the Execute permission to "none" or "pure script", that is, cancel "executable file".

Detailed Troubleshooting steps:

1. Set the MIME to allow IIS to support more file types, which can be skipped if there is already an. exe in the MIME type.
  
Open IIS, select Server, right click, MIME type in attribute
Add extension:. exe
Type: Application/octet-stream
  
(Common MIME Types
Hypertext Markup Language text. html,.html text/html
Plain text. txt Text/plain
RTF text. rtf Application/rtf
GIF graphics. gif image/gif
JPEG graphics. Ipeg,.jpg Image/jpeg
Au sound file. Au audio/basic
Midi Music files Mid,.midi Audio/midi,audio/x-midi
RealAudio music files. RA,. Ram Audio/x-pn-realaudio
MPEG files. Mpg,.mpeg video/mpeg
AVI file. avi Video/x-msvideo
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 the site home Directory access permissions.
  
Open IIS Manager, right-click on the Properties-home directory, set the Execute permission to "none" or "script only", that is, cancel the "executable file".
  
3. If the previous step does not resolve the problem, you can disable all unknown CGI extensions in the Web service extensions in IIS Manager, and all unknown ISAPI expansions, leaving only ASP and ASP.
  
After the three steps above, the problem should be resolved, and the method of allowing other file types to be downloaded is the same.

From:http://www.jb51.net/article/51423.htm

The Windows Server 2003 server cannot download the. exe file workaround

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.