Loading ...
Sorry, an error occurred while loading the content.

3574RE: [soaplite] CGI: IIS 6 behaving differently to IIS 5

Expand Messages
  • Matt Long
    May 12, 2004

      Just enter the exact error message into a google search and you will get a bunch of possibilities. I ran it and saw that people were suggesting things such as:


      -          The header is getting sent twice ( check the output for this line: “Content-type: text/html\n\n” )

      -          The script is not exiting out when a redirect occurs

      -          Script permissions aren’t set properly

      -          .cgi has not been added to IIS as an extension

      -          etc.


      Another thing to do is to create a more trivial script, like this:




      print “Content-type: text/html\n\n”;

      print “hello world!”;



      Test that out. If that works, then start removing code from your script until it does actually run. Then you’ll know approximately which code is failing.


      Best regards,





      -----Original Message-----
      From: pwf_cf [mailto:pwf_cf@...]
      Wednesday, May 12, 2004 6:16 AM
      To: soaplite@yahoogroups.com
      Subject: [soaplite] CGI: IIS 6 behaving differently to IIS 5



      We are relatively new to SOAP::Lite and have a Perl SOAP::Lite CGI
      server script that works fine on IIS 5 but generates the following
      error on IIS 6:

      "CGI Error: The specified CGI application misbehaved by not returning
      a complete set of HTTP headers".

      NOTE: unlike other instances of error msgs like this I've seen
      elsewhere - IIS 6 doesn't tell us anything about the headers it
      thinks have been generated.

      Having put diagnostic code in to see the response and headers when it
      leaves Perl - everything looks just fine.

      Can anyone throw any light on this? Grateful for any help.


      Phil Franklin
      Local Government Data Unit - Wales

    • Show all 3 messages in this topic