[mapserver-users] Mapserver CGI 5.4 crashed my app (Windows 2003)

Paul james pauljame at gmail.com
Mon Oct 19 11:40:49 PDT 2009


 Testing :
http://localhost/cgi-bin-54/mapserv.exe?map=C:/Mapserver/Mapfile/map.map&mode=map

Using Postgis connection works fine with same setup...
Using that mapfile with MAPSCRIPT/C# works fine as well...

The problem is CGI + MSSQL2008 Plugin


Mapfile:

 MAP
 EXTENT -79.7892 -34.2426 -24.9958 6.11775
 FONTSET "..\Fontes\Fontes.txt"
 IMAGECOLOR 230 254 254
 IMAGETYPE png
 SIZE 400 200
 STATUS ON
 UNITS dd
 NAME "Geral"
 OUTPUTFORMAT
  NAME "png"
  MIMETYPE "image/png"
  DRIVER "GD/PNG"
  EXTENSION "png"
  IMAGEMODE "PC256"
  TRANSPARENT TRUE
 END

 PROJECTION
  'proj=longlat'
  'ellps=WGS84'
  'datum=WGS84'
  'no_defs'
 END

 WEB
  IMAGEPATH 'C:\map\temp'
  IMAGEURL '/tmp/'
  QUERYFORMAT text/html
  LEGENDFORMAT text/html
  BROWSEFORMAT text/html
 END

 LEGEND
  STATUS ON
  KEYSIZE 18 12
  KEYSPACING 10 5
  IMAGECOLOR 255 255 255
  LABEL
   TYPE BITMAP
   SIZE MEDIUM
   COLOR 0 0 89
  END
  TEMPLATE "..\template.html"
 END

    QUERYMAP
  COLOR 255 0 0
  SIZE -1 -1
  STATUS ON
  STYLE hilite
 END

 REFERENCE
  EXTENT -79.7892 -34.2426 -24.9958 6.11775
  IMAGE "..\reference.png"
  STATUS on
  SIZE 221 150
  MINBOXSIZE 5
  MAXBOXSIZE 150
  COLOR -1 -1 -1
  OUTLINECOLOR 255 0 0
  MARKERSIZE 8
 END

  LAYER
  NAME test
  GROUP "tests"
  TYPE POLYGON
  STATUS ON
  CONNECTIONTYPE PLUGIN
  PLUGIN "msplugin_mssql2008.dll"
  CONNECTION "server=x;Integrated Security=false;database=x;uid=x;pwd=x"
  DATA "the_geom from viwgeo_paisbrasil USING UNIQUE oid USING SRID=0"
  CLASS
   COLOR 255 200 255
  END
     END
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091019/1d249582/attachment.htm>


More information about the MapServer-users mailing list