<HTML><HEAD>
<META content="text/html; charset=iso-8859-15" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16466"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Segoe UI">
<DIV>What does your TileCache.cfg file look like?</DIV>
<DIV> </DIV>
<DIV><BR><BR>>>> On 1/20/2010 at 9:34 AM, "Jose A. C." <joscalv@gmail.com> 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 style="mso-ansi-language: EN-US" lang=EN-US>I have configured the tilecache under Windows XP and IIS 5.</SPAN></P>
<P class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US>I follow the steps in <A href="http://viswaug.wordpress.com/2008/02/03/setting-up-tilecache-on-iis/">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 style="mso-ansi-language: EN-US" lang=EN-US></SPAN></P>
<P class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US>By the way a GetCapabilities petition works fine.</SPAN></P>
<P class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US></SPAN></P>
<P class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US>If I do a petition like this: </SPAN></P>
<P class=MsoNormal><SPAN style="mso-ansi-language: EN-US" 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">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 style="mso-ansi-language: EN-US" lang=EN-US></SPAN></P>
<P class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US>I receive the follow message:</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-ansi-language: EN-US" 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; mso-ansi-language: EN-US" 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; mso-ansi-language: EN-US" 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; mso-ansi-language: EN-US" 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; mso-ansi-language: EN-US" 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; mso-ansi-language: EN-US" 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; mso-ansi-language: EN-US" lang=EN-US>data = layer.render(tile, force=force)</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-ansi-language: EN-US" 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; mso-ansi-language: EN-US" lang=EN-US>return self.renderTile(tile)</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-ansi-language: EN-US" 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; mso-ansi-language: EN-US" lang=EN-US>tile.data, response = wms.fetch()</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-ansi-language: EN-US" 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; mso-ansi-language: EN-US" lang=EN-US>response = self.client.open(urlrequest)</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-ansi-language: EN-US" 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; mso-ansi-language: EN-US" lang=EN-US>response = self._open(req, data)</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-ansi-language: EN-US" 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; mso-ansi-language: EN-US" lang=EN-US>'_open', req)</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-ansi-language: EN-US" 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; mso-ansi-language: EN-US" lang=EN-US>result = func(*args)</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-ansi-language: EN-US" 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; mso-ansi-language: EN-US" lang=EN-US>return self.do_open(httplib.HTTPConnection, req)</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-ansi-language: EN-US" 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; mso-ansi-language: EN-US" lang=EN-US>raise URLError(err)</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-ansi-language: EN-US" lang=EN-US></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-ansi-language: EN-US" lang=EN-US></SPAN></P>
<P class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US>Can anyone help me??</SPAN></P>
<P class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US></SPAN></P>
<P class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US>Thanks!!!</SPAN></P>
<P class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US></SPAN></P></DIV></BODY></HTML>