We're connecting to an Ads server with a .net application using the Advantage .NET Data Provider.
The ServerType = REMOTE. The max. connections on the server is set to 150.
When we connect from a client we get a "6303 Maximum Advantage Database Server connections exceeded" error. Turns out it uses the default 50 max. connections for an application.
When we place an ads.ini file with MAX_CONNECTIONS set to 150 in the folder of the .net application (where also the Advantage.Data.Provider.dll sits), these settings are used.
It doesn't fall back to ServerType = LOCAL, because we tested this by removing the adsloc.dll and adslocal.cfg files.
Why doesn't the AdsConnection use the server settings (being 150)?