[Tilecache] Problem Installing TileCache on IIS 5.1

carlos gordon cagb78 at yahoo.com
Mon Jul 2 17:56:06 EDT 2007


Hi, i have a couple days traying to install TileCache on IIS 5.1, but i fail in the process... What i did is...
1. First i download ActivePython2.5.0.0, and install it.
2. I follow the instucctions on the site http://support.microsoft.com/kb/276494,creating the virtual directory and given the permissions
3. I cannot do the 3rd step, change the metabase.xml, because i don't know where it is? 
4. I edit the tilecache.cgi, in this way...

!C:/Python25/python.exe -u

from TileCache import Service, cgiHandler, cfgfiles

if __name__ == '__main__':
    svc = Service.load("C:/Inetpub/wwwroot/tilecache/tilecache.cfg")    
    cgiHandler(svc)

5. I edit the  tilecache.cfg
[cache]
type=DiskCache
base=C:\Inetpub\wwwroot\tilecache\tmp

[base]
type=WMSLayer
url=http://localhost/mapserver/cgi-bin/mapserv.exe?map=/ms4w/apps/metro/map/metro.map
layers=limiteurbano,isla,red250k,red100k,corregimiento250k
extension=png
size=256,256
bbox=-79.64,8.89,-79.29,9.17
srs=EPSG:4326
levels=20
resolutions=1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.00137329101
metatile=false
metaSize=5,5
metaBuffer=10

i call de tilecache.cgi from OpenLayers, but it doesn't seems to work properly (i just get pink tiles), and when i use the firefox browser and put the url:
http://localhost/tilecache/tilecache.cgi?layers=base

i get this message:
 %1 is not a Win32 valid application

I will be really thanxfull if someone can give me a hand about this subject...

Cheers


Carlos A. Gordón 
Especialista en GIS 
Tel. (507) 665-49715 
cagb78 at nuzkiamedia.com 
Vía Sonadora, casa 5, 
Penonome, Provincia de Coclé 
Panamá
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20070702/e1021d67/attachment.html


More information about the Tilecache mailing list