Using Caché Direct
Installation and Upgrade
[Back] [Next]
   
Server:docs2
Instance:LATEST
User:UnknownUser
 
-
Search:    

Caché Direct is installed automatically when you install Caché. Sometimes, however, you may want to upgrade the server without reinstalling Caché or you may want to install the client-side software on a machine where Caché is not installed. This appendix describes how to do both of these things.

Upgrading Your Caché Direct Server
Caché Direct uses a server that is automatically installed with the rest of the Caché installation, but you can upgrade it easily without performing a new Caché installation. The Caché Direct server code is built to be backward compatible with older clients and all platforms. This means that you can upgrade the Caché Direct server to correct problems or install new features without other major upgrades.
To upgrade your Caché Direct server:
  1. Get the latest Caché Direct encrypted text file for your platform from the InterSystems InterSystems Worldwide Response Center (WRC) and place it on the Caché server machine. This file has the extension .enc.
  2. Stop any running Caché Direct jobs.
  3. In the Terminal, enter the following command:
    For example:
    Do rload^%CDCrypt("C:\\temp\\CDCache.enc","SYS")
This decrypts the source, loads the resulting .int code, compiles it, and destroys the source. The optional password is for the case where the server source is to be preserved. It is usually left off. If the password is provided and is correct, the .int source is retained. If you need to perform some activity that requires the source (such as debugging or testing changes), you can get the password from the InterSystems InterSystems Worldwide Response Center (WRC).
Installing VisM on a New Machine
The easiest way to install VisM is to install the Caché client software as usual. You can, however, install the Caché Direct client software manually. To do so:
  1. Make sure that you have installed the Microsoft Visual 2008 Redistributable Package, which is needed in order to register the VisM DLLs.
  2. Copy the following files from a machine where the client is installed:
    Copy the files from the directory C:\Program Files\Common Files\InterSystems\Cache and paste them into the same directory on the target machine.
  3. Open a command prompt, navigate to this directory, and enter the following command to register the ActiveX control (must be run by a user with administator privileges):
    For 32-bit systems
    C:\Windows\SysWOW64\regsvr32 vism.ocx
    For 64-bit systems
    C:\Windows\System32\regsvr32 vism64.ocx