Skip to Content

ADSCDX 6420

Hello

I uninstalled version 9.1 and installed the 11.1
All programs work the same way, except for one (X), where to run get the error: ADSCDX 6420.

The programs are installed in 3 folders, where are the files axcws32.dll, ace32.dll and also ads.ini with these settings:

[TERMINAL-SERVER]

LAN_IP=192.168.1.205

LAN_PORT=6262

[Settings]

ADS_SERVER_TYPE = 3

USE_TCP_IP=1


Replace these files (dll) by version 11.1 of all folders.
The X program with the DLL version 9.1 no gives the error, but with 11.1 yes

What can be wrong?
thank you!

(the programs are in harbor 3.2 32b, win server 2012 r2)



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Oct 18, 2015 at 07:57 PM

    6420? Then it doesn't use this ads.ini file or the server name is wrong. Do you use a mapping in the path? If so, how is it defined?

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 19, 2015 at 11:17 PM

    Hello everybody
    The problem is rare and I can not find the solution.
    The story is this: on the server called "TERMINAL-SERVER" is now 11.1 version installed. There are 3 folders: conta, listados, marcre with systems using ADS.
    Each folder has a file ads.ini with:

    [TERMINAL-SERVER]

    LAN_IP=192.168.1.205

    LAN_PORT=6262

    [Settings]

    ADS_SERVER_TYPE = 3

    USE_TCP_IP=1

    COMMCALLTRACE=1

    and also they have the ace32.dll and axcws32.dll files (ADS 11.1)


    (if I copy ads.ini in c:\ windows, and delete from the folders, the problem remains the same)


    This server is new. The previous server (win2008 server) called "SERVIDOR". That machine was connected to the network but will uninstall the ads 9.1 and also at this time that machine is turned off.


    In the server "TERMINAL-SERVER" no other ads.ini

    When you go to a program of \conta and execute a program, the ADSCOM.TXT file has this:



    13.146   1964 axConnect81 - pucServerName : servidor 13.266   1964  axConnect81 - Connection Type : 2    Hex: 0x00000002 13.406   1964 axConnect81 - !usFoundViaWS 13.527   1964  Start ____AdsIsLocal____  Server Name:  : servidor 13.698   1964  Start ____GetAddressFromSharedMemory____ 13.831   1964  Start ____OpenIPCSharedMem____ 13.978   1964  End ____OpenIPCSharedMem____  SUCCESS 14.097   1964  GetAddressFromSharedMemory - Shared mem name does not match:  : TERMINAL-SERVER 14.215   1964  End ____GetAddressFromSharedMemory____  No match found 14.332   1964  End ____AdsIsLocal____  Result:  : 0    Hex: 0x00000000 14.469   1964  Start ____WSFindAdvantage81____ 14.581   1964  Start ____GetRemoteAddress____ 14.693   1964  Start ____QuickDiscovery____ 14.804   1964  Start ____ServerNameHasAddr____  : servidor 14.913   1964  End ____ServerNameHasAddr____ Server name does not have a port value


    If I change the dll that folder by the version 9.1, the ADSCOM.TXT file has this:


    .................................

    but at the finally:


    12914.508   1964  Start ____axConnect81____

    12914.648   1964      axConnect81 - pucServerName : TERMINAL-SERVER

    12914.767   1964  axConnect81 - Connection Type : 2    Hex: 0x00000002

    12914.882   1964      axConnect81 - !usFoundViaWS

    12914.995   1964  Start ____AdsIsLocal____  Server Name:  : TERMINAL-SERVER

    12915.111   1964  Start ____GetAddressFromSharedMemory____

    12915.222   1964  Start ____OpenIPCSharedMem____

    12915.350   1964  End ____OpenIPCSharedMem____  SUCCESS

    12915.467   1964  End ____GetAddressFromSharedMemory____  SUCCESS


    and the program run!

    I have NO IDEA why it seeks the server called "SERVIDOR".
    What place can there be a reference to it? how I can trace it? This is driving me crazy!

    thank all of you can help



    Add comment
    10|10000 characters needed characters exceeded

  • Oct 20, 2015 at 01:50 AM

    Hello!!

    I did a test program that opens two DBF files and discovered a behavior that is different from earlier versions of ads:

    If the dbf files are in a subfolder, the program opens correctly and "discovers" the server properly.
    If the files are in the same folder as the executable:
    - With 9.1 dll takes about 1 minute to open the program but it does. Search on a server called "servidor" but then discovers "terminal-server".
    - With 11.1 dll get the error 6420

    The program that I mentioned where I have problems, there are files in the same folder and subfolders executable, so it is the problem with them!


    Can someone explain this? I can make a test program to try another server.

    very thanks!


    Add comment
    10|10000 characters needed characters exceeded

  • Oct 20, 2015 at 09:45 PM

    Hello everybody

    After many tests and searches, discarding sequence each thing, I found the damn problem.

    In one of my library, which was used by the program that gave problems, he had this assignment:
    set path to \\servidor\z (an old assignment!)

    It is seen that first try looking at this path and then in the folder at "set to default", and can not find the dbfs in the same folder as the exe.
    At least that behaves ADS 11.1.
    Apparently the version 11.1 is more restrictive than 9.1, as with the previous version never had problems.


    Thank you very much to all



    Add comment
    10|10000 characters needed characters exceeded