Agostino,<br><br>I wonder if the change in <a href="http://trac.osgeo.org/mapserver/changeset/9936">r9936</a> would provide a fix for this issue. You might want to do a test with a newer version of the binaries, like one of the stable branches from <br>
<a href="http://vbkto.dyndns.org/sdk/">http://vbkto.dyndns.org/sdk/</a><br><br>Best regards,<br><br>Tamas<br><br><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style><br>
<div class="gmail_quote">2010/5/14 Agostino <span dir="ltr">&lt;<a href="mailto:acsviluppo@yahoo.it">acsviluppo@yahoo.it</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
I&#39;m using mapscript c# (mapserver 5.6.3)<br>
<br>
I want to highlight an element in my map and this is what i write<br>
<br>
layerObj lo = map.getLayer(i);<br>
lo.queryByAttributes(map, null, strQuery, mapscript.MS_MULTIPLE);<br>
map.drawQuery();  &lt;--- The map image is generated with the highlighted<br>
element.<br>
<br>
After i want to to clear my query and my code is:<br>
map.freeQuery(-1);<br>
map.drawQuery();  &lt;--- throw error<br>
<br>
msOracleSpatialLayerWhichShapes(): OracleSpatial error. Error: ORA-00600:<br>
codice di errore interno, argomenti: [17182], [0x2581CE802], [], [], [], [],<br>
[], []<br>
 . Query statement: SELECT ID, GEOMETRY FROM AAAMAMCOMU WHERE SDO_FILTER(<br>
GEOMETRY, MDSYS.SDO_GEOMETRY(2003, :srid,<br>
NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),:ordinates ),&#39;querytype=window&#39;) =<br>
&#39;TRUE&#39; . Check your data statement.<br>
[Thu May 13 18:52:46 2010].621000 msDrawMap(): Image handling error. Failed<br>
to draw layer named &#39;Limiti Comunali&#39;.<br>
<br>
With mapserver 5.4 my code is ok.<br>
<br>
Thank you<br>
Agostino.<br>
<br>
--<br>
</div>View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/msOracleSpatialLayerWhichShapes-OracleSpatial-error-tp5048929p5048929.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/msOracleSpatialLayerWhichShapes-OracleSpatial-error-tp5048929p5048929.html</a><br>

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>
</blockquote></div><br>