Hach_WIMS_Remote.ini contains the connection information for connecting to the WIMS Client and WIMS Remote. It also contains the directory where the SQL Server databases are located on WIMS Remote and the location of osql.exe on the remote.
NOTE: If installed on a Windows 7 operating system platform, you may have to open Notepad as an administrator.
The following is an example:
WIMS_REMOTE_CONNECTION_DBTYPE = 2
WIMS_REMOTE_CONNECTION_PROVIDER = SQLNCLI
WIMS_REMOTE_CONNECTION_DATASOURCE = localhost\HACHWIMSREMOTE
WIMS_REMOTE_CONNECTION_CUSTOMIZATIONS=
WIMS_REMOTE_CONNECTION_TIMEOUT = 15
WIMS_REMOTE_CONNECTION_COMMAND_TIMEOUT = 30
Rem DBTYPE and TIMEOUT's should be same for both Remote and Master
WIMS_MASTER_CONNECTION_DBTYPE = 2
WIMS_MASTER_CONNECTION_PROVIDER = SQLNCLI
WIMS_MASTER_CONNECTION_DATASOURCE = DBMS\OPSSQL
WIMS_MASTER_CONNECTION_CUSTOMIZATIONS=
WIMS_MASTER_CONNECTION_TIMEOUT = 15
WIMS_MASTER_CONNECTION_COMMAND_TIMEOUT = 30
START_SAMPLENUM = 1000
OSQLPATH=C:\Program Fiels\Microsoft SQL Server\90\Tools\binn\osql.exe
DATADIRPATH=E:\hachwimsremote\dbms\data\MSSQL.2\MSSQL\Data\
TGTDBMS=107
Configuration File Explained:
WIMS_REMOTE_CONNECTION - these are settings to connect to the WIMS Remote database.
WIMS_MASTER_CONNECTION - these are settings to connect to the WIMS Client Server database, the database that Hach WIMS Client connects to.
DATADIRPATH - this is the path to the folder that contains database files (such as MDF and LDF files) for WIMS Remote.
OSQLPATH - this is the path the OSQL.EXE program, and should be the 32-bit version of the program in the case of Windows 7 64-bit operating system.
TGTDBMS - this is the target version for Remote DBMS, default value is 107. The value correlates to Hach WIMS Client:
- TGTDBMS=107 - if you are using WIMS Client 7.5.x
- TGTDBMS=108 - if you are using WIMS Client 7.6.0
As of 7/23/2013, users can now get detailed logging (similar to verbosity setting 9 for an interface) by adding: Debug_Logging = True to the ini file as shown below.
If users do not add the script, then they will automatically get lower detailed logging details.