.Net, ASP.Net, C#, VB.net, SQL Server, Xml, CSS, Design Patterns related tips, tricks, code snippets, articles, links, thoughts, etc. from Binu & Subi Thayamkery.

Binu Thayamkery is a seasoned software architect with more than 13 years of experience in developing enterprise grade connected systems using Microsoft Technologies. In his current position as a lead consultant-solution architect with Prudential Financial, he is working on architecture of next generation investment reporting framework using .net 3.5/WCF/AJAX, etc. He holds a Masters Degree in Computer Science from Colorado State University. Subi Thayamkery is an experienced software developer with more than 8 years of developing various application software systems ranging from workflow automation systems to compliance management tools. She currently works as a technology consultant for Prudential Financial where she helps develop a new system for corportate governance department. She holds an Electrical Engineering degree from New Jersey Institute of Technology.

Tuesday, December 20, 2005

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!

0 comments: