Solved

Configuring my server to run CGIs.

Posted on 1998-07-23
4
158 Views
Last Modified: 2013-12-25
I have a CGI script to execute my form, but when I submit the form, I get the error '%1 is not a valid Windows NT application'.  I know that this means my server(NT 4.0) is not configured correctly to run CGIs.  My question is, how DO I configure the server to do this?
0
Comment
Question by:khenness
[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
4 Comments
 
LVL 6

Expert Comment

by:alamo
ID: 1831144
Are you certain the script .exe is a 32-bit executable?

What kind of script? What application runs the script?

What kind of server, and what version?
0
 

Author Comment

by:khenness
ID: 1831145
Edited text of question
0
 
LVL 7

Accepted Solution

by:
jconde earned 100 total points
ID: 1831146
Hi.

First, as alamo stated, make sure it's a 32 bit application.... (VB5, Delphi 3, C++ Builder, BC 5.0, VC5...all of these compile to 32 bits.)

To configure the server all you need to do is the following:

Start
  Programs
     Microsoft Internet Server (Common)
         Internet Service Manager
            Double Click in WWW (Running)
               Directories Panel
                  - Check if the path where your CGI is, is shown.
                    if not shown, ADD a new directory, and specify the EXECUTE option.
                    else
                    if shown, double click in the path, and specify the EXECUTE option.
         
If you have any more problems, please get back to me!

jconde  
0
 
LVL 6

Expert Comment

by:alamo
ID: 1831147
What kind and version of *web* server?

Normally if the directory isn't mapped for scripts the 501 Not Supported error will come up, not "is a valid executable". But the errors aten't always consistent.
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

730 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