This is a CGI error and most commonly occurs when running a Perl script.  Here’s a checklist of the most common problems that cause this error:

  1. Do you have the correct path to Perl in the first line of your script?
  2. Are the script’s file permissions set correctly?
  3. Has the script been uploaded in ASCII mode (in your FTP program settings)?
  4. Is there a syntax error in the Perl code of your script?
Posted 2008-03-25 in Web Development