By default, the Advantage RDDs will not use the Advantage Local Server. This local server can be used programmatically by calling the AX_SetServerType() function. However, the DB Server Editor within the Visual Objects IDE and various Report Writers also use the RDD. See Advantage Local Server for more information about Advantage server types.
To use the Advantage Local Server, you will need to change this default. Copy the ADS.INI file from the directory where Advantage was installed (C:\CAVO\ADS or C:\CAVO25\ADS by default) to the application directory, the Windows System directory, the Windows directory, or the client's path. The file contains this text:
[SETTINGS]
ADS_SERVER_TYPE = 7
The ADS_SERVER_TYPE value is set to 7. You may adjust this value to indicate what types of Advantage servers should be eligible for connecting. To calculate the value, add all of the constants representing the Advantage Server types that you wish to be eligible to connect:
1—for the Advantage Local Server
2—for the Advantage Database Server
4—for the Advantage Internet Server
By default, the Advantage RDDs will connect to the Advantage Database Server and the Advantage Internet Server, so the default value would be equal to 6, which is 2 + 4. The value of 7, which equals 1 + 2 + 4, indicates all servers should be eligible.