Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I hope you can help me with the following:

We need to create a stand alone asp.net based site that will display some maps. We are using IIS Express to run a site and now we need to add the map server part.

We have map files from the existing Apache/php & OpenLayers based site and need to add them to our site.

My MapServer understanding is basic so any help is appreciated.

Also where I can find any good references/tutorials?

Thanks in advance.

share|improve this question
    
Have you shortlisted a map-server, or are you asking us for help in selecting a map-server for IIS? –  Devdatta Tengshe Nov 26 '12 at 4:50
1  
Hello Rita So if you want to tutorials for map server then you can go through Beginning MapServer book..its very good book and lot of tutorials you can find on google..please check this mapserver.org/tutorial/index.html –  Sunil Nov 26 '12 at 4:54
    
@DevdattaTengshe: we would like to use mapserver 6.2.0, since can be used as stand alone, however i don't know how to config iis express to execute mapserv.exe. thanks in advance –  rita Nov 26 '12 at 15:12
    
@Sunil: thank you for the link i will take a look. we would like to re-use the existing code that was working with apache server however this time we need to run it under iis express (stand-alone application). thank you! –  rita Nov 26 '12 at 15:14
    
@rita if you want to install the stand alone map server then I don't think IIS is required... because internal web server tomcat is already present..you have to just extract the setup (ms4w.zip) to C drive (Check the port accordingly ex. 8082) and then restart the tomcat..the whole process is available in help link..you can check above link..thanks for your reply & all the best –  Sunil Nov 26 '12 at 17:23
show 3 more comments

2 Answers 2

We recently added a couple of wiki pages dealing with installing Mapserver under IIS:

https://github.com/mapserver/mapserver/wiki/Installing-Mapserver-under-IIS-7.n-with-FastCGI

https://github.com/mapserver/mapserver/wiki/Configuring-FastCGI-for-Mapserver-on-IIS-5.n-and-6.n-x86

These should get you started, unless you are using php-mapscript: in that case just follow the instructions for installing plain PHP under IIS and then installing the custom php-mapscript module.

share|improve this answer
add comment

Edit the "applicationhost.config" file.(Path:C:\Users[USER NAME]\Documents\IISExpress\config)

Edit the </fastCgi> tag to:

<fastCgi>
   <application fullPath="C:\ms4w\Apache\cgi-bin\mapserv.exe"
         arguments=""
         maxInstances="4"
         idleTimeout="300"
         activityTimeout="30"
         requestTimeout="90"
         instanceMaxRequests="10000"
         protocol="NamedPipe"
         flushNamedPipe="false">
      <environmentVariables>
         <!--<environmentVariable name="PHP_FCGI_MAX_REQUESTS" value="10000" /> -->
      </environmentVariables>
   </application>
</fastCgi>
share|improve this answer
1  
Can you add more information to your answer? Right now it is not clear why someone should edit the applicationhost.config file, and what other steps needs to be taken. As the Answer currently stands, it is not independent, and will not be useful. –  Devdatta Tengshe Oct 16 '13 at 2:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.