Unless you are including the layer name in the URL used to call MapServer, you should change the layer status to DEFAULT.
David. -----Original Message----- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Wesley Sent: Tuesday, June 30, 2009 12:08 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Beginning mapserver & sql server 2008 Hi all, It's my first time with mapserver, and I'm trying to use a map file connected with sql server 2008. Mapserver is generating a blank image. I think there is something wrong with my map file below. Do you have any examples or tutorial about it? Thanks, __________________________________________________________ MAP NAME "sample" STATUS ON SIZE 400 300 IMAGETYPE gif EXTENT -66.00 -22.00 -44.00 -9.00 UNITS DD # # Start of web interface definition # WEB TEMPLATE "D:\ms4w\Apache\htdocs\testesql.html" IMAGEPATH "D:\ms4w\tmp\ms_tmp\" IMAGEURL "/tmp/" END LAYER NAME "Camada1" CONNECTIONTYPE PLUGIN PLUGIN "D:\ms4w\plugins\msplugin_mssql2008.dll" CONNECTION "server=luzon2\sqlexpress;uid=sa;pwd=senha1234;database=TESTE;Integrated Security=false" DATA "geom from lixo" TYPE POLYGON STATUS ON PROJECTION "init=epsg:4326" END CLASS STYLE COLOR 0 0 255 WIDTH 8 END END END END _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users