Starting Server-side Executables as Windows Services

To establish a connection between Data Express modules and the Knowledge Base server, your DB2 server must be running the following server-side executables as services:

Data Express provides both executable files, which are located in the %ProgramFiles(x86)%\Micro Focus\Data Express 4.0\kbde-Server directory by default.

You can configure Windows to start these executables automatically as services each time you start Windows on the DB2 server. When both the socket and KBDE server services are started, the connection is established automatically.

When the socket server service is started on the DB2 server, Windows starts the KBDE server service automatically. Therefore, you need to configure only the socket server service to start automatically:

  1. Set scktsrvr.exe to run as an administrator:
    1. From Windows Explorer, change to the %ProgramFiles(x86)%\Micro Focus\Data Express 4.0\kbde-Server folder.
    2. Right-click scktsrvr.exe; then select Properties.
    3. Click the Compatibility tab.
    4. Check Run this program as an administrator; then click OK.
  2. At a Windows command prompt, change to the %ProgramFiles(x86)%\Micro Focus\Data Express 4.0\kbde-Server directory.
  3. Enter the following command:

    scktsrvr.exe /install

  4. Open Windows Services and start the Borland socket server, or reboot your machine.
Note: To remove these services:
  1. Stop the Borland socket server service.
  2. At a command prompt, change to the %ProgramFiles(x86)%\Micro Focus\Data Express 4.0\kbde-Server directory.
  3. Enter the following command:

    scktsrvr.exe /uninstall