[Zoo-discuss] Getting error when working with IIS
Pankaj Pedram
pankaj.pedram at rolta.com
Thu Jun 25 20:44:04 PDT 2015
Hello,
Greetings!!!
Thank you for reply.
Will try with the revision 680.
Regards,
Pankaj Pedram
07506934293
pankaj.p.pedram at gmail.com
-----Original Message-----
From: Fenoy Gerald
Sent: Thursday, June 25, 2015 6:05 PM
To: Pankaj Pedram
Cc: ZOO-discuss
Subject: Re: [Zoo-discuss] Getting error when working with IIS
Hello Pankaj,
thanks a lot for your feedbacks and congratulations for building the
ZOO-Kernel on your windows system.
I would like to make sure you are using the right version of the code to
build. First of all, can you confirm that you have generated both the
zoo_loader.cgi and the libzoo_service.dll files ? I start by asking this
question, cause when I run the zoo_loader.cgi command locally, I get two
Exception nodes, so one more than the ExceptionReport you reported. The
first one is the exact same as your's but the second reference the service
locator. In case you are not using the latest trunk version, I would like to
invite you to try with the revision 680 [1]. If you have both zoo_loader.cgi
and the libzoo_service.dll generated, please make sure to copy both of them
to your cgi-bin directory.
After making sure you are using the latest ZOO-Kernel version, you should
take a look at your main.cfg file. Indeed, a specific logPath parameter is
required in the [main] section of the main.cfg file to run on IIS server
properly. This parameter should take the full path of a log file used to
output any debug messages. Other parameters of the main.cfg should be also
correctly defined but for a simple GetCapabilities request, defining the
logPath should be enough. You should obviously make sure that the IIS user
is allowed to write the log file.
I hope this answer will help to solve your issue,
Best regards,
[1] http://zoo-project.org/trac/changeset/680
> Le 25 juin 2015 à 07:55, Pankaj Pedram <pankaj.pedram at rolta.com> a écrit :
>
> Hi,
>
> Greetings!!!
>
> I have been trying to Install zoo kernel on IIS.
> I was able to compile the zoo kernel and was able generate the
> zoo_loader.cgi file.
> I placed the zoo_loader.cgi and main.cfg file(modified the
> ServerAddress ) in C:\inetpub\wwwroot\cgi-bin
> Then through the command prompt I was able to generate same response as we
> get by installing Apache Server.
> I got the response as below :
> c:\inetpub\wwwroot\cgi-bin>zoo_loader.cgi
> Content-Type: text/xml; charset=utf-8
> Status: 400 Bad request
>
> <?xml version="1.0" encoding="utf-8"?>
> <ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
> xmlns:xsi="http://www.w3
> .org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://www.opengis.net/ows/1.1
> http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd"
> xml:lang="en-US" v
> ersion="1.1.0">
> <Exception exceptionCode="MissingParameterValue" locator="request">
> <ExceptionText>Parameter <request> was not
> specified</ExceptionText>
> </Exception>
> </ExceptionReport>
>
> But when I try to access through browser
> (http://localhost/cgi-bin/zoo_loader.cgi?Service=WPS&Request=GetCapabilities&Version=1.0.0)
> I get error as :
> 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 "".
>
> It will be helpful for me if you could help me out with tis issue.
>
> Regards,
> Pankaj Pedram
> 07506934293
> pankaj.p.pedram at gmail.com
> _______________________________________________
> Zoo-discuss mailing list
> Zoo-discuss at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss
Gérald Fenoy
http://wiki.osgeo.org/wiki/User:Djay
More information about the Zoo-discuss
mailing list