Solved

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

Posted on 2010-11-18
3
742 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
convert Systemjs to Webpack 3 125
-OutVariable to Global 1 32
Error when Running powershell script 6 45
Enable TLS 1.2 for SQL 2012 Web Edition 1 24
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
The viewer will learn how to count occurrences of each item in an array.
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…

734 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