Previous Next

Thread: getting error on runing *.CGI sites.....

Last post 06-22-2008 2:31 AM by b007. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 06-21-2008, 4:31 PM

    • b007
    • Not Ranked
    • Joined on 06-21-2008, 4:27 PM
    • Posts 3
    • b007

    getting error on runing *.CGI sites.....

    hi i'm getting this error HTTP Error 502.2 - Bad Gateway The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "Can't open database siddb! at C:\inetpub\wwwroot\cgi-bin\wm.cgi line 93. ".

    after I configure my IIS like this:

    1. For CGI:
      Request path: *.cgi
      Executable: c:\Perl\bin\perl.exe "%s" %s
      Name: Perl Script Map
      Press 'OK'
      Say 'NO' to ISAPI message

       

    2. For Perl:
      Request path: *.pl
      Executable: c:\Perl\bin\perl.exe "%s" %s
      Name: CGI Script Map
      Press 'OK'
      Say 'No' to ISAPI message

    what to do?

    to fix it?

  • 06-21-2008, 4:40 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 958
    • anilr

    Re: getting error on runing *.CGI sites.....

    Please read the error - it tells you the line in your cgi and description of the error.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 06-21-2008, 4:46 PM In reply to

    • b007
    • Not Ranked
    • Joined on 06-21-2008, 4:27 PM
    • Posts 3
    • b007

    Re: getting error on runing *.CGI sites.....

    this is what I'm getting....

    Detailed Error Information

    ----------------------------------

    Module CgiModule
    Notification ExecuteRequestHandler
    Handler CGI Script Map
    Error Code 0x00000002

    Requested URL http://localhost:80/cgi-bin/wm.cgi
    Physical Path C:\inetpub\wwwroot\cgi-bin\wm.cgi
    Logon Method Anonymous
    Logon User Anonymous

    what to do?

     

  • 06-21-2008, 5:36 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 958
    • anilr

    Re: getting error on runing *.CGI sites.....

    Did you see this in the error you posted - "Can't open database siddb! at C:\inetpub\wwwroot\cgi-bin\wm.cgi line 93. "

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 06-22-2008, 2:31 AM In reply to

    • b007
    • Not Ranked
    • Joined on 06-21-2008, 4:27 PM
    • Posts 3
    • b007

    Re: getting error on runing *.CGI sites.....

    What u mean by that...

     i'm trying to work a site that this is his installation.

     

    the db siddb should be created when I'm running the website.

     

    what to do?

Page 1 of 1 (5 items)
Page view counter