[mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG?

Brian Fischer bfischer at houstoneng.com
Wed Jun 10 12:58:00 EDT 2009


My tests where with shapefiles as well and I was using the MS4W 3.0 Beta 2 download.  I was not doing anything fancy with IIS just tried to upgrade an existing application that is working fine with 5.2 to 5.4.  I think if you were to test with the MS4W 3.0 beta release that hopefully would produce the same errors Paul and I are seeing.  http://www.nabble.com/MapServer-5.4.0-beta2-upgrade-available-td22233100.html

Let me know if you need any other details.  I am using IIS 6.0.

Brian Fischer, CFM  GIS Project Manager
Houston Engineering, Inc.
Phone: W: 763.493.4522 / M: 763.229.2734

From: Paul james [mailto:pauljame at gmail.com]
Sent: Wednesday, June 10, 2009 11:35 AM
To: Tamas Szekeres
Cc: Brian Fischer; mapserver-users at lists.osgeo.org; Daniel Morissette; Steve Lime
Subject: Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG?

I tested with a Shapefile, same bug with 5.4 and CGI.... Working fine with fastcgi...

Paul

On Wed, Jun 10, 2009 at 1:14 PM, Tamas Szekeres <szekerest at gmail.com<mailto:szekerest at gmail.com>> wrote:
It would anyway be helpful if you could describe the steps to reproduce the issue. I'm afraid I won't be able to find out the problem without inspecting that locally by using a debug version of the builds. There have been a lot of changes between 5.2 and 5.4 so it's quite difficult to identify the location and the related changeset just by looking into the change log in the subversion.

Best regards,

Tamas


2009/6/10 Brian Fischer <bfischer at houstoneng.com<mailto:bfischer at houstoneng.com>>


I would agree with Paul.  I am running 5.2 and previous version just fine as well.



Brian Fischer, CFM  GIS Project Manager
Houston Engineering, Inc.
Phone: W: 763.493.4522 / M: 763.229.2734



From: Paul james [mailto:pauljame at gmail.com<mailto:pauljame at gmail.com>]
Sent: Wednesday, June 10, 2009 8:46 AM
To: Tamas Szekeres
Cc: Brian Fischer; mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>; Daniel Morissette; Steve Lime

Subject: Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG?



I don´t think its related to security settings... I can run the CGI on 5.2 ... And as well with fastcgi on 5.4 ...
Anyway I gave all permission to all user in mapserver directory and app directory... Nothing changes...

Anyone test that with Postgis layer? I´m trying to get a shapefile to test ...

Paul

On Tue, Jun 9, 2009 at 7:02 PM, Tamas Szekeres <szekerest at gmail.com<mailto:szekerest at gmail.com>> wrote:

Paul,

I've just tried with the latest 5.4 version and worked fine though I'm using OGR/mapinfo.tab data source.

I suspect you may run into a problem related to the possible differences in the security settings. Some files may not be accessible by the current user executing mapserv.exe which may be "IUSR_[computername]" for the normal CGI and "NT AUTHORITY/NETWORK SERVICE" for the fast cgi option by default.

Best regards,

Tamas

2009/6/9 Paul james <pauljame at gmail.com<mailto:pauljame at gmail.com>>



Just one update in my tests...
Using FASTCGI It worked FINE (mapserver 5.4)...

I added a bug ticket : http://trac.osgeo.org/mapserver/ticket/3049

Paul



On Tue, Jun 2, 2009 at 10:12 AM, Paul james <pauljame at gmail.com<mailto:pauljame at gmail.com>> wrote:

Probably is a mapserver CGI bug...







Paul



On Sat, May 30, 2009 at 11:56 PM, Brian Fischer <bfischer at houstoneng.com<mailto:bfischer at houstoneng.com>> wrote:

Paul,

Just to let you know you are not alone.  I am experiencing the same problem with MS4W 3.0 beta 1 and 2.  I’ve reported it as a bug to the MS4W project.  Here’s a link to the bug report http://bugzilla.maptools.org/show_bug.cgi?id=2043.   I haven’t heard anything back on a solution yet.  I’m not sure if this is a MapServer bug or a bug with the way the MS4W package was compiled.  It runs fine of Apache for me.



Brian Fischer

Houston Engineering, Inc.



From: mapserver-users-bounces at lists.osgeo.org<mailto:mapserver-users-bounces at lists.osgeo.org> [mailto:mapserver-users-bounces at lists.osgeo.org<mailto:mapserver-users-bounces at lists.osgeo.org>] On Behalf Of Paul james
Sent: Friday, May 29, 2009 1:08 PM
To: Steve Lime
Cc: mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>; Daniel Morissette
Subject: Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG?



http://localhost/cgi-bin/mapserv.exe?map=C%3A%2Finetpub%2Fwwwroot%2FOpenlayer%2FFiles%2FMapserver%2FMap.map&mode=map&map_imagetype=png&mapext=-180+0+-90+90&imgext=-180+0+-90+90&map_size=256+256&imgx=128&imgy=128&imgxy=256+256

Paul

On Fri, May 29, 2009 at 3:01 PM, Steve Lime <Steve.Lime at dnr.state.mn.us<mailto:Steve.Lime at dnr.state.mn.us>> wrote:

What's the full URL submitted against the CGI?

>>> On 5/29/2009 at 12:59 PM, in message
<33fad6880905291059i5602a89q84d7673ddcfff511 at mail.gmail.com<mailto:33fad6880905291059i5602a89q84d7673ddcfff511 at mail.gmail.com>>, Paul
james

<pauljame at gmail.com<mailto:pauljame at gmail.com>> wrote:
> 1 -  I tried with 1500,1400,1310,development version(1500) and ms4w
beta...
> 2 -  Ím using normal CGI
> 3 - My tests are only with Postgis... Íll generate a shapefile to
test
> later ...
>
> Paul
>
> On Fri, May 29, 2009 at 2:27 PM, Tamas Szekeres <szekerest at gmail.com<mailto:szekerest at gmail.com>>
wrote:
>
>> Hi Paul,
>>
>> Did you experience the same with the release-1310 and release-1400
>> versions? Did you experience the same with the development version?
>> Are you using fastCGI or normal cgi?
>> Is this just a PostGIS related problem or you get the same with a
simple
>> shapefile?
>>
>> Sorry for the bunch of the questions...
>>
>> Best regards,
>>
>> Tamas
>>
>>
>>
>> 2009/5/29 Paul james <pauljame at gmail.com<mailto:pauljame at gmail.com>>
>>
>>> Yes Daniel...  I deleted all previous files and put only 5.4
files... My
>>> mapscript application is working fine on 5.4...
>>> But the CGI dont...
>>> Tested on Windows XP (IIS 5.1) and Windows 2003(IIS 6.0)...
>>>
>>> Paul
>>>
>>>
>>> On Fri, May 29, 2009 at 12:56 PM, Daniel Morissette <
>>> dmorissette at mapgears.com<mailto:dmorissette at mapgears.com>> wrote:
>>>
>>>> Paul james wrote:
>>>>
>>>>> Hi Daniel...
>>>>> I got the binaries from Tamas build :
>>>>> http://vbkto.dyndns.org:1280/sdk/Default.aspx
>>>>> And from MS4W 3.0 beta2...
>>>>> Same result with both...
>>>>>
>>>>> That error you got is my fault... I took off the :
>>>>> IMAGE "..\Map.png"
>>>>> from REFERENCE definition when copy the code to email...
>>>>>
>>>>> My application works fine with 5.2 binary in iis 5.1 and 6.0
>>>>> Just replacing with 5.4 binary I got that 502 error...
>>>>>
>>>>>
>>>> Hopefully you always make sure you update all DLLs as well when
you
>>>> "replace with 5.4 binary"? Even if the DLLs have the same names,
if they
>>>> come from different build environments or versions they may not
be
>>>> compatible and could cause the kind of crashes that you are
experiencing.
>>>>
>>>>
>>>> Daniel
>>>> --
>>>> Daniel Morissette
>>>> http://www.mapgears.com/
>>>>
>>>
>>>
>>> _______________________________________________
>>> mapserver-users mailing list
>>> mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>
>>>
>>







_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090610/08728642/attachment-0001.html


More information about the mapserver-users mailing list