How exactly is ADSLOCAL.CFG used?

54 views
Skip to first unread message

Randy

unread,
Feb 28, 2026, 11:46:40 AMFeb 28
to harbou...@googlegroups.com
When using the Advantage LOCAL Server, ADSLOCAL.CFG is used to setup the configuration. According to the Advantage documentation...

"The configuration file is used when the Advantage Local Server DLL is loaded into memory"

So, if the same EXE (that loads ALS) is run multiple times, I believe the ADSLOCAL.CFG is only read ONCE and the settings are used for ALL instances of the EXE.

However, what is two DIFFERENT EXEs (in different folders) each load their own ALS DLLs (in their own folder) - In this case the ALS DLLs are loaded multiple times (for each of the separate copies of the DLLs). In this case, how are the limits in the CFG file used? Does EACH EXE get its own number of CONNECTIONS and TABLES or are those limits imposed across the machine regardless where the ALS DLLs are loaded from?

Here is an example...

C:\DIR-1\SOME.EXE
C:\DIR-1\ADSLOCAL.CFG
with CONNECTIONS=1
C:\DIR-1\ADSLOC32.DLL

C:\DIR-2\SOME.EXE
C:\DIR-2\ADSLOCAL.CFG with CONNECTIONS=1
C:\DIR-2\ADSLOC32.DLL

In this case, would ALS allow 1 or 2 connections on the MACHINE?

Note that this is impossible to test since the Advantage docs state that these CFG limits will be automatically extended (when possible) but it's still best to set them to their expected limits to prevent possible failures.

Thanks!

Zastava EFI

unread,
Feb 28, 2026, 12:34:33 PMFeb 28
to harbou...@googlegroups.com
You need ADS.INI

Example :

[Databases]
ADTDemoData=C:\Program Files\Advantage 10.0\Help\ADS_DATA\;A
[ADTDemoData_info]
ServerType=local
CommunicationType=default
LockingMode=proprietary
Collation=ansi
SecurityMode=ignorerights
DBFTableType=cdx
TableMasks=*.adt;*.dbf
Username=adssys
BlankPassword=no
BackupDestination=
RestoreDestination=
ExpandedNodes=
SchemaTemplatesLocation=
[SETTINGS]
ADS_SERVER_TYPE = 1
ADS_FORCE_CLIPPER_MEMOS = 1

--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/39ecbac4-1152-4bda-9890-f29652b97d35%40palmas.com.

Zastava EFI

unread,
Feb 28, 2026, 12:37:40 PMFeb 28
to Harbour Users

I had up to 5 users working even via Remote Desktop without any problems.
Reply all
Reply to author
Forward
0 new messages