How is the wkb result looking like when you execute the same query in a Query Analyzer session?<br><br>Best regards,<br><br>Tamas<br><br><br><br><div class="gmail_quote">2010/2/28 Afroz Kannancheri <span dir="ltr"><<a href="mailto:afrozk@gmail.com">afrozk@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi,<br>
Tried the Tolerance parameter, now the previous error message is not<br>
coming up anymore.<br>
Checked the sqlserver profiler and now it recieves a valid query, but I<br>
still get the following error on my page for the<br>
GetFeatureInfo results:<br>
<br>
Layer 'region1'<br>
Content-type: application/vnd.ogc.se_xml<br>
<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?><br>
<!DOCTYPE ServiceExceptionReport SYSTEM<br>
"<a href="http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd" target="_blank">http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd</a>"><br>
<ServiceExceptionReport version="1.1.1"><br>
<ServiceException><br>
</ServiceException><br>
</ServiceExceptionReport><br>
<br>
<br>
I enabled DEBUG on the layer and it logs "msMSSQL2008LayerGetShapeRandom bad<br>
shape: 1" in the log file.<br>
<br>
Please find part of my layer information for your reference<br>
<br>
LAYER<br>
NAME "region1"<br>
CONNECTIONTYPE PLUGIN<br>
PLUGIN "C:\Programs\ms4w\Apache\specialplugins\msplugin_mssql2008.dll"<br>
<br>
CONNECTION "server=192.168.254.34;uid=uid;pwd=pwd;database=map;Integrated<br>
Security=false"<br>
<br>
DATA "geom from region1"<br>
TYPE POLYGON<br>
<br>
DEBUG 0<br>
STATUS ON<br>
TOLERANCE 5<br>
METADATA<br>
'wms_feature_info_mime_type' "text/html"<br>
"ows_include_items" "all"<br>
END<br>
PROJECTION<br>
"init=epsg:4326"<br>
END<br>
<br>
<br>
<br>
Thanks and regards<br>
Afroz<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/Getfeatureinfo-and-MSsql-2008-server-tp4631781p4648413.html" target="_blank">http://n2.nabble.com/Getfeatureinfo-and-MSsql-2008-server-tp4631781p4648413.html</a><br>
</font><div><div></div><div class="h5">Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div></div></blockquote></div><br>