Update: Same problem happens with the x86 binaries all other things being equal. Also, I have trimmed the set of files in my mapserver binary folder to these:<br><br>epsg<br>fribidi.dll<br>gdal16.dll<br>geos_c.dll<br>iconv.dll<br>

libcurl.dll<br>libexpat.dll<br>libfcgi.dll<br>libmap.dll<br>libpq.dll<br>libxml2.dll<br>mapserv.exe<br>pdflib.dll<br>proj.dll<br>spatialite.dll<br>web.config<br>xerces-c_2_8.dll<br>zlib1.dll<br><br><br><br><br><br><div class="gmail_quote">

On Mon, Dec 7, 2009 at 9:46 AM, Daniel Walton <span dir="ltr">&lt;<a href="mailto:dgwalton@gmail.com">dgwalton@gmail.com</a>&gt;</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;">

Thanks to all who&#39;ve been helping me along. I&#39;m getting close to having x64 working now. I&#39;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&#39;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&#39;re blank. Here&#39;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&#39;s WMS service with this URL:<br>


<br><a href="http://www.fireimagery.com/ms/mapserv.exe?map=C%3A%2Fmaps%2FA091207074551.map&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;WIDTH=1680&amp;HEIGHT=536&amp;FORMAT=image/png&amp;LAYERS=ZZ&amp;S0TYLE=&amp;BGCOLOR=0x888888&amp;TRANSPARENT=FALSE&amp;VERSION=1.3.0&amp;CRS=EPSG:4326&amp;BBOX=36.0156802563091,-123.307040153269,37.2036688809148,-119.583493717938&amp;EXCEPTIONS=XML" target="_blank">http://www.fireimagery.com/ms/mapserv.exe?map=C%3A%2Fmaps%2FA091207074551.map&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;WIDTH=1680&amp;HEIGHT=536&amp;FORMAT=image/png&amp;LAYERS=ZZ&amp;S0TYLE=&amp;BGCOLOR=0x888888&amp;TRANSPARENT=FALSE&amp;VERSION=1.3.0&amp;CRS=EPSG:4326&amp;BBOX=36.0156802563091,-123.307040153269,37.2036688809148,-119.583493717938&amp;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 &quot;C:/mapserver/&quot;</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">  NAME &quot;A091207074551&quot;</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 &quot;aggpng24&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    MIMETYPE &quot;image/png&quot;</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">    DRIVER &quot;AGG/PNG&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    EXTENSION &quot;PNG&quot;</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">    IMAGEMODE &quot;RGBA&quot;</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;">    &quot;init=epsg:4326&quot;</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 &quot;&quot;</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">    IMAGEURL &quot;&quot;</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;">      &quot;wms_title&quot;    &quot;A091207074551&quot;</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 &quot;C:\rawimages\A091207074551_output\A091207074551_0_config_PROCESS_RESULTS\BASINCOMPLEX_ftp.coloradoskye.com_2008_CA_Siege_080627_1200Local_SPOT_NIR_OUT.PNG&quot;</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;">      &quot;wms_srs&quot;    &quot;EPSG:4326&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">      &quot;wms_extent&quot;    &quot;36.1 -121.8 36.3 -121.5&quot;</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">      &quot;wms_title&quot;    &quot;BASINCOMPLEX_FTP.COLORADOSKYE.COM_2008_CA_SIEGE_080627_1200LOCAL_SPOT_NIR&quot;</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 &quot;ZZ&quot;</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;">      &quot;init=epsg:4326&quot;</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" target="_blank">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">&lt;<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>&gt;</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">&lt;<a href="mailto:dgwalton@gmail.com" target="_blank">dgwalton@gmail.com</a>&gt;</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>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">&lt;<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>&gt;</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 &#39;Scripts and Executables&#39;<br>






<br>Best regards,<br><br>Tamas<br><br><br><br><div class="gmail_quote">2009/12/5 Daniel Walton <span dir="ltr">&lt;<a href="mailto:dgwalton@gmail.com" target="_blank">dgwalton@gmail.com</a>&gt;</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">&lt;<a href="mailto:dgwalton@gmail.com" target="_blank">dgwalton@gmail.com</a>&gt;</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&#39;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">&lt;<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>&gt;</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&#39;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">&lt;<a href="mailto:dgwalton@gmail.com" target="_blank">dgwalton@gmail.com</a>&gt;</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&#39;s exactly what I was hoping you&#39;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">&lt;<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>&gt;</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">&lt;<a href="mailto:dgwalton@gmail.com" target="_blank">dgwalton@gmail.com</a>&gt;</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&#39;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>
</blockquote></div><br>