[Zoo-discuss] Installation of Zoo in Windows 10

Niroshan Sanjaya nsanj88 at gmail.com
Tue Jul 26 04:41:34 PDT 2016


---------- Forwarded message ----------
From: Niroshan Sanjaya <nsanj88 at gmail.com>
Date: Tue, Jul 26, 2016 at 9:01 AM
Subject: Re: Zoo-discuss Digest, Vol 49, Issue 9
To: ZOO-discuss <zoo-discuss at lists.osgeo.org>


Hi Bajpal,

This error "Handler "CGI-exe1" has a bad module "CgiModule" in its module
list" basically occurred when CGI is not activated. You can active it as
mentioned in the following URL
https://www.iis.net/configreference/system.webserver/cgi

It works for me.

Further, you can check ISAPI and CGI Restriction. If it is not there you
can add as mentioned below.

ISAPI or CGI Path:

c:\inetpub\cgi-bin\zoo_loader.cgi

Description: ZOO-Project

then tick the box at the bottom of the window.


If not you can add it by using cmd.

appcmd.exe set config /section:isapiCgiRestriction
/+[path='c:\inetpub\cgi-bin\zoo_loader.cgi',description='
ZOO-Project',allowed='True']

I guess this will help you to solve the issue.


Thanks

Niroshan


On Tue, Jul 26, 2016 at 4:00 AM, <zoo-discuss-request at lists.osgeo.org>
wrote:

> Send Zoo-discuss mailing list submissions to
>         zoo-discuss at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.osgeo.org/mailman/listinfo/zoo-discuss
> or, via email, send a message with subject or body 'help' to
>         zoo-discuss-request at lists.osgeo.org
>
> You can reach the person managing the list at
>         zoo-discuss-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Zoo-discuss digest..."
>
>
> Today's Topics:
>
>    1. Re: Fwd: Installation of Zoo in Windows 10 (Fenoy Gerald)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 25 Jul 2016 09:49:46 +0200
> From: Fenoy Gerald <gerald.fenoy at geolabs.fr>
> To: Anju Bajpai <bajpai.anju at gmail.com>
> Cc: ZOO-discuss <zoo-discuss at lists.osgeo.org>
> Subject: Re: [Zoo-discuss] Fwd: Installation of Zoo in Windows 10
> Message-ID: <2BC3E061-FFD1-41A8-B30B-5D78A4402430 at geolabs.fr>
> Content-Type: text/plain; charset=utf-8
>
> Hello,
> I suppose that the CgiModule has not been installed in your IIS setup. Try
> activate it and rerun any WPS requests.
>
> Hope this helps.
> Best regards,
>
> > Le 24 juil. 2016 à 18:15, Anju Bajpai <bajpai.anju at gmail.com> a écrit :
> >
> > Dear Fenoy,
> >
> > After the last successfull installation on a 32 bit windows 10 machine,
> now I was trying to install it in 64 bit Windows 10 system using 64 bit
> installer. After running the appcmd commands that you gave in the last post
> also an Internal server error is coming. Please tell me how to resolve.
> This what i See when a go to http://localhost/cgi-bin/zoo_loader.cgi
> >  URL.
> > TTP Error 500.21 - Internal Server Error
> >
> > Handler "CGI-exe1" has a bad module "CgiModule" in its module list
> >
> >
> > Most likely causes:
> >
> >       • Managed handler is used; however, ASP.NET is not installed or
> is not installed completely.
> >       • There is a typographical error in the configuration for the
> handler module list.
> >       • During application initialization, either the application
> initialization feature has set skipManagedModules to true, or a rewrite
> rule is setting a URL that maps to a managed handler and is also setting
> SKIP_MANAGED_MODULES=1.
> >
> > Things you can try:
> >
> >       • Install ASP.NET if you are using managed handler.
> >       • Ensure that the handler module's name is specified correctly.
> Module names are case-sensitive and use the format
> modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule".
> >       • Ensure that any application initialization rewrite rules set
> SKIP_MANAGED_MODULE=0 when setting a URL that maps to a managed handler
> (such as .aspx, for example.)
> >       • As an alternative, ensure that application initialization
> rewrite rules map the request to an unmanaged handler (for example, to an
> .htm file, which is mapped to the StaticFileHandler.)
> >
> > Detailed Error Information:
> >
> > Module           IIS Web Core
> > Notification     ExecuteRequestHandler
> > Handler          CGI-exe1
> > Error Code       0x8007000d
> > Requested URL    http://localhost:80/cgi-bin/zoo_loader.cgi
> > Physical Path    c:\inetpub\cgi-bin\zoo_loader.cgi
> > Logon Method     Anonymous
> > Logon User       Anonymous
> >
> > More Information:
> >
> > IIS core does not recognize the module.
> >
> >
> > Anju Bajpai
> >
> >
> >
> > On Thu, Jun 23, 2016 at 3:24 PM, Fenoy Gerald <gerald.fenoy at geolabs.fr>
> wrote:
> > Dear Anju,
> > you should take a look at the CGI-Exe1 handler from your IIS
> configuration interface and make sure it accept all the HTTP verb, which
> should be the case when the installer has run the following command:
> >
> > appcmd set config /section:handlers
> /+[name='CGI-exe1',path='*.cgi',verb='*',modules='CgiModule']
> >
> > You should not define any mimeType for cgi application. Indeed, it will
> be the ZOO-Kernel responsibility to generate the adequate mimeType
> depending on the request sent by clients.
> >
> > Personally I would also try to access the ZOO-Kernel using the following
> very basic request: http://localhost/cgi-bin/zoo_loader.cgi . If it
> returns an exception report then it means that only the POST request cause
> the trouble and we should find the way to solve it after we are sure that
> at least GET is working.
> >
> > I hope this helps and it can solve your issue.
> >
> > Bets regards,
> >
> >
> > > Le 23 juin 2016 à 11:18, Anju Bajpai <bajpai.anju at gmail.com> a écrit :
> > >
> > > Dear Fenoy,
> > >
> > > Thankyou for giving a quick reply.I have run the command given by you
> but it is giving message as "ERROR ( message:New add object missing
> required attributes. Cannot add duplicate collection entry of type 'add'
> with unique key attribute 'path' set to
> 'c:\inetpub\cgi-bin\zoo_loader.cgi'. By the way what is the mime type for
> CGI in IIS 10 Windows 10? I have added it as Filename Extension = ".cgi"
> MIME Type:-"magnus-internal/cgi"
> > > . )".
> > > See Screenshot for the error loading zoo_loader.cgi
> > >
> > > <image.png>
> > >
> > > Please help regarding this.
> > >
> > > On Thu, Jun 23, 2016 at 2:06 PM, Fenoy Gerald <gerald.fenoy at geolabs.fr>
> wrote:
> > > Dear Anju,
> > > thanks for trying to use the ZOO-Project on your windows platform.
> > >
> > > The error you have means that something went wrong during the
> configuration of your IIS from the installer.
> > >
> > > I would like to invite you to try the following commands: [1]. It
> contains all the command which should be run from the installer, you may
> have noticed that the last line of the commands has been added few weeks
> ago so it may explain why this was missing in the installer at that time.
> So first I would try this command from a cmd run as administrator:
> > >
> > > appcmd.exe set config /section:isapiCgiRestriction
> /+[path='c:\inetpub\cgi-bin\zoo_loader.cgi',description='ZOO-Project',allowed='True']
> > >
> > > I hope this helps and you can confirm that it solved you issue.
> > >
> > > Best regards,
> > >
> > > [1]
> http://www.zoo-project.org/docs/install/windows.html#install-by-hand
> > >
> > > > Le 23 juin 2016 à 08:53, Anju Bajpai <bajpai.anju at gmail.com> a
> écrit :
> > > >
> > > >
> > > > Dear All,
> > > >
> > > > I have just started exploring zoo and it's WPS features for GIS
> projects.But after installation in IIS 10 and Python  2.7 using Zoo
> Installer for Windows(32 bit Windows10), I am getting the following error:-
> > > >
> > > > POST http://localhost/cgi-bin/zoo_loader.cgi   405 Method Not
> Allowed
> > > >
> > > > Can you please tell me what could be the possible reason for this?
> > > >
> > > > Anju Bajpai
> > > > RRSC-C
> > > > Nagpur
> > > >
> > > >
> > > > _______________________________________________
> > > > Zoo-discuss mailing list
> > > > Zoo-discuss at lists.osgeo.org
> > > > http://lists.osgeo.org/mailman/listinfo/zoo-discuss
> > >
> > >
> > >
> > > Gérald Fenoy
> > > http://wiki.osgeo.org/wiki/User:Djay
> > >
> > >
> >
> >
> >
> > Gérald Fenoy
> > http://wiki.osgeo.org/wiki/User:Djay
> >
> >
> > _______________________________________________
> > Zoo-discuss mailing list
> > Zoo-discuss at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/zoo-discuss
>
>
>
> Gérald Fenoy
> http://wiki.osgeo.org/wiki/User:Djay
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Zoo-discuss mailing list
> Zoo-discuss at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/zoo-discuss
>
> ------------------------------
>
> End of Zoo-discuss Digest, Vol 49, Issue 9
> ******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20160726/b296695d/attachment-0001.html>


More information about the Zoo-discuss mailing list