Shape vs SQL server shouldn't make any difference to MapGuide since you are actually using FDO. Can you manually add the SQL data with either Studio or Maestro? If not, get that working first.
Martin Morrison Application Engineer Engineering Design Systems, Inc. 3780 Peters Creek Rd Ext SW Roanoke, VA 24018 540.345.1410 gis.edsi.com -----Original Message----- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of anand Sent: Tuesday, July 26, 2011 2:31 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: MSSQL 2008 R2 and MGOS 2.2 hi, I'm using Mapguide OpenSource 2.1 (with .net 2.0 +IIS 5.1). i have a polygon layer loaded on the map whose spatial data is coming from Sql server 2008. Now i want to select a particular polygon (for ex: parcel_id=222) on the map programmatically and i want to change the color of polygon. When i create my map with shape files everything works fine, but when i create the map by getting spatial data from sql server 2008 it doesn't work. Can anybody tell me what mistake am i doing? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MSSQL-2008-R2-and-MGOS-2-2-tp6604255p6621139.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users