Solved

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

Posted on 2010-11-18
3
734 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

770 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