cancel
Showing results for 
Search instead for 
Did you mean: 

ADSCDX 6420

paola_bruccoleri
Explorer
0 Kudos

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)



Accepted Solutions (0)

Answers (4)

Answers (4)

paola_bruccoleri
Explorer
0 Kudos

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



paola_bruccoleri
Explorer
0 Kudos

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!


HakanHaslaman
Product and Topic Expert
Product and Topic Expert
0 Kudos

There is something going wrong on your machine. The best will be to check this with the process monitor tool, which DLL and ADS.ini will be load from your application. This should help you to verify, where the information with "servidor" is coming.

"servidor"

paola_bruccoleri
Explorer
0 Kudos

Hi Hakam..

Not how to find out.
I tried from Adv data architect, tools, remtote sever info but only see the executable.
From the windows task manager, too.
In any case I see that dll is loaded or ads.ini

Any help? very thanks...


HakanHaslaman
Product and Topic Expert
Product and Topic Expert
0 Kudos

There was in the past tools like modman or procexp, which you can adjust to see, what files the application are using.

paola_bruccoleri
Explorer
0 Kudos

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



joachim_drr
Contributor
0 Kudos

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?

paola_bruccoleri
Explorer
0 Kudos

Hello Joachim

the path is:

PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32

\WindowsPowerShell\v1.0\


no dll (ace32, axcws32) in windows\system32; only in the client executable folder. The server name is the same!. (The server is 64b but the clients 32b)

if I use the 9.1 dll, I have no error; but when I change for the version 11.1 get the error 6420.


I read this:

http://devzone.advantagedatabase.com/dz/webhelp/Advantage11.1/index.html?master_effects_of_upgrading...

but I did not realize what may be wrong.

paola_bruccoleri
Explorer
0 Kudos

Read this:

http://blog.advantageevangelist.com/2008/06/troubleshooting-advantage-connection.html

and attach the ADSCOM.TXT

how I can tell if you are using ads.ini?


HakanHaslaman
Product and Topic Expert
Product and Topic Expert
0 Kudos

The ADSCOM.txt shows a Multicast problem, so it looks, that your ADS.ini will not read from your application, or you have more than one ADS.ini file on the machine. Please check, if you have more ADS.ini files with different content (application folder, C:\Windows etc..).
I would recommend to use only one in C:\Windows which is valid with the content, so all ADS application can use it.
For a Test, please open the ARC – Tools- Remote Server info and use IP:PORT for connection. If this works fine, you have a problem to read the ADS.ini file.

joachim_drr
Contributor
0 Kudos

I didn
t mean the environment variable PATH, but the connection path...anyway, the adscom.txt contains the server name 'servidor' which is not defined in your ads.ini file. Add it as a separate section and it should work:

<pre>

[servidor]

LAN_IP=192.168.1.205

LAN_PORT=6262

</pre>

paola_bruccoleri
Explorer
0 Kudos

Hi Hakam

i send the print screen

we also have mapped a Z-drive

Z -> \\TERMINAL-SERVER\Programas