[Zoo-discuss] Fwd: Installation of Zoo in Windows 10

Fenoy Gerald gerald.fenoy at geolabs.fr
Mon Jul 25 00:49:46 PDT 2016


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



More information about the Zoo-discuss mailing list