The various querymap modes were removed in MapServer 6.0. From the migration guide:<br><br>&quot;All of the query map related modes (e.g. NQUERYMAP, ITEMQUERYMAP, etc...) have<br>been removed in favor of using the &quot;qformat&quot; parameter. That parameter takes<br>
an output format name or mime/type as a value and uses that to process a set<br>of query results. For example:<br><br>  ...&amp;mode=nquerymap&amp;... would become ...&amp;mode=nquery&amp;qformat=png24&amp;...&quot;<br><br>
Steve<br><br><div class="gmail_quote">On Tue, Jul 19, 2011 at 2:56 PM, Michelle Douvil <span dir="ltr">&lt;<a href="mailto:mrdouville@shaw.ca">mrdouville@shaw.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi All,<br>
I figured I&#39;d start a new thread..<br>
<br>
I have installed both a custom build for Mapserver 6.0 as well as MS4W<br>
3.0.3..<br>
I can get images back with GetMAP image request via WMS for SDE 9.3.1 data..<br>
However when I try a GetFeatureINFO request via Apache I was getting<br>
<br>
a &quot;Premature end of script headers: mapserv.exe&quot;<br>
<br>
So I removed Apache from the picture and try the CGI..<br>
<br>
With mapserver 5.2<br>
mapserv -nh<br>
&quot;QUERY_STRING=map=e:/sw_nt/mapfiles/base2.map&amp;mode=nquerymap&amp;mapxy=1186128<br>
863840&quot; &gt;test.png (I get a valid png with the feature highlighted..)<br>
<br>
With ms4w mapserver 6.0.1 and a 6.0.0 build.. I get..<br>
setMode(): Web application error. Invalid mode.<br>
<br>
Any ideas? Is almost like it doesn&#39;t like anything other than mode=map for<br>
SDE?<br>
<br>
I am using both:<br>
<br>
CONNECTION TYPE PLUGIN..(For MS4W)<br>
PLUGIN &quot;E:/sw_nt/ms4w/Apache/specialplugins/msplugin_sde_93.dll&quot;<br>
<br>
and<br>
<br>
CONNECTIONTYPE sde<br>
(with sde.dll, pe.dll, sg.dll from 9.3 SDK)<br>
<br>
<br>
<br>
Many Thanks,<br>
Michelle<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/ArcSDE-9-3-1-QUERYMAP-QUERY-or-GETFEATUREINFO-not-workin-Mapserver-6-tp6600091p6600091.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/ArcSDE-9-3-1-QUERYMAP-QUERY-or-GETFEATUREINFO-not-workin-Mapserver-6-tp6600091p6600091.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>
</font></blockquote></div><br>