[Show Table of Contents] [Hide Table of Contents (default)]
DBCAppServer is a client/server method for managing DBC licenses. It is not an "application server". DBC programs are "thick clients".
The main components of DBCAppServer are:
While the DBC program is running an IP socket is opened to DBCAppServer. The IP socket is closed with the DBC program exits. By default, the IP socket uses TCP/IP port 4046. The DBCAppServer program is small and generates very little network traffic.
It does not matter if DBCAppServer is installed before or after the DBC program. But it is possible changes will be made to both configurations.
To install DBCAppServer:
Preparation
Download
|
for 64 bit versions of Windows...
|
https://www.dbcinc.com/general/download.php/?arg=download,314504313 |
|
for 32 bit versions of Windows...
|
https://www.dbcinc.com/general/download.php/?arg=download,314504271 |
srvsetup.exe and srvsetup.001 should be saved to the same folder.
Install
That's it.
Depending on the network, DBCAppServer and/or the DBC program may need additional configuration, see Q: What if some users can't run DBC but others can??.
Q: What if some users can't run DBC but others can??
Depending on the network, some users may or may not be able run DBC. This may be a configuration issue.
To resolve this issue:
Create a .set file which specifies exactly where to find DBCAppServer. The .set file should be in the same folder where the DBC program is installed.
Use a text editor (e.g. Notepad) to create a .set file with the same name as the DBC program. For example, for DBC Finance (finance.exe), the .set file should be named finance.set. Note, there is no implied .txt extension. The file is finance.set, not finance.set.txt. Add a line in the .set file with the following syntax:
LICENSE_SERVER [ip_address] [tcpip_port]
where:
[ip_address] - the IP address of the PC where DBCAppServer is installed.
Instead of an IP address, use the TCP host name of the server PC, such as dbc.you.com.
But access may be slower if the DNS server is congested.
However this may be preferable if dynamic IP addresses are used.
[tcpip_port] - the TCP/IP port used to communicate with DBCAppServer. 4046 is the default.
For example:
LICENSE_SERVER 192.168.32.111 4046
Note, if DBCAppServer is running on a PC that supports IPv6, see Q: What about support for IPv6??.
Create or edit the .ips file which specifies the IP addresses that are allowed to connect to DBCAppServer.
For the service version of DBCAppServer (dbcappsv.exe), the .ips file is dbcappsv.ips.
For the Win32 program version of DBCAppServer (blksrvr.exe), the .ips file is blksrvr.ips
By default, DBCAppServer will only allow connections from certain IP addresses. These IP addresses do not have to be added to the .ips file:
The .ips file should be in the same folder where DBCAppServer is installed. Use a text editor (e.g. Notepad) to create the .ips file. Note, there is no implied .txt extension. The file is dbcappsv.ips not dbcappsv.ips.txt, blksrvr.ips not blksrvr.ips.txt.
In the .ips file, on separate lines, specify the IP addresses that are allowed to to DBCAppServer. Specify a single IP address or a Class C wildcard. DBCAppServer version 3.48 allowed up to 200 Class C wildcards in the .ips file. DBCAppServer version 3.49 (or later) allows unlimited Class C wildcards in the .ips file.
For example:
142.35.2.20
142.123.5.*
Q: How can I tell if DBCAppServer is reading the network license key??
To determine if DBCAppServer is reading the network license key:
Q: What if I need to change the network license key??
If DBCAppServer ever detects a different network license key, the new key will be rejected, as if there is no key at all. See Q: What happens if I stop DBCAppServer??.
Q: What happens if I stop DBCAppServer??
If DBCAppServer is stopped, the currently connected DBC programs will not abort or crash. But users will only be able to save their data and exit the DBC program.
Q:How do I update DBCAppServer??
Updating DBCAppServer will automatically disconnect the users. The DBC programs will not crash but the user will only be able to save and exit. Install the update over the existing DBCAppServer installation (no uninstall is required).
To update the PC running DBCAppServer:
Wait 20 seconds before trying to start a DBC program.
Q: How do I stop or uninstall DBCAppServer??
If DBCAppServer is stopped when users are connected, they will only be allowed to save their data and exit the DBC program, it will not crash.
Stop the service version of DBCAppServer from Services in the Control Panel. Find the "DBCAppSv" entry.
Or use the service setup utility (svcsetup.exe).
To stop and/or uninstall the service version of DBCAppServer (dbcappsv.exe):
To stop or uninstall the Win32 program version of DBCAppServer (blksrvr.exe):
Start DBCAppServer again by clicking DBCAppServer in the Windows Startup group or log off and log on.
Q: What is DBCAppController?
DBCAppController (dbcappctrl.exe) is a utility that connects to DBCAppServer. It is found in the same folder as DBCAppServer.
The default location for dbcappctrl.exe is:
C:\Program Files\DBC\AppServer\dbcappctrl.exe
Use DBCAppController to:
When starting DBCAppController, enter:
If the DBCAppController successfully connects to DBCAppServer, the IP address and TCP/IP port will be saved.
Note, DBCAppController connects to DBCAppServer over the network. It is not necessary to run DBCAppController while logged onto the actual PC running DBCAppServer.
Q: What is svcsetup.exe??
svcsetup.exe is a utility found in the same folder as DBCAppServer. svcsetup.exe can be used to:
Q: How do I manually terminate a license (connection)??
If a DBC program crashes, the IP socket to DBCAppServer should close automatically and free the license. However it may be desirable to manually terminate license.
Perform the following steps to terminate a license:
Q: Can any DBC program read the network license key??
DBC programs cannot directly read a network license key. Only DBCAppServer can read a network license key. Network license keys are numbered from 10000 to 19999.
Q: Can DBCAppServer read a single user license key??
DBCAppServer cannot read a single user license key. Only DBC programs can read a single user license key. Single user license keys are numbered from 1000 to 9999 and 30000 to 39999.
Q: How do I find the IP address for a PC??
For current versions of Windows, in a Command window, run ipconfig.exe on the PC to get its IP address.
For Windows 95/98/ME, run winipcfg.exe on the PC to get its IP address.
Q: What is TCP/IP port 4046?
Port 4046 is the default TCP/IP port used for connections DBCAppServer between DBC programs and DBCAppController. If port 4046 is used for other purposes, this may cause conflicts with DBCAppServer. Use the same TCP/IP port for DBCAppServer, DBC programs and DBCAppController. To use an alternate port, update:
[path_to_dbcappserver] -p[tcpip_port] where: [path_to_dbcappserver] - the full path to DBCAppServer. [tcpip_port] - the alternate TCP/IP port.
Q: Is DBC a multi-user program?? Can multiple users access the same data at the same time??
Multiple users can run the same DBC program at the same time, but users cannot access the same data file at the same time. A data file will become corrupted if multiple users access the same data file at the same time. The only exception to this is the client/server installation of DBC Debt Manager which can access the same ODBC datasource.
Q: Can multiple DBC programs be programmed on the same network license key??
Yes, multiple DBC programs can be programmed on the same network license key.
Even different quantities for optional modules can be programmed. DBC Finance, for example, can have 10 Debt/Size licenses, 5 Refund licenses and 3 Project Finance licenses. There can be 5 DBC Housing licenses and 2 Consolidation licenses. DBC Finance and DBC Housing can run at the same time on one PC.
Q: What if I have to migrate DBCAppServer??
In general, it would greatly help if the new PC could be assigned the same IP address as the PC it is replacing. This allows skipping step 6 (updating every installation of the DBC program).
It would help if this procedure can be performed during off-hours.
|
for 64 bit versions of Windows...
|
https://www.dbcinc.com/general/download.php/?arg=download,314504313 |
|
for 32 bit versions of Windows...
|
https://www.dbcinc.com/general/download.php/?arg=download,314504271 |
dbcappsv.ips is the list of IP addresses that are allowed to connect to DBCAppServer.
On both PCs, the default location is C:\Program Files\DBC\AppServer\dbcappsv.ips
Skip this step if the new PC has the same IP address as the PC it is replacing.
Each DBC program installation probably has a .set file that specifies the IP address (or name) of the PC running DBCAppServer. Update the LICENSE_SERVER line in each .set file with the new DBCAppServer information.
Use Notepad to edit the .set file. Add or edit the LICENSE_SERVER line so it has the IP address of the new PC.
The .set file could look like:
LICENSE_SERVER 123.123.123.123 4046 [mobile] where: [mobile] is MOBILE if the network license key is programmed with a "super corporate" (unlimited) license for a DBC program.
Q: What about support for IPv6??
IPv6 and IPv4 are supported by DBCAppServer and DBC programs.
DBCAppServer does not require any additional configuration for IPv6. The .ips file does not have to be updated to allow IPv6 connections, all IPv6 connections can connect to DBCAppServer.
In the .set file, to connect to DBCAppServer using IPv6, use LICENSE_SERVER_IPV6 instead of LICENSE_SERVER. The following are acceptable ways to specify an IPv6 connection to DBCAppServer in the .set file.
LICENSE_SERVER_IPV6 dbc.you.com 4046 LICENSE_SERVER_IPV6 fe80:0000:0000:0000:6dfa:16e1:2a88:1b30 4046 LICENSE_SERVER_IPV6 fe80::6dfa:16e1:2a88:1b30 4046 LICENSE_SERVER_IPV6 fe80::5efe:192.168.1.73 4046
If the LICENSE_SERVER_IPV6 line has no parameters, the DBC program will perform a multi-cast on port 4046 to group address FF02::0dbc to locate DBCAppServer. For example:
LICENSE_SERVER_IPV6
For more information, see Q: What if some users can't run DBC but others can??.
Q: What about multiple DBCAppServers??
For various reasons, it is possible to have multiple DBCAppServers. Each DBCAppServer installation has to be run on a different PC and must have a network license key plugged in.
For multiple DBCAppServer installations, specify the order in which to make connections. In the example .set file below, the DBC program will first attempt to get a license from dbc1.you.com.
LICENSE_SERVER dbc1.you.com 4046 LICENSE_SERVER dbc2.you.com 4046
It may be desirable to be able to connect to DBCAppServer using IPv6 or IPv4. In the example .set file below, the DBC program will first attempt an IPv6 connection.
LICENSE_SERVER_IPV6 dbc.you.com 4046 LICENSE_SERVER dbc.you.com 4046
In both examples, failure to get a license does not cause a program crash. The DBC program will try each LICENSE_SERVER or LICENSE_SERVER_IPV6 line in the order they appear in the .set file.