<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">There are many places there could be a problem<br><br>I suggest you start by entering the URL for the capabilities document into your browser &amp; make sure that is actually working.<br><br><a href="http://localhost/cgi-bin/mapserv.exe?map=C:/wwwroot/QGISMap/QGISMap.map&amp;service=WMS&amp;request=getcapabilities&amp;version=1.3.0">http://localhost/cgi-bin/mapserv.exe?map=C:/wwwroot/QGISMap/QGISMap.map&amp;service=WMS&amp;request=getcapabilities&amp;version=1.3.0</a> <br><br>Depending on what this says you can probably work through the problem. It should list the map layer you are asking for.<br><br>Brent Wood<br><br>--- On <b>Fri, 4/6/12, Özgür Arslan <i>&lt;ozgurarslan81@hotmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Özgür Arslan
 &lt;ozgurarslan81@hotmail.com&gt;<br>Subject: [mapserver-users] HELLLPPP!!!!<br>To: mapserver-users@lists.osgeo.org<br>Date: Friday, April 6, 2012, 2:38 PM<br><br><div id="yiv1493121521">


<div><div dir="ltr">


<style><!--
#yiv1493121521 .yiv1493121521hmmessage P
{
margin:0px;padding:0px;}
#yiv1493121521 body.yiv1493121521hmmessage
{
font-size:10pt;font-family:Tahoma;}
--></style>
<div dir="ltr">Hi All <br><br>I have a map file called QGISMap.map I am trying to make it appear in a frame that created by using open layers. But when I run the page it only shows a empty frame. Why it doesn't show the map? Can someone help me please? Codes are below:<br>&nbsp; &lt;!-- MapServer Template --&gt; <br>&nbsp;&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&nbsp; &lt;head&gt;<br>&nbsp;&nbsp;&nbsp; &lt;title&gt;OpenLayers Tutorial - Basic Map Setup&lt;/title&gt;<br>&nbsp;&nbsp;&nbsp; &lt;script src="http://openlayers.org/dev/lib/OpenLayers.js"&gt;&lt;/script&gt;<br>&nbsp;&nbsp;&nbsp; &lt;script type="text/javascript"&gt;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; var map, layer;<br>&nbsp;<br>function init(){<br>&nbsp;&nbsp;&nbsp; map = new OpenLayers.Map( 'map' );<br>&nbsp;&nbsp;&nbsp; layer = new OpenLayers.Layer.MapServer("OpenLayers WMS",<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "http://localhost/cgi-bin/mapserv.exe", {map:
 'C:/wwwroot/QGISMap/QGISMap.map'} );<br>&nbsp;&nbsp;&nbsp; map.addLayer([wms]);<br>&nbsp;&nbsp;&nbsp; map.zoomToMaxExtent();<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &lt;/script&gt;<br>&nbsp;<br>&nbsp;&nbsp;&nbsp; &lt;style&gt;<br>&nbsp;&nbsp;&nbsp; @media screen<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #map{width: 500px; height:500px; border: 2px solid black;}<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; &lt;/style&gt;<br>&nbsp; &lt;/head&gt;<br>&nbsp; &lt;body onload="init()"&gt;<br>&nbsp;&nbsp;&nbsp; &lt;h3&gt;OpenLayers Tutorial - Basic Map Setup&lt;/h3&gt;<br>&nbsp;&nbsp;&nbsp; &lt;div id="map"&gt;&lt;/div&gt;<br>&nbsp; &lt;/body&gt;<br>&lt;/html&gt;<br></div>
                                               </div></div>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>mapserver-users mailing list<br><a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></div></blockquote></td></tr></table>