Thursday, January 24, 2013

mapserver: wms service not enabled

i got this on mapserver 6.0.3

<ServiceException>
    msWMSDispatch(): WMS server error. WMS request not enabled. Check wms/ows_enable_request settings.
</ServiceException>


to fix, place this in your map file under MAP > WEB:

METADATA
    WMS_ENABLE_REQUEST "*"
END

4 comments:

  1. Thanhks so much! but when I use getinfo by openlayers, I find the error:
    Content-type: application/vnd.ogc.se_xml isValidTemplate()

    How to fix that?

    Sorry my bad english

    ReplyDelete
    Replies
    1. hi, can you give the whole line of the error you get? :)

      Delete
    2. This comment has been removed by the author.

      Delete
    3. hi, thank you for replying. I fixed that. I added this line "" on the top of my template file and everything was good.hi
      Maybe I met those misses because I setuped my Mapserver on D driver ^^

      Delete

SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss

Got this while connecting to my mikrotik router via ssh   Unable to negotiate with <ip address> port <ssh port>: no matching hos...