ADS error 6420 - only for some users on server
Posted: Thu Nov 14, 2024 8:02 pm
On a new server, a small number (8 out of dozens) of users get an ADS error 6420 on trying to start the ADS (DBF) driven program. This is what happens:
1 Error is returned on this line of code: ulRetVal:=DWORD(_cast,DBFAXSAdsIsServerLoaded(String2Psz(cDatapath),@usLoaded))
2 If they restart the program, it eventually works without error (sometimes after up to 10 times)
3 If they start another ADS driven program or 2nd version, the error can return even though the previous login eventually worked
4 If they use an experimental loop, simulating 2) it never works
5 For one of the 'problem' users, the Windows profile was rebuilt.That fixed it for him
6 As it works for the majority of the users without any error, ADS.INI (like IP addresses etc) or whatever is global shouldn't be the cause....
What could cause this? Can this be fixed without rebuilding the other profiles?
(Posted earlier on subscriber forum, intended to post it here)
Dick
1 Error is returned on this line of code: ulRetVal:=DWORD(_cast,DBFAXSAdsIsServerLoaded(String2Psz(cDatapath),@usLoaded))
2 If they restart the program, it eventually works without error (sometimes after up to 10 times)
3 If they start another ADS driven program or 2nd version, the error can return even though the previous login eventually worked
4 If they use an experimental loop, simulating 2) it never works
5 For one of the 'problem' users, the Windows profile was rebuilt.That fixed it for him
6 As it works for the majority of the users without any error, ADS.INI (like IP addresses etc) or whatever is global shouldn't be the cause....
What could cause this? Can this be fixed without rebuilding the other profiles?
(Posted earlier on subscriber forum, intended to post it here)
Dick