IIS 7 and Above
How to solve HTTP-Error 502.1 - Bad Gateway ??
Last post Jan 05, 2012 10:50 AM by fc.ing
Dec 15, 2011 02:22 PM|fc.ing|LINK
The computer uses Windows Server 2008 R1 with IIS 7.0 and it runs a building management system that should open a "Test.exe" file when the user clicks a button.
Upon clicking the button, the link "localhost/docs/Test.exe" is executed in Internet explorer to open the file.
However, instead of opening the file, i get a "HTTP-Fehler 502.1 - Bad Gateway" error.
How do i solve this??
Thank you very much
Dec 15, 2011 05:26 PM|HCamper|LINK
The 502.1 - Bad Gateway Error MS KB942059 http://support.microsoft.com/kb/942059 .
IIS Server reference & Settings:
Stack Over Flow Why do I Get "Bad Gateway Errors" Perl and CGI Program on IIS Server.
Dec 19, 2011 05:53 AM|Leo Tang - MSFT|LINK
As Martin mentioned, the error returned by CGI handler. If you want to download test.exe file directly, you can disable the handler mapping by using steps below:
1. Open IIS Manager, navigate to your site
2. Double-click handler mappings, click Edit Feature Permissions... in right Actions pane
Or you remove the handler mapping for .exe directly.
Dec 19, 2011 12:32 PM|HCamper|LINK
I suggest you look at Impact of Session 0
if your executing the test.exe.
Jan 05, 2012 10:50 AM|fc.ing|LINK
TQ Leo Tang, problem solved