[mapserver-users] Mapserver WMS under IIS 7 x64 serving up blank images

2009-12-07 Thread Daniel Walton
Thanks to all who've been helping me along. I'm getting close to having x64 working now. I've worked through a slew of issues over the weekend, most related to permissions. My latest issue is that mapserv.exe, when invoked via IIS 7's FastCGI (classic mode) module, is returning blank images. GetCap

Re: [mapserver-users] Mapserver WMS under IIS 7 x64 serving up blank images

2009-12-07 Thread Daniel Morissette
Daniel Walton wrote: Thanks to all who've been helping me along. I'm getting close to having x64 working now. I've worked through a slew of issues over the weekend, most related to permissions. My latest issue is that mapserv.exe, when invoked via IIS 7's FastCGI (classic mode) module, is retur

Re: [mapserver-users] Mapserver WMS under IIS 7 x64 serving up blank images

2009-12-07 Thread Daniel Walton
Daniel, Yes, the same mapfile worked under MS4W on a 32-bit machine. I have verified that this same problem occurs using the x86 binaries from Tamas' site run in the current x64 environment. The source image is in PNG format in order to make transparency work well on the client. (My client is Silv

Re: [mapserver-users] Mapserver WMS under IIS 7 x64 serving up blank images

2009-12-07 Thread Daniel Morissette
Daniel Walton wrote: Yes, the same mapfile worked under MS4W on a 32-bit machine. I have verified that this same problem occurs using the x86 binaries from Tamas' site run in the current x64 environment. The source image is in PNG format in order to make transparency work well on the client.

Re: [mapserver-users] Mapserver WMS under IIS 7 x64 serving up blank images

2009-12-07 Thread Daniel Walton
Thanks Daniel. No dice, though, log is empty. On Mon, Dec 7, 2009 at 2:38 PM, Daniel Morissette wrote: > Daniel Walton wrote: > >> >> Yes, the same mapfile worked under MS4W on a 32-bit machine. I have >> verified that this same problem occurs using the x86 binaries from Tamas' >> site run in the

Re: [mapserver-users] Mapserver WMS under IIS 7 x64 serving up blank images

2009-12-07 Thread Steve Lime
If I take the request out of WMS context to straight CGI with this request: http://www.fireimagery.com/ms/mapserv.exe?map=C:\maps\A091207074551.map&mode=map&mapsize=300+300&layer=ZZ I get the following error: msDrawMap(): Image handling error. Failed to draw layer named 'ZZ'. msDrawRaster():

Re: [mapserver-users] Mapserver WMS under IIS 7 x64 serving up blank images

2009-12-07 Thread Daniel Walton
I'm creating the PNG image from a GeoTIFF using: gdal_translate -of PNG -quiet -scale -co worldfile=yes [Geotiff_filename].tif [PNG_filename].PNG. Also, these PNG source images were working fine under MS4W x86. -Dan On Mon, Dec 7, 2009 at 3:14 PM, Steve Lime wrote: > If I take the request o

Re: [mapserver-users] Mapserver WMS under IIS 7 x64 serving up blank images

2009-12-07 Thread Tamas Szekeres
Daniel, This may also be an issue if GDAL couldn't actually open this file bacause of any reason (permission?). Make sure about this, by using a file monitoring tool, like SysInternals filemon for instance. Best regards, Tamas 2009/12/7 Steve Lime > If I take the request out of WMS context

Re: [mapserver-users] Mapserver WMS under IIS 7 x64 serving up blank images

2009-12-07 Thread Steve Lime
The error still indicates a problem recognizing the file type. Can you hit the source GeoTIFF? >>> On 12/7/2009 at 3:18 PM, in message <8ab83e650912071318r3f35074anb9d6c9b64393a...@mail.gmail.com>, Daniel Walton wrote: > I'm creating the PNG image from a GeoTIFF using: > > gdal_translate -of PN

Re: [mapserver-users] Mapserver WMS under IIS 7 x64 serving up blank images

2009-12-07 Thread Daniel Walton
Layer YY now references the GeoTIFF, same problem. http://www.fireimagery.com/ms/mapserv.exe?map=C:\maps\A091207074551.map&mode=map&mapsize=150+150&layer=YY Here is the error file conten

Re: [mapserver-users] Mapserver WMS under IIS 7 x64 serving up blank images

2009-12-07 Thread Daniel Walton
Tamas, Thanks for the tip. I used process monitor and everything looks OK in the permissions department. I think the problem relates to the fact that mapserver doesn't calculate an overlap between map and layer. I'm not sure what would cause this. -Dan On Mon, Dec 7, 2009 at 3:22 PM, Tamas Szek

Re: [mapserver-users] Mapserver WMS under IIS 7 x64 serving up blank images

2009-12-08 Thread Daniel Walton
I figured out what was going on. It was an easting-northing mixup in the map and layer extents. Apparently earlier versions of mapserver/mapscript tolerated the bug. Anyway it's all working now under Windows Server 2008 x64 and IIS 7 FastCGI. A big thanks to the mapserver community. Open source roc