HTTP 502 Error while downloading exe from website

Level: Beginner

Have you ever got HTTP 502 error or CGI error while trying to download an exe from an IIS 5.0/ASP website ? If yes, it is worth checking “Execute Permissions” on that virtual directory. If the permissiona are set to “Script Only” then the executable files are treated like static HTML files and when try to access with a link like this, download of the file will start. If this is set to “Scripts and Executables” it will think that you are trying to execute the exe and will end up in HTTP 502 or CGI error in IIS!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s