Last night the CGI (perl) scripts didn't work. The error was: The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: (nothing else)
Everything looked fine onthe server. I reinstalled Perl anyway.
The scripts started working.
Today again I get the same error.
What does this error mean? And how can I fix it? If it's more complicated than I think, please sticky.
Thanks all.
Mike
Try running the script via command line and see what happens. We just need more info to do a good job analyzing what's happening.
The main script is a guestbook script. I just tried another perl script and that returned the same error.
When I called the script from the command line I was able to see the resultant HTML code.
I'm running IIS5.0 on W 2000.
Perl is new. Last night I did a "repair", tonight I"ll try an uninstall/reinstall of the Perl.
Two days ago a client reported this same error. When I checked it, it was working. Later that day the error returned. Last night I did the "repair" and it was working. This morning the same error returned.
I also have a form-mail script. That is not working as well - same error.
The Path to Perl is correct. I checked the ASP extensions and the PERL server variables are in the correct place.
Thanks for your help!
Mike
useCGI::Carp qw (fatalsToBrowser);
That will kick any fatal errors to the browser.
More than likely you have something that is getting executed before the script sends out the content type. When that occurs, the webserver doesn't know what content it is dealing with and errors. That could be happening for quite a few reasons, but probably there is something different that is occuring between the various runs of the script to cause it to error.
Three hours later - same error with nothing written to the browser. I've used that line of code in other PERL scripts so I do know when it works.
And it's every perl script on the server.
What about Norton? Could that be interfering with scripts? I know they have a script blocking part of their virus protection. I can't recall where to disable it.
VOODOO???????
Brett, what would cause them to come in and out like that? I'm going to check Norton and see what happens.
I put the URL in my profile if anyone is brave enough to check it.
edit: And now it's out again.
This is baffling.