<div>GRRRRRRRRRRRRRR,</div>  <div> </div>  <div>i am using the following line to query the map </div>  <div> </div>  <div>window.open("/cgi-bin/mapserv.exe?map=karachi.map&mode=ITEMQUERY&qstring=charge&layer=charge_region");</div>  <div> </div>  <div>actually stive lime gave me this, but its giving following error</div>  <div>"msQueryByAttribute():General error message. No query layer defined"</div>  <div> </div>  <div>below is my map file, please check is there any thing wrong in my map file. I am using ka-map as my map client. my kamap is woring fine it displays all the layers but the hell query is not woring another thing my maps are not georeferenced so i cant use QueryByPoint.</div>  <div> </div>  <div>Please help me n guide me i am very depressed.</div>  <div>Regards,</div>  <div> </div>  <div>Absar Ali</div>  <div>____________________________________________________</div>  <div><BR>NAME Karachi<BR>STATUS ON</div> 
 <div><BR>SIZE 800 600<BR>SHAPEPATH "karachiShape"</div>  <div>WEB<BR> IMAGEPATH "C:/tmp/"<BR> IMAGEURL "C:/tmp/"<BR>END</div>  <div><BR>EXTENT 40.2283 -5.55177 49.7201 1.8823<BR>UNITS dd<BR>IMAGECOLOR 255 255 255<BR>IMAGETYPE png</div>  <div>QUERYMAP<BR> STATUS ON<BR> # the map is queryable by default<BR> STYLE HILITE<BR> # the selected object is highligthed<BR> COLOR 255 0 0<BR> SIZE -1 -1 <BR>END<BR>  LEGEND<BR>    KEYSIZE 18 12<BR>    LABEL<BR>      TYPE BITMAP<BR>      SIZE MEDIUM<BR>      COLOR 0 0 89<BR>    END<BR>    STATUS ON<BR>  END</div>  <div>LAYER<BR>  NAME charge_region<BR>  TEMPLATE "template/ka.html"<BR>  METADATA<BR>  "queryable" "true" <BR>  END<BR>  TYPE POLYGON<BR>  STATUS ON<BR>  DATA CHARGE_region<BR>  LABELITEM
 "name"<BR>  CLASS<BR>    NAME "CHARGE_region"<BR>    COLOR 146 154 155<BR>    OUTLINECOLOR 43 170 115<BR>         LABEL<BR>         MINFEATURESIZE 40<BR>         MINDISTANCE 150<BR>         POSITION CC<BR>         SIZE TINY<BR>         COLOR 0 0 0<BR>      END <BR>  END<BR>END<BR>LAYER<BR>  NAME circle_region<BR>  TEMPLATE "template/ka.html"<BR>  METADATA<BR>  "queryable" "true" <BR>  END<BR>  TYPE POLYGON<BR>  STATUS OFF<BR>  DATA CIRCLE_region<BR>  LABELITEM "name"<BR>  CLASS<BR>    NAME "CIRCLE_region"<BR>    COLOR 90 15 155<BR>    OUTLINECOLOR 200 205
 133<BR>         LABEL<BR>         MINFEATURESIZE 40<BR>         MINDISTANCE 150<BR>         POSITION CC<BR>         SIZE TINY<BR>         COLOR 0 0 0<BR>      END <BR>  END<BR>END<BR>LAYER<BR>  NAME important_locations_point<BR>  METADATA<BR>  "queryable" "true" <BR>  END<BR>  TYPE POINT<BR>  STATUS OFF<BR>  DATA "IMPORTANT LOCATIONS_point"<BR>  CLASS<BR>    NAME "IMPORTANT LOCATIONS_point"<BR>  END<BR>END<BR>LAYER<BR>  NAME town_region<BR>   TEMPLATE "template/ka.html"<BR>  METADATA<BR>  "queryable" "true" <BR>  END<BR>  TYPE POLYGON<BR>  STATUS OFF<BR>  DATA TOWN_region<BR> 
 LABELITEM "name"<BR>  CLASS<BR>    NAME "TOWN_region"<BR>    COLOR 77 224 186<BR>    OUTLINECOLOR 244 237 138<BR>         LABEL<BR>         MINFEATURESIZE 40<BR>         MINDISTANCE 150<BR>         POSITION CC<BR>         SIZE TINY<BR>         COLOR 0 0 0<BR>      END <BR>  END<BR>END<BR>LAYER<BR>  NAME town_text<BR>   TEMPLATE "template/ka.html"<BR>  METADATA<BR>  "queryable" "true" <BR>  END<BR>  TYPE POINT<BR>  STATUS OFF<BR>  DATA TOWN_text<BR>  CLASS<BR>    NAME "TOWN_text"<BR>  END<BR>END<BR>LAYER<BR>  NAME union_council_region<BR>   TEMPLATE
 "template/ka.html"<BR>  METADATA<BR>  "queryable" "true" <BR>  END<BR>  TYPE POLYGON<BR>  STATUS ON<BR>  DATA "UNION COUNCIL_region"<BR>   LABELITEM "name"<BR>  CLASS<BR>    NAME "UNION COUNCIL_region"<BR>    COLOR 37 118 61<BR>    OUTLINECOLOR 220 54 199<BR>         LABEL<BR>         MINFEATURESIZE 40<BR>         MINDISTANCE 150<BR>         POSITION CC<BR>         SIZE TINY<BR>         COLOR 0 0 0<BR>      END <BR>  END<BR>END<BR>END </div>  <div> </div><p>
        
                <hr size=1>Sneak preview the <a href="http://us.rd.yahoo.com/evt=40762/*http://www.yahoo.com/preview"> all-new Yahoo.com</a>. It's not radically different. Just radically better.