HELP - NQuery CGI call fails on ONE server

James Perrins JamesP at ESDM.CO.UK
Wed Mar 16 07:35:16 EST 2005


Hi,



I have a strange problem with NQuery and Mapserver 4.20 using CGI scripting



I have this all setup and working on a development server and on a test
deployment server (which basically mimics the public server setup - W2K
server - all patches applied)



Generally mapserver works fine on all servers - with one exception - on the
live public server (typically!) - Nquery appears to hang mapserver and
eventually  you get a timeout error.



If I use a MODE=Query - and basically query a point - all is fine - so all
the .MAP files and setup is OK (and other mapping functionality works fine)



This Call works:

============

http://testurl/scripts/mapserv420.exe?map=C:/Inetpub/ClareSpeciesRecording/t
mp/CachedMap.map&MODE=QUERY&imgext=79735 148322.5 105250
173837.5&img.x=262&img.y=192&layers=ClareOS50K
Species&QLAYER=Species&map_Species_Template=templates/Specieskey.html&SAVEQU
ERY=true&map_web_imagepath=C:\Inetpub\ClareSpeciesRecording\tmp\&map_web_ima
geurl=http://testurl/tmp/&MAPSIZE=400 400&map_QueryMap_Size=400
400&map_ClareOS50K_LABELITEM=NULL&map_Species_LABELITEM=NULL&map_querymap_st
yle=hilite



If I use MODE=NQuery and supply an IMGSHAPE then it fails



This call fails:

==========

http://testurl/scripts/mapserv420.exe?map=C:/Inetpub/ClareSpeciesRecording/t
mp/CachedMap.map&MODE=NQUERY&IMGSHAPE=81 100 234 100 234 271 81 271
&imgext=79735 148322.5 105250 173837.5&layers=ClareOS50K
Species&QLAYER=Species&map_Species_Template=templates/Specieskey.html&map_Sp
ecies_Tolerance=1&SAVEQUERY=true&map_web_imagepath=C:\Inetpub\ClareSpeciesRe
cording\tmp\&map_web_imageurl=http://testurl/tmp/&MAPSIZE=400
400&map_QueryMap_Size=400
400&map_ClareOS50K_LABELITEM=NULL&map_Species_LABELITEM=NULL&map_querymap_st
yle=hilite



Please remember - BOTH the above calls work on what is supposed to be an
IDENTICAL setup.

Although the examples here show lengthy URLs - in practice the parameters
are posted to mapserver - just in case URL length is an issue



I don't really know where to start looking for this - I presume Mapserver is
setup OK because it basically works and works for the Query mode which is
using identical data.   The call is OK as it works fine on other servers.

Can anyone think of a server / firewall / IIS setting that could cause this
to happen ?  A missing mapserver file ?



Any other suggestions ? As it's the public server that has the issue - this
is causing me some grief !



Any ideas gratefully received

Many Thanks

James









Dr James Perrins
exeGesIS SDM Ltd
Great House Barn
New Street, Talgarth
Powys LD3 0AH.
Direct Line: 01646 686650
Tel: 01874 711145
Fax: 01874 711156
Email: JamesP at esdm.co.uk

This E-mail and any files transmitted with it are private and intended
solely for the use of the individual or entity to whom they are addressed.
If you are not the intended recipient, the E-mail and any files have been
transmitted to you in error and any copying, distribution or other use of
the information contained in them is strictly prohibited.

Nothing in this E-mail message amounts to a contractual or other legal
commitment on the part of exeGesIS SDM Ltd unless confirmed by a signed
communication.

exeGesIS SDM Ltd will make every effort to keep its network free of viruses.
However, the recipient of this message will need to scan this message, and
any attachments, for viruses, as exeGesIS SDM Ltd can take no responsibility
for any computer virus that might be transferred by this e-mail.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050316/75f3b605/attachment.html


More information about the mapserver-users mailing list