Page 1 of 1

ADS Error 5004

Posted: Thu Jan 19, 2023 8:58 am
by slobodan1949
Maybe someone will need it
Windows 10 64 bit. Xbase++ 2.0 1503
Xbase++ Application worked under ADS remote server. Everything worked without a problem. Then, due to other needs, some addresses on the router were changed, the LAN network was reconfigured, some parameters in ADS.INI were changed, and after that suddenly, with every command to open the DBF file, the application reported Error 5004, for example:

USE TEST.DBF NEW SHARED
Error 5004: Either ACE could not find the specified file,
or you do not have sufficient rights to access the file.


The application could no longer open any DBF files.
I've looked through everything about Error 5004 on the internet, on forums, in the Help for ADS remote. I tried everything they suggested and the problem did not go away.
Then it occurred to me to reinstall the ADS server. But first I restarted it. After restarting the ADS server, everything worked. The described error no longer occurred. All the time ADS.INI was the same.

;START ADS.INI
[SETTINGS]
; 1 - Local, 2 - Client, 3 - Try Client, fall back to Local, 4 - Internet (AIS)
ADS_SERVER_TYPE=2
; NTX or CDX
;ADS_INDEX_TYPE=CDX
ADS_INDEX_TYPE=NTX
MTIER_LOCAL_CONNECTIONS=1
[ServerAliases]
server1=Z:\
[SERVER1]
LAN_IP=192.168.0.104
LAN_PORT=6262
;END ADS.INI

Re: ADS Error 5004

Posted: Tue Feb 07, 2023 2:45 am
by MIGUELON
Te aconsejo poner la IP en vez del [nombre del servidor]
Saludos