Tuesday, 20 May 2014

How to run multiple versions of Syspro

If you are a Syspro developer, you may want to run multiple versions of Syspro on the same machine. This article describes how to install and switch between version 6.1 and 7.0 of Syspro.

Setup

You probably already have Syspro 6.1 (server) installed, plus Syspro 6.1's versions of Syspro WCF and Syspro Web Services, so we'll take that as the starting point.

Install Syspro 7.0 (server), but pay attention to the points below.

Installing Syspro 7.0 Web Services

When installing Syspro Web Services version 7, it will remove and replace version 6.1’s web services; that is OK; you will not need to re-install Syspro 6.1 web services to access Syspro 6.1 web services. You will be able to access both versions of web services with Syspro 7's web services... so long as you follow the steps below under "Switching between versions".

Installing Syspro 7.0 WCF

Installing Syspro 7 WCF will wipe out your Syspro 6 WCF installation, so the recommend procedure is:
  1. Backup your Syspro 6 WCF config file.
  2. Install Syspro 7 WCF.
  3. Re-install Syspro 6 WCF, but to a DIFFERENT directory.
  4. Re-configure Syspro 6 WCF using the config file you saved in step 1.
  5. Configure Syspro 7 WCF to use DIFFERENT ports to Syspro 6.1 WCF.

Switching between versions

From an elevated command prompt, unregister the Syspro 6.1 version of Encore.dll and register the Syspro 7 version, e.g.

cd /syspro61/base
regsvr32 /u encore.dll
cd /syspro7/base
regsvr32 encore.dll

Then you should be able to use Syspro 7’s web services – you will need to use the correct company code and the instance number for your Syspro 7 installation, of course.

You will not be able to access Syspro 6 while Syspro 7’s Encore.dll is registered; you must use the procedure in reverse to unregister Syspro 7's Encore.dll and register Syspro 6.1's Encore.dll.

No comments:

Post a Comment