IIS settings allow download. exe file resolution

Source: Internet
Author: User

Many customers recently used the IIS server, and then prompted to return to the treasure download cannot be found and so on cannot download the problem. Cashback is an. exe installation file, and some servers or hosts may not be able to download.

First, if it is your own server or VPS, please press the following settings:

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

According to the above method, after restarting IIS or unable to download the. exe file, has been prompted 404 error, but RAR files can be downloaded, do not know where the problem, worry about the long time, and then Google search "win2003 exe file Download Settings", Find a more detailed solution. Add the following steps:

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".

Find the IIS Execute permission settings, the system is "pure script or executable file", changed to "pure script", again try to download the. exe file, finally jumped out of the Thunder Download prompt dialog box, set up successfully.

If it is, you can try the third step (if you have PHP support, you have to distinguish it by yourself OH):

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.

IIS settings allow download. exe file resolution

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.