<br>Hello all,<br>I am trying to load some kml file into openlayer however, if I put my htm page in the browser this way: <a href="http://localhost/mypage.htm" target="_blank">http://localhost/mypage.htm</a> it does not find the kml file which is loaded in the root of the site.<br>

Now, if I load the page in the browser this way: 
file:///C:/inetpub/wwwroot/ , then openlayers can open it very fast and 
no problem.<br><br>Can someone please help me to solve this problem? Below is my piece of code.<br><br>
Thank you all!<br><br>map.addLayer(new OpenLayers.Layer.GML(&quot;KML&quot;, &quot;myTest.kml&quot;, <br>               {<br>                projection: new OpenLayers.Projection(&quot;EPSG:<div id=":j4">4326&quot;),<br>
                displayProjection: new OpenLayers.Projection(&quot;EPSG:900913&quot;), <br>
<br>                format: OpenLayers.Format.KML, <br>                formatOptions: {<br>                  extractStyles: true, <br>                  extractAttributes: true,<br>                  maxDepth: 2<br>                }<br>

               }));<br><font color="#888888"><br>Andres</font></div><br>