ADS Error 5004

This forum is for ideas and or code to be contributed for general use.
Post Reply
Message
Author
User avatar
slobodan1949
Posts: 82
Joined: Mon Apr 25, 2011 8:57 am
Location: SERBIA
Contact:

ADS Error 5004

#1 Post 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
Attachments
ADS ERROR 5004.zip
(191.5 KiB) Downloaded 524 times

MIGUELON
Posts: 135
Joined: Wed Feb 10, 2010 10:55 am

Re: ADS Error 5004

#2 Post by MIGUELON »

Te aconsejo poner la IP en vez del [nombre del servidor]
Saludos

Post Reply