?
Solved

cgi hangs when submitting a form

Posted on 1998-09-25
6
Medium Priority
?
259 Views
Last Modified: 2013-12-25
I have IIS 4.0(evaluation copy) running on windows NT4.0 with servicepack3 and optionpack.  My CGI is an exe written in C which outputs a form and the same CGI is processing the posted data.  It is working fine till it outputs the form and when I submit the form the CGI hangs.  What could be wrong?.  

PLEASE HELP !!!

0
Comment
Question by:bjv
[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
6 Comments
 

Author Comment

by:bjv
ID: 1828820
Edited text of question
0
 
LVL 1

Expert Comment

by:Bonev
ID: 1828821
It could be anything.
The first thing you should do is to figure out where exactly it hangs. Put some debug output and try to isolate the problem part.

0
 
LVL 7

Expert Comment

by:jconde
ID: 1828822
The most  possible causes are:

1)  you have an infinite loop somewhere
2)  Windows NT is not that nice (CGI wise) you probably have a null pointer somewhere.

Please post a copy of your cgi in order to help you out

jorge
0
Major Serverless Shift

Comparison of major players like AWS, Microsoft Azure, IBM Bluemix, and Google Cloud Platform

 
LVL 1

Expert Comment

by:slinky
ID: 1828823
Are you flushing stdout?
0
 
LVL 1

Expert Comment

by:rcashon
ID: 1828824
bjv, What kind of compiler are you using ? I have quite a few CGIs in C for my current project using Visual C++ with IIs 4.0. I did have a problem similiar to what you have stated. Make sure that you are using a 32bit compile and not 16 bit. Your CGI will function, but it will not terminate... If this is not the answer, how about posting some soucrce. Sounds like you are going through the same type of problems that I have had...

Randall
0
 
LVL 1

Accepted Solution

by:
rcashon earned 100 total points
ID: 1828825
bjv, What kind of compiler are you using ? I have quite a few CGIs in C for my current project using Visual C++ with IIs 4.0. I did have a problem similiar to what you have stated. Make sure that you are using a 32bit compile and not 16 bit. Your CGI will function, but it will not terminate... If this is not the answer, how about posting some soucrce. Sounds like you are going through the same type of problems that I have had...

Randall

0

Featured Post

Congratulations! You’re Certified – Now What?

Starting a new career can be overwhelming. Becoming certified in your field of expertise is a great start, but where do you go from here?  Here are some tips to help you on your career journey.

Question has a verified solution.

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

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…
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
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…
Suggested Courses

800 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