wiki:InstallSideBySide1.2and2.0IIS

Version 2 (modified by tomfukushima, 17 years ago) ( diff )

--

These instructions allow you to install a version of MapGuide Open Source 2.0 side by side with MapGuide Open Source 1.2 using IIS. Please note that this is NOT an officially supported configuration, and is to be used for testing purposes only.

These instructions assume that you have already installed MapGuide Open Source 1.2 following all defaults for an IIS install.

Install MapGuide Server 2.0

  • Use all default options
  • The service will not start because of port conflicts with MapGuide 1.2. To resolve this, go to
     
       C:\Program Files\MapGuideOpenSource2.0\Server\Bin
    
    
  • Edit the serverconfig.ini file with the following changes
     
        [AdministrativeConnectionProperties]
          Port = 2820
        [ClientConnectionProperties]
          Port = 2821
        [SiteConnectionProperties]
          Port = 2822
    
    

Install MapGuide Web Extensions 2.0

We need to use the bundled Apache install because MGOS 2.0 uses the same IIS virtual directory as MGOS 1.2 and so two IIS installs will not work. If you know how to change the virtual directory in IIS, then side-by-side IIS installs should also work if you take some of the appropriate steps below.

The MGOS 2.0 installer currently sets some registry keys incorrectly. Before proceeding, export the HKEY_LOCAL_MACHINE\SOFTWARE\FASTCGI key using the registry editor.

  • Install using the default options.
  • The ApacheMapGuide service will not install because it has the same name as an existing service. To fix this, perform the following steps
    • Open a command prompt
    • Change directory to
       
          C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions\Apache2
      
      
    • Type:
       
            bin\httpd -k install -n "ApacheMapGuide2.0"
            net start ApacheMapGuide2.0
      
      
  • The server's port number in the WebServerExtensions will be incorrect. To resolve this issue:
    • Navigate to
       
          C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions\www
      
      
    • Edit the webconfig.ini file as follows:
       
          [AdministrativeConnectionProperties]
            Port = 2820
          [ClientConnectionProperties]
            Port = 2821
          [SiteConnectionProperties]
            Port = 2822
      
      

Using the registry editor, import the reg file that you exported above.

Using the Services applet, restart the World Wide Web Publishing Service service. Using the Services applet, restart the ApacheMapGuide service.

The URL that you will use to get to the 2.0 site is http://<machinename>:8008/mapguide. If you are getting PHP error dialogs coming up. Start the registry editor, export (so that you have a copy) and delete the HKEY_LOCAL_MACHINE\SOFTWARE\PHP\5.2.1 key. Then restart the World Wide Web Publishing Service service.

Note: See TracWiki for help on using the wiki.