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. GetCapabilities is working fine, and the GetMap images are the right size and format, but they're blank. Here's my setup: I downloaded and installed the x64 binaries (from Tamas, thanks!) into a single directory (C :\mapserver\). The IIS impersonated user has sufficient privileges on this folder and all data folders. I am accessing mapserver's WMS service with this URL:<br>
<br><a href="http://www.fireimagery.com/ms/mapserv.exe?map=C%3A%2Fmaps%2FA091207074551.map&SERVICE=WMS&REQUEST=GetMap&WIDTH=1680&HEIGHT=536&FORMAT=image/png&LAYERS=ZZ&S0TYLE=&BGCOLOR=0x888888&TRANSPARENT=FALSE&VERSION=1.3.0&CRS=EPSG:4326&BBOX=36.0156802563091,-123.307040153269,37.2036688809148,-119.583493717938&EXCEPTIONS=XML">http://www.fireimagery.com/ms/mapserv.exe?map=C%3A%2Fmaps%2FA091207074551.map&SERVICE=WMS&REQUEST=GetMap&WIDTH=1680&HEIGHT=536&FORMAT=image/png&LAYERS=ZZ&S0TYLE=&BGCOLOR=0x888888&TRANSPARENT=FALSE&VERSION=1.3.0&CRS=EPSG:4326&BBOX=36.0156802563091,-123.307040153269,37.2036688809148,-119.583493717938&EXCEPTIONS=XML</a><br>
<br>The corresponding mapfile text is as follows:<br><br><span style="font-family: courier new,monospace;">MAP</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> EXTENT 36.0992948502284 -121.822480778145 36.3421121497716 -121.520865221855</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> IMAGECOLOR 255 255 255</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> IMAGETYPE PNG</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> SIZE -1 -1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> STATUS ON</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> UNITS DD</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> CONFIG PROJ_LIB "C:/mapserver/"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> NAME "A091207074551"</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> OUTPUTFORMAT</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> NAME "aggpng24"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> MIMETYPE "image/png"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> DRIVER "AGG/PNG"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> EXTENSION "PNG"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> IMAGEMODE "RGBA"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> TRANSPARENT TRUE</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> END</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> PROJECTION</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> "init=epsg:4326"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> END</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> QUERYMAP</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> COLOR 255 255 0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> SIZE -1 -1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> STATUS OFF</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> STYLE HILITE</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> END</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> WEB</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> IMAGEPATH ""</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> IMAGEURL ""</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> METADATA</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> "wms_title" "A091207074551"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> END</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> QUERYFORMAT text/html</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> LEGENDFORMAT text/html</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> BROWSEFORMAT text/html</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> END</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> LAYER</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> DATA "C:\rawimages\A091207074551_output\A091207074551_0_config_PROCESS_RESULTS\BASINCOMPLEX_ftp.coloradoskye.com_2008_CA_Siege_080627_1200Local_SPOT_NIR_OUT.PNG"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> EXTENT 36.0992948502284 -121.822480778145 36.3421121497716 -121.520865221855</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> METADATA</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> "wms_srs" "EPSG:4326"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> "wms_extent" "36.1 -121.8 36.3 -121.5"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> "wms_title" "BASINCOMPLEX_FTP.COLORADOSKYE.COM_2008_CA_SIEGE_080627_1200LOCAL_SPOT_NIR"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> END</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> NAME "ZZ"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> PROJECTION</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> "init=epsg:4326"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> END</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> STATUS ON</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> TYPE RASTER</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> UNITS DD</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> END</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">END</span><br>
<br>I have tried several different image formats and drivers, all produce blank images. Any ideas what might be wrong? Any way to set up more helpful error trapping?<br><br>Thanks,<br>Dan Walton<br><a href="http://gisfiretools.com">GIS Fire Tools</a><br>
<br><br><div class="gmail_quote">On Sun, Dec 6, 2009 at 4:04 PM, Tamas Szekeres <span dir="ltr"><<a href="mailto:szekerest@gmail.com">szekerest@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Daniel,<br><br>In bin/gdal/apps you can find the generic gdal/ogr applications, whereas the applications in bin/gdal/csharp have been implemented by using the gdal c# API. gdalinfo.exe and ogrinfo.exe provides similar functionalities in both cases.<br>
<br>Best regards,<br><br>Tamas<br><br><br><br><br><div class="gmail_quote">2009/12/6 Daniel Walton <span dir="ltr"><<a href="mailto:dgwalton@gmail.com" target="_blank">dgwalton@gmail.com</a>></span><div><div></div>
<div class="h5"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Tamas,<br><br>In your binary distibutions there are 2 versions of gdalinfo.exe and ogrinfo.exe, one in bin/gdal/apps and the other in bin/gdal/csharp. What is the difference between the two versions?<br><br>-Dan<div><div>
</div><div><br><br><br>
<div class="gmail_quote">On Sat, Dec 5, 2009 at 3:31 AM, Tamas Szekeres <span dir="ltr"><<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Have you configured mapping the .exe extension to this mapserv.exe with your IIS application?<br>Make sure to enable CGI mode and copy all the x64 dll-s to the same directory as the mapserv.exe application.<br>Set up the executing permissions to something like 'Scripts and Executables'<br>
<br>Best regards,<br><br>Tamas<br><br><br><br><div class="gmail_quote">2009/12/5 Daniel Walton <span dir="ltr"><<a href="mailto:dgwalton@gmail.com" target="_blank">dgwalton@gmail.com</a>></span><div><div></div><div>
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Tamas,<br><br>Update: I removed the CGI mapping and just used the default CGI hander in IIS. Now the request returns a file named mapserv.exe. I attached it as a text file. Again, thanks for any insights.<br><br>-Dan<div>
<div></div><div><br><br>
<br><div class="gmail_quote">On Fri, Dec 4, 2009 at 9:14 PM, Daniel Walton <span dir="ltr"><<a href="mailto:dgwalton@gmail.com" target="_blank">dgwalton@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Tamas, <br><br>I installed the binaries from your website into c:\mapserver, added all the paths to the system path variable, and set up the IIS folders. Now I get a 500 internal error when trying to access mapserv.exe. The application log gives this error:<br>
<br><i>Faulting application mapserv.exe, version 0.0.0.0, time stamp 0x4b1893cb, faulting module libmap.dll, version 6.0.6001.18000, time stamp 0x4791adec, exception code 0xc0000135, fault offset 0x00000000000b1188, process id 0x4bc, application start time 0x01ca7557ca56f442.</i><br>
<br>Any idea what I'm doing wrong?<br><br>Thanks,<br>Dan<div><div></div><div><br><br><br><div class="gmail_quote">On Fri, Dec 4, 2009 at 2:22 PM, Tamas Szekeres <span dir="ltr"><<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I've mostly used this with IIS6,but it should however work on IIS7 as well.<br><br>On IIS6 I configure a web server extensions to mapserv.exe (CGI mode) and fcgiext.dll (for FastCGI). <br>
Set up the executing permission (Scripts and Executables) and the application extension mapping (.exe) to mapserv.exe or fcgiext.dll.<br>
<br>Best regards,<br><font color="#888888"><br>Tamas</font><div><div></div><div><br><br><br><br><div class="gmail_quote">2009/12/4 Daniel Walton <span dir="ltr"><<a href="mailto:dgwalton@gmail.com" target="_blank">dgwalton@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Tamas,<br>That's exactly what I was hoping you'd say! Which IIS module mapping should I use for *.exe?<div><div></div><div><br><br><div class="gmail_quote">On Fri, Dec 4, 2009 at 1:55 PM, Tamas Szekeres <span dir="ltr"><<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br><div class="gmail_quote"><div>2009/12/4 Daniel Walton <span dir="ltr"><<a href="mailto:dgwalton@gmail.com" target="_blank">dgwalton@gmail.com</a>></span><br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Tamas,<div><br><br>Thanks for the reply. If I just want to use mapserver CGI as a WMS server, do I need PHP? Is there another way to interact with mapserv.exe for this limited purpose (e.g. an <a href="http://ASP.NET" target="_blank">ASP.NET</a> wrapper or something)? <br>
<br>-Dan<div><div></div><div><br><br></div></div></div></blockquote><div><br>Dan,<br><br></div></div>If you use the MapServer CGI (mapserv.exe) you wouldn't require to compile against PHP, the packages from <a href="http://vbkto.dyndns.org/sdk/" target="_blank">http://vbkto.dyndns.org/sdk/</a> could be used without any change.<br>
Those packages also contain the MapScript C# interface (mapscript_csharp.dll) which would support creating <a href="http://ASP.NET" target="_blank">ASP.NET</a> applications around the MapServer codebase when you have further requirements about the desired functionality.<br>
<br><br>Best regards,<br><font color="#888888"><br>Tamas<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div></div></div><br>
</blockquote></div><br>
</div></div></blockquote></div></div></div><br>
</blockquote></div><br>