When IIS downloads the exe file, the following error occurs: Error 502.2 (the gateway is invalid)

Source: Internet
Author: User

 

After citrix wi is configured to download the local client today: the error 502.2 (the gateway is invalid) is returned when IE is used for download)

Other types of files can be downloaded. Do the following to resolve the problem:

1. Set "mime" to allow iisto support more files. If" .exe "already exists in" mimeide ", skip this step.
Open IIS, select the server, right-click, and the property contains the MIME type
Add Extension:. exe
Type: application/octet-stream

2. You can set the access permission for the home directory of the website.
Open the iis manager, right-click the website, and choose Properties> Home Directory. Set the execution permission to "NONE" or "Pure script" to cancel the executable file ". For IIS7, make the following settings,

After the above two steps, the problem has been solved.

3. If the problem persists in the previous step, you can disable "all unknown cgi extensions" and "all unknown isapi extensions" in "web service extensions" in iis manager, only "asp" and "asp.net" are retained ".

Related Article

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.