[mapserver-users] Invalid format for the EXCEPTION parameter

Robert Sanson SansonR at asurequality.com
Tue Sep 22 20:23:29 EDT 2009


I have a 5.4.2 version of Mapserver (MS4W) configured for WMS access. OpenLayers is accessing it fine, however, ArcMap / ArcCatalog v 9.3 is giving me an Error message:
 
WMS service exceptions:-Service Error Code:InvalidFormat
Service Error Description: msWMSLoadGetMapParams(): WMS server error. Invalid format for the EXCEPTION parameter.
-Service Error Code:InvalidFormat
 
Looking in the Apache access.log file I see:
 
"GET /cgi-bin/mapserv.exe?map=/ms4w/apps/service/nztm.map&VERSION=1.3.0&REQUEST=GetMap&CRS=EPSG:2193&BBOX=773500,4615000,2602100,5973130.71761735
&WIDTH=82&HEIGHT=111&LAYERS=crs_roads,crs_address,centroids,main_gates,main_homesteads,stockyards,dairysheds,synlait,apiaries,copyright
&STYLES=,,,,,,,,,&EXCEPTIONS=application/vnd.ogc.se_XML&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE HTTP/1.0"
 
In my various layer Metadata I have the following:
 
  METADATA
   "ows_title"    "apiaries"
   "ows_abstract"    "These are the registered apiaries from the Apiary DB"
   "wms_srs"   "EPSG:2193"
   "wms_opaque"    "0"
   "wms_group_title" "API"
   "wms_group_abstract" "Apiaries"
   "ows_extent" "773500 4615000 2602100 6324500"
   "wms_dataurl_format" "text/html"
   "gml_include_items" "all"
   "wms_exceptions_format" "application/vnd.ogc.se_xml"
  END
 
Many thanks,
 
Robert Sanson
------------------------------------------------------------------
The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify the sender immediately and delete the message and any attachments. The opinions expressed in this email are not necessarily those of AsureQuality. This message has been scanned for known viruses before delivery. AsureQuality supports the Unsolicited Electronic Messages Act 2007. If you do not wish to receive similar communications in future, please notify the sender of this message.
------------------------------------------------------------------


This message has been scanned for malware by SurfControl plc. www.surfcontrol.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090923/e4d02d67/attachment.html


More information about the mapserver-users mailing list