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

Paul james pauljame at gmail.com
Wed Jun 10 09:45:31 EDT 2009


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> 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>
>
> 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> wrote:
>>
>>> Probably is a mapserver CGI bug...
>>>
>>> Paul
>>>
>>> On Sat, May 30, 2009 at 11:56 PM, Brian Fischer <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] *On Behalf Of *Paul james
>>>> *Sent:* Friday, May 29, 2009 1:08 PM
>>>> *To:* Steve Lime
>>>> *Cc:* 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>
>>>> 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>, Paul
>>>> james
>>>>
>>>> <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>
>>>> 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>
>>>> >>
>>>> >>> 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> 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
>>>> >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>> >>>
>>>> >>>
>>>> >>
>>>>
>>>>
>>>>
>>>
>>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> 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/ae5efdf1/attachment.html


More information about the mapserver-users mailing list