Solved

CGI on IIS6 will not execute exe it will try to download instead

Posted on 2010-11-18
3
736 Views
Last Modified: 2013-12-25
Hi,

We are setting up an application on server 2003 with IIS 6 we have created a site and the directories using port 82 we have allowed all unknown CGI and ISAPI to run and also created a "new web service extension" specifically for our exe and pointed it to the correct location. Whenever we try to browse to the site using port 82 we get error 404 or via port 80 it simply tries to downoload the exe.

Any thought please?
0
Comment
Question by:CompTroub
  • 2
3 Comments
 
LVL 9

Expert Comment

by:crawfordits
ID: 34169789
328360 How to enable and disable ISAPI extensions and CGI applications in
IIS
http://support.microsoft.com/?id=328360

328419 How To Add and Remove Web Service Extension Files in IIS 6.0
http://support.microsoft.com/?id=328419

If the folder containing the CGI has "Scripts and Executables" Execute
permissions and the CGI is enabled in Web Service Extensions, it will
execute on the server.

If you do not have "Scripts and Executables", then CGI will be downloaded.
If you do not enable CGI in Web Service Extensions, you will get 404.

Also please verify CGI.
0
 

Accepted Solution

by:
CompTroub earned 0 total points
ID: 34169813
that wa all done thanks. We figured it out. We had to create a virtual directory under the site and assign rights and the executable to that all is good.

thanks
0
 

Author Closing Comment

by:CompTroub
ID: 34195153
Fixed myself
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question