Hello guys...<br><br>My mapfile:<br><br>...<br>  PROJECTION<br>        "+init=epsg:4326"<br>    END<br><br>    WEB<br>        IMAGEPATH 'C:\temp\'<br>        IMAGEURL '/tmp/'<br>        QUERYFORMAT text/html      <br>
        <br>        METADATA<br>            "wms_title"     "WMS Server" <br>            "wms_onlineresource" "<a href="http://localhost/cgi-bin/mapserv.exe">http://localhost/cgi-bin/mapserv.exe</a>?"  <br>
            "wms_srs"       "EPSG:4326 EPSG:42304 EPSG:42101 EPSG:4269" <br>            'wms_feature_info_mime_type' "text/html" <br>        END<br>    END<br><br>   QUERYMAP<br>        COLOR 255 0 0<br>
        SIZE -1 -1<br>        STATUS OFF<br>        STYLE hilite<br>    END<br>...<br><br>LAYER<br>...<br>       METADATA<br>            "wms_title"    "Test"   ##required<br>             "wms_include_items" "all"<br>
             "wms_feature_info_mime_type" "text/html"              <br>        END       <br>        TYPE POINT<br>        STATUS ON<br>        INCLUDE "Connection.map" <br>        DATA "the_geom from viwtest USING UNIQUE oid USING SRID=0"<br>
        PROJECTION<br>            "+init=epsg:4326"<br>        END<br>        <br>        TOLERANCE 5<br>         HEADER   "header.html" <br>        TEMPLATE "template.html"     <br>         FOOTER   "footer.html" <br>
...<br><br>Templates:<br>Header.html<br><!-- MapServer Template --><br><html> <br>  <head> <br>    <title>MapServer Template Sample</title> <br>  </head> <br><br>Template.html<br><!-- MapServer Template --><br>
<body> <br>    <b>OID:</b> [oid]<br>  </body> <br><br>Footer.html<br></html><br><br>WMSGetFeatureInfo  Javascript (OpenLayer)<br><br>var infoCtl = new OpenLayers.Control.WMSGetFeatureInfo({ <br>
                    layers: [_test], <br>                    title: 'Click on the map to get information on layers', <br>                    queryVisible: true, <br>                    infoFormat: 'text/html' <br>
                }); <br>              <br>                infoCtl.events.register("getfeatureinfo",map,showInfo); <br><br> function showInfo(evt) {    <br>            alert(evt.text);<br>} <br><br><br>I´m getting that :<br>
<br><html> <br>  <head> <br>    <title>MapServer Template Sample</title> <br>  </head> Content-type: application/vnd.ogc.se_xml<br><br><?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?><br>
<!DOCTYPE ServiceExceptionReport SYSTEM "<a href="http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">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>Any idea whats happening?<br><br>Stella<br><br><br>