How to solve the error ‘HTTP Error 502.2 - Bad Gateway’ or ‘HTTP Error 404.2 – Not Found’ when downloading CloudAppLauncher_Installer.exe

Symptom

When the user runs the PowerClient/PowerServer application, it reports the HTTP Error when downloading CloudAppLauncher_Installer.exe, as shown in the screenshot below:



Cause

The handler mapping ‘CGI-exe’ in IIS of the Web server is what causes this issue.

Solution

PowerClient/PowerServer application doesn’t need the handler mapping "CGI-exe", so you can follow the steps below to disable it on the CloudAppPublisher folder to solve the issue:

1. Go to Internet Information Services (IIS) Manager > Website > CloudAppPublisher.

2. Double-click on "Handler Mappings".


3. Select "CGI-exe" and click on "Edit Feature Permissions…".


4. Uncheck "Execute" and click "OK" to save it, then the "CGI-exe" would be disabled on the CloudAppPublisher folder.