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:
epsg fribidi.dll gdal16.dll geos_c.dll iconv.dll libcurl.dll libexpat.dll libfcgi.dll libmap.dll libpq.dll libxml2.dll mapserv.exe pdflib.dll proj.dll spatialite.dll web.config xerces-c_2_8.dll zlib1.dll On Mon, Dec 7, 2009 at 9:46 AM, Daniel Walton <dgwal...@gmail.com> 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 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: > > > 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 > > The corresponding mapfile text is as follows: > > MAP > EXTENT 36.0992948502284 -121.822480778145 36.3421121497716 > -121.520865221855 > IMAGECOLOR 255 255 255 > IMAGETYPE PNG > SIZE -1 -1 > STATUS ON > UNITS DD > CONFIG PROJ_LIB "C:/mapserver/" > NAME "A091207074551" > > OUTPUTFORMAT > NAME "aggpng24" > MIMETYPE "image/png" > DRIVER "AGG/PNG" > EXTENSION "PNG" > IMAGEMODE "RGBA" > TRANSPARENT TRUE > END > > PROJECTION > "init=epsg:4326" > END > > QUERYMAP > COLOR 255 255 0 > SIZE -1 -1 > STATUS OFF > STYLE HILITE > END > > WEB > IMAGEPATH "" > IMAGEURL "" > METADATA > "wms_title" "A091207074551" > END > QUERYFORMAT text/html > LEGENDFORMAT text/html > BROWSEFORMAT text/html > END > > LAYER > DATA > "C:\rawimages\A091207074551_output\A091207074551_0_config_PROCESS_RESULTS\BASINCOMPLEX_ftp.coloradoskye.com_2008_CA_Siege_080627_1200Local_SPOT_NIR_OUT.PNG" > EXTENT 36.0992948502284 -121.822480778145 36.3421121497716 > -121.520865221855 > METADATA > "wms_srs" "EPSG:4326" > "wms_extent" "36.1 -121.8 36.3 -121.5" > "wms_title" > "BASINCOMPLEX_FTP.COLORADOSKYE.COM_2008_CA_SIEGE_080627_1200LOCAL_SPOT_NIR" > END > NAME "ZZ" > PROJECTION > "init=epsg:4326" > END > STATUS ON > TYPE RASTER > UNITS DD > END > > END > > 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? > > Thanks, > Dan Walton > GIS Fire Tools <http://gisfiretools.com> > > > On Sun, Dec 6, 2009 at 4:04 PM, Tamas Szekeres <szeker...@gmail.com>wrote: > >> Daniel, >> >> 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. >> >> Best regards, >> >> Tamas >> >> >> >> >> 2009/12/6 Daniel Walton <dgwal...@gmail.com> >> >> Tamas, >>> >>> 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? >>> >>> -Dan >>> >>> >>> >>> On Sat, Dec 5, 2009 at 3:31 AM, Tamas Szekeres <szeker...@gmail.com>wrote: >>> >>>> Have you configured mapping the .exe extension to this mapserv.exe with >>>> your IIS application? >>>> Make sure to enable CGI mode and copy all the x64 dll-s to the same >>>> directory as the mapserv.exe application. >>>> Set up the executing permissions to something like 'Scripts and >>>> Executables' >>>> >>>> Best regards, >>>> >>>> Tamas >>>> >>>> >>>> >>>> 2009/12/5 Daniel Walton <dgwal...@gmail.com> >>>> >>>> Tamas, >>>>> >>>>> 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. >>>>> >>>>> -Dan >>>>> >>>>> >>>>> >>>>> On Fri, Dec 4, 2009 at 9:14 PM, Daniel Walton <dgwal...@gmail.com>wrote: >>>>> >>>>>> Tamas, >>>>>> >>>>>> 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: >>>>>> >>>>>> *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.* >>>>>> >>>>>> Any idea what I'm doing wrong? >>>>>> >>>>>> Thanks, >>>>>> Dan >>>>>> >>>>>> >>>>>> >>>>>> On Fri, Dec 4, 2009 at 2:22 PM, Tamas Szekeres >>>>>> <szeker...@gmail.com>wrote: >>>>>> >>>>>>> I've mostly used this with IIS6,but it should however work on IIS7 as >>>>>>> well. >>>>>>> >>>>>>> On IIS6 I configure a web server extensions to mapserv.exe (CGI mode) >>>>>>> and fcgiext.dll (for FastCGI). >>>>>>> Set up the executing permission (Scripts and Executables) and the >>>>>>> application extension mapping (.exe) to mapserv.exe or fcgiext.dll. >>>>>>> >>>>>>> Best regards, >>>>>>> >>>>>>> Tamas >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> 2009/12/4 Daniel Walton <dgwal...@gmail.com> >>>>>>> >>>>>>>> Tamas, >>>>>>>> That's exactly what I was hoping you'd say! Which IIS module mapping >>>>>>>> should I use for *.exe? >>>>>>>> >>>>>>>> >>>>>>>> On Fri, Dec 4, 2009 at 1:55 PM, Tamas Szekeres <szeker...@gmail.com >>>>>>>> > wrote: >>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> 2009/12/4 Daniel Walton <dgwal...@gmail.com> >>>>>>>>> >>>>>>>>>> Tamas, >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> 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 ASP.NET wrapper or something)? >>>>>>>>>> >>>>>>>>>> -Dan >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> Dan, >>>>>>>>> >>>>>>>>> If you use the MapServer CGI (mapserv.exe) you wouldn't require to >>>>>>>>> compile against PHP, the packages from >>>>>>>>> http://vbkto.dyndns.org/sdk/ could be used without any change. >>>>>>>>> Those packages also contain the MapScript C# interface >>>>>>>>> (mapscript_csharp.dll) which would support creating >>>>>>>>> ASP.NETapplications around the MapServer codebase when you have >>>>>>>>> further >>>>>>>>> requirements about the desired functionality. >>>>>>>>> >>>>>>>>> >>>>>>>>> Best regards, >>>>>>>>> >>>>>>>>> Tamas >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> >
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users