<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>Hi, Ive been struggling with this problem for a little while now.<br> <br>My WMS layer will only display if STATUS is set to DEFAULT within the mapfile. If status is set to ON, i get following error message within OL Map window. "WMSLoadGetMapParams(): WMS Server Error". What am i missing to call the layer within openlayers?<br> <br>My Code is as follows:<br> <br>      var bounds = new OpenLayers.Bounds(0, 0, 660046, 1229782);<br>      var map, layer1, layer2;<br>      var options = { maxExtent: bounds, maxResolution: 1000, numZoomLevels: 10};<br> <br>      <br>      <br>      function init(){<br>          map = new OpenLayers.Map('map', options);<br> <br>      layer1 = new OpenLayers.Layer.WMS("OpenLayers WMS",<br>      "http://localhost/cgi-bin/mapserv.exe?map=c:/ms4w/apps/openlayers-2.8/data/uk2.map", { layers: "250" },<br>      {gutter: 15});<br> <br>      map.addLayer(layer1);<br>      map.zoomToMaxExtent();<br> <br> <br> Thanks for any help in advance<br> <br>Paul<br>                                               <br /><hr />View your other email accounts from your Hotmail inbox. <a href='http://clk.atdmt.com/UKM/go/167688463/direct/01/' target='_new'>Add them now.</a></body>
</html>