<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Michelle,<br>
    <br>
    &nbsp; Strange, v6 dropped the various *MAP modes (they are missing in
    mapserv.h), but I couldn't locate any RFC , but viewing the
    revisions in Trac (<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapserver/changeset/11078">http://trac.osgeo.org/mapserver/changeset/11078</a>)
    shows a note:<br>
    <dl id="overview">
      <dd class="message searchable">
        <p>Remove map-oriented query modes (e.g.QUERYMAP). Use qformat
          parameter instead. (<a class="new ticket" title="task: Drop
            map-specific query modes for the MapServer CGI (new)">#3712</a>)</p>
      </dd>
      <dt>which lead to the Migration Guide
        (<a class="moz-txt-link-freetext" href="http://mapserver.org/MIGRATION_GUIDE.html">http://mapserver.org/MIGRATION_GUIDE.html</a>)<br>
      </dt>
    </dl>
    <div id="cgi-changes" class="section">
      <p>&nbsp;&nbsp;&nbsp; All of the query map related modes (e.g. NQUERYMAP,
        ITEMQUERYMAP, etc...) have been removed in favor of using the
        &#8220;qformat&#8221; parameter. That parameter takes an output format name
        or mime/type as a value and uses that to process a set of query
        results. For example:</p>
      <blockquote>...&amp;mode=nquerymap&amp;... would become
        ...&amp;mode=nquery&amp;qformat=png24&amp;...</blockquote>
    </div>
    <br>
    So it's a doc issue, and the ticket is
    <a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapserver/ticket/3712">http://trac.osgeo.org/mapserver/ticket/3712</a><br>
    <br>
    <pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
    <br>
    On 7/19/2011 1:56 PM, Michelle Douvil wrote:
    <blockquote cite="mid:1311105393166-6600091.post@n2.nabble.com"
      type="cite">
      <pre wrap="">Hi All, 
I figured I'd start a new thread..

I have installed both a custom build for Mapserver 6.0 as well as MS4W
3.0.3.. 
I can get images back with GetMAP image request via WMS for SDE 9.3.1 data.. 
However when I try a GetFeatureINFO request via Apache I was getting 

a "Premature end of script headers: mapserv.exe" 

So I removed Apache from the picture and try the CGI.. 

With mapserver 5.2   
mapserv -nh
"QUERY_STRING=map=e:/sw_nt/mapfiles/base2.map&amp;mode=nquerymap&amp;mapxy=1186128
863840" &gt;test.png (I get a valid png with the feature highlighted..) 

With ms4w mapserver 6.0.1 and a 6.0.0 build.. I get.. 
setMode(): Web application error. Invalid mode. 

Any ideas? Is almost like it doesn't like anything other than mode=map for
SDE?

I am using both: 

CONNECTION TYPE PLUGIN..(For MS4W) 
PLUGIN "E:/sw_nt/ms4w/Apache/specialplugins/msplugin_sde_93.dll" 

and 

CONNECTIONTYPE sde 
(with sde.dll, pe.dll, sg.dll from 9.3 SDK) 



Many Thanks, 
Michelle 

--
View this message in context: <a class="moz-txt-link-freetext" href="http://osgeo-org.1803224.n2.nabble.com/ArcSDE-9-3-1-QUERYMAP-QUERY-or-GETFEATUREINFO-not-workin-Mapserver-6-tp6600091p6600091.html">http://osgeo-org.1803224.n2.nabble.com/ArcSDE-9-3-1-QUERYMAP-QUERY-or-GETFEATUREINFO-not-workin-Mapserver-6-tp6600091p6600091.html</a>
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>

</pre>
    </blockquote>
  </body>
</html>