[ms4w-users] getting error in Vista

Jeff McKenna jmckenna at gatewaygeomatics.com
Fri Apr 3 13:01:32 EST 2009

Phalguni Pal wrote:
> Dear friends,
> The mapserver installed in vista os in my machine is responding well. I 
> got the responce like :
> "No query information to decode. QUERY_STRING is set, but empty. "
> Now I am trying to run a map file but getting error. I have a html form 
> like:
> -------------------------------
> <html><head>
> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
> </head><body bgcolor="yellow">
> <form action="" method="get">
> <br>MAPFILE    <input name="MAP" value="C:/mapdata/cities.map" size="40" 
> type="text">
> <br>REQUEST  <input name="REQUEST" value="GetMap" size="40" type="text">
> <br>SERVICE    <input name="SERVICE" value="WMS" size="40" type="text">
> <br>VERSION   <input name="VERSION" value="1.1.1" size="40" type="text">
> <br>LAYERS     <input name="LAYERS" value="coastline" size="40" type="text">
> <br>STYLES     <input name="STYLES" value="default" size="40" type="text">
> <br>SRS           <input name="SRS" value="EPSG:4326" size="40" type="text">
> <br>BBOX        <input name="bbox" value="180,-10,180,90" size="40" 
> type="text">
> <br>WIDTH      <input name="WIDTH" value="800" size="40" type="text">
> <br>HEIGHT    <input name="HEIGHT" value="600" size="40" type="text">
> <br>FORMAT  <input name="FORMAT" value="image/png" size="40" type="text">
> <br>                 <input value="Submit" type="submit">
> </form>
> -------------------------------
> But when I am running the a map file ( e.g. cities.map) Windows Vista 
> opening is opening a new small window with the message like:
> "You have chosen to open mapserv.exe" which is a : EXE file from 
> Would you like to save this file?"
> The url in browser is like 
> "\mapdata\cities.map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=grid,border2,cities&STYLES=default&SRS=EPSG%3A4326&bbox=-180%2C-10.0%2C180%2C90&WIDTH=800&HEIGHT=600&FORMAT=image%2Fpng"
> The same URL was running few days ago in the same system but now I am 
> getting the problem.
> Could you help me?
> Thanking you.
> Reagards,
> Phalguni


I have just executed some tests successfully with Vista:

- with MS4W 2.3.1 and the MapServer 5.4.0-beta4 package
- use the "PHP/MapScript Sample Application" from the MS4W downloads page
   - extract it at MS4W root
   - restart Apache
   - go to localhost in a browser
   - click on the WMS GetMap link on the localhost page in the browser
   - map of Canada should be successfully displayed in browser

I suggest you do the same locally, and then modify your own tests 


Jeff McKenna
FOSS4G Consulting and Training Services

More information about the ms4w-users mailing list