Data Store Registry
The initialization of the Data Store is primarily controlled by the following registry key and its children (described later on):
- HKEY_CURRENT_USER\Software\CaseWare International\Data Store
The Personal Data Store and Data Store settings are saved in the following registry keys, respectively:
- HKEY_CURRENT_USER\Software\CaseWare International\Data Store\Personal Store
- HKEY_CURRENT_USER\Software\CaseWare International\Data Store\Shared Store
Each registry type can have the following values:
Type | Registry Values | Description |
---|---|---|
Personal Data Store | Class | Constant. Must have the value {ea56dd50-b33d-460c-9326-78da507e4f11} |
COM Class | {a55fcf6b-3982-475b-86ad-8ca1e955e9c9} | |
Description | Personal Data Store | |
Parameters |
The parameters used to create the Data Store. Typically this will be: C:\Users\<user account name>\AppData\Local\CaseWare |
|
Data Store (xBase) | PATH | Path to the Data Store not including the “Data Store\” part |
StorageType | 2 (xBase) | |
Data Store (SQL) | Database Name | Name of the Data Store database on the SQL server |
Password | Encrypted password to the SQL store | |
Product Type | Type of SQL server | |
Server Name | Name of SQL server | |
StorageType | 1 (SQL) | |
Use Windows Authentication |
0 - use SQL authentication 1- use Windows authentication |
|
User Id | Encrypted SQL user ID |
The standard procedure for users to connect to a Data Store is to use a connection file (.cwc). The connection file is described in the Data Store Administration Tool document.
However, some firms may want to have users connect to a Data store by pushing down the registry keys for the Data Store to each user. The recommended way to do this is to copy the registry keys from the administrator of the Data Store:
- Launch the Data Store Administration Tool. Ensure that the administrator is pointing to a Data Store. Create a Data Store if required.
- Run regedit.exe. Find the key HKEY_CURRENT_USER\Software\CaseWare International\Data Store\Shared Store. Right click on the key and select “Export” from the context menu. The resultant .reg file may be pushed down to users (for example in a windows login script).
The Registry and Citrix
This registry information is particularly useful for installations of the Data Store on a Citrix server. After installation of the software is complete, locate the top level branch of the registry HKEY_CURRENT_USER\Software\CaseWare International\Data Store. This can then be pushed to each user’s registry through a login script or copied to the shadow directory. The CaseWare Best Practices for Citrix and Terminal Server guide for here should be consulted for all Citrix implementations of Working Papers.