<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">the only lines that are uncoment of TileCache.config are:<div><div><br></div><div>[cache]</div><div>type=Disk</div>
<div>base=C:\Inetpub\wwwroot\tilecache\Cache</div><div><br></div><div><div>[basic]</div><div>type=WMS</div><div>url=<a href="http://labs.metacarta.com/wms/vmap0" target="_blank" style="color: rgb(7, 77, 143); ">http://labs.metacarta.com/wms/vmap0</a></div>
<div>layers=vmap0</div><div>extension=png</div><div><br></div><div>any idea?</div></div></div></span><br><div class="gmail_quote">2010/1/20 Shawn Oatley <span dir="ltr"><<a href="mailto:shawn@niagarafalls.ca">shawn@niagarafalls.ca</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="margin:4px 4px 1px;font:10pt Segoe UI">
<div>What does your TileCache.cfg file look like?</div><div><div></div><div class="h5">
<div> </div>
<div><br><br>>>> On 1/20/2010 at 9:34 AM, "Jose A. C." <<a href="mailto:joscalv@gmail.com" target="_blank">joscalv@gmail.com</a>> wrote:<br></div>
<div style="border-left:#050505 1px solid;background-color:#f3f3f3;margin:0px 0px 0px 15px;padding-left:7px">
<p class="MsoNormal"><span lang="EN-US">I have configured the tilecache under Windows XP and IIS 5.</span></p>
<p class="MsoNormal"><span lang="EN-US">I follow the steps in <a href="http://viswaug.wordpress.com/2008/02/03/setting-up-tilecache-on-iis/" target="_blank">http://viswaug.wordpress.com/2008/02/03/setting-up-tilecache-on-iis/</a> and I did it without errors, but when I open the test page, the images on openlayers map are pink and the images don't appear.</span></p>
<p class="MsoNormal"><span lang="EN-US"></span></p>
<p class="MsoNormal"><span lang="EN-US">By the way a GetCapabilities petition works fine.</span></p>
<p class="MsoNormal"><span lang="EN-US"></span></p>
<p class="MsoNormal"><span lang="EN-US">If I do a petition like this: </span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="http://localhost/tilecache/tilecache.py?LAYERS=basic&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-180,0,-135,45&WIDTH=256&HEIGHT=256" target="_blank">http://localhost/tilecache/tilecache.py?LAYERS=basic&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-180,0,-135,45&WIDTH=256&HEIGHT=256</a></span></p>
<p class="MsoNormal"><span lang="EN-US"></span></p>
<p class="MsoNormal"><span lang="EN-US">I receive the follow message:</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">An error occurred: <urlopen error (10060, 'Operation timed out')></span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">File "c:\inetpub\wwwroot\tilecache\TileCache\Service.py", line 323, in cgiHandler</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">format, image = service.dispatchRequest( params, path_info, req_method, host )</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">File "c:\inetpub\wwwroot\tilecache\TileCache\Service.py", line 208, in dispatchRequest</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">return self.renderTile(tile, params.has_key('FORCE'))</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">File "c:\inetpub\wwwroot\tilecache\TileCache\Service.py", line 138, in renderTile</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">data = layer.render(tile, force=force)</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">File "c:\inetpub\wwwroot\tilecache\TileCache\Layer.py", line 443, in render</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">return self.renderTile(tile)</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">File "c:\inetpub\wwwroot\tilecache\TileCache\Layers\WMS.py", line 29, in renderTile</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">tile.data, response = wms.fetch()</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">File "c:\inetpub\wwwroot\tilecache\TileCache\Client.py", line 58, in fetch</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">response = self.client.open(urlrequest)</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">File "C:\Python25\lib\urllib2.py", line 381, in open</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">response = self._open(req, data)</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">File "C:\Python25\lib\urllib2.py", line 399, in _open</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">'_open', req)</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">File "C:\Python25\lib\urllib2.py", line 360, in _call_chain</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">result = func(*args)</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">File "C:\Python25\lib\urllib2.py", line 1107, in http_open</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">return self.do_open(httplib.HTTPConnection, req)</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">File "C:\Python25\lib\urllib2.py", line 1082, in do_open</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US">raise URLError(err)</span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US"></span></p>
<p class="MsoNormal"><span style="font-family:'Courier New';font-size:10pt" lang="EN-US"></span></p>
<p class="MsoNormal"><span lang="EN-US">Can anyone help me??</span></p>
<p class="MsoNormal"><span lang="EN-US"></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks!!!</span></p>
<p class="MsoNormal"><span lang="EN-US"></span></p></div></div></div></div>
</blockquote></div><br>