<div> Testing :</div>
<div><a href="http://localhost/cgi-bin-54/mapserv.exe?map=C:/Mapserver/Mapfile/map.map&mode=map">http://localhost/cgi-bin-54/mapserv.exe?map=C:/Mapserver/Mapfile/map.map&mode=map</a></div>
<div> </div>
<div>Using Postgis connection works fine with same setup...</div>
<div>Using that mapfile with MAPSCRIPT/C# works fine as well...</div>
<div> </div>
<div>The problem is CGI + MSSQL2008 Plugin</div>
<div> </div>
<div><br>Mapfile:</div>
<div> </div>
<div> MAP<br> EXTENT -79.7892 -34.2426 -24.9958 6.11775<br> FONTSET "..\Fontes\Fontes.txt"<br> IMAGECOLOR 230 254 254<br> IMAGETYPE png<br> SIZE 400 200<br> STATUS ON<br> UNITS dd<br> NAME "Geral" <br>
</div>
<div> OUTPUTFORMAT<br> NAME "png"<br> MIMETYPE "image/png"<br> DRIVER "GD/PNG"<br> EXTENSION "png"<br> IMAGEMODE "PC256"<br> TRANSPARENT TRUE<br> END<br> <br> PROJECTION<br>
'proj=longlat'<br> 'ellps=WGS84'<br> 'datum=WGS84'<br> 'no_defs'<br> END</div>
<div> </div>
<div> WEB<br> IMAGEPATH 'C:\map\temp'<br> IMAGEURL '/tmp/'<br> QUERYFORMAT text/html<br> LEGENDFORMAT text/html<br> BROWSEFORMAT text/html<br> END<br> </div>
<div> LEGEND<br> STATUS ON<br> KEYSIZE 18 12<br> KEYSPACING 10 5<br> IMAGECOLOR 255 255 255<br> LABEL<br> TYPE BITMAP<br> SIZE MEDIUM<br> COLOR 0 0 89<br> END<br> TEMPLATE "..\template.html" <br> END <br>
<br> QUERYMAP<br> COLOR 255 0 0<br> SIZE -1 -1<br> STATUS ON<br> STYLE hilite<br> END<br> <br> REFERENCE<br> EXTENT -79.7892 -34.2426 -24.9958 6.11775<br> IMAGE "..\reference.png"<br> STATUS on<br> SIZE 221 150<br>
MINBOXSIZE 5<br> MAXBOXSIZE 150<br> COLOR -1 -1 -1<br> OUTLINECOLOR 255 0 0<br> MARKERSIZE 8<br> END </div>
<div> </div>
<div> LAYER<br> NAME test</div>
<div> GROUP "tests"<br> TYPE POLYGON<br> STATUS ON<br> CONNECTIONTYPE PLUGIN <br> PLUGIN "msplugin_mssql2008.dll" <br> CONNECTION "server=x;Integrated Security=false;database=x;uid=x;pwd=x"<br>
DATA "the_geom from viwgeo_paisbrasil USING UNIQUE oid USING SRID=0"<br> CLASS<br> COLOR 255 200 255<br> END<br> END </div>
<div>END</div>