# Advantage 64xx Error Codes

*Advantage Error Guide*

**Note** If you receive an error in the 64xx range, contact Advantage Technical Support for more information.

## Contents

- [6401 Invalid socket handle](#6401-invalid-socket-handle)
- [6402 No system resources to open socket](#6402-no-system-resources-to-open-socket)
- [6403 Internal SIPX system error](#6403-internal-sipx-system-error)
- [6404 Versions of NWSIPX.DLL and Client32 server are mismatched](#6404-versions-of-nwsipx-dll-and-client32-server-are-mismatched)
- [6405 Invalid subnetwork handle](#6405-invalid-subnetwork-handle)
- [6406 No subnets available for IPX](#6406-no-subnets-available-for-ipx)
- [6407 Data overflow in received message](#6407-data-overflow-in-received-message)
- [6408 Datagram larger than is supported by WinSock](#6408-datagram-larger-than-is-supported-by-winsock)
- [6409 WinSock version not supported or IPX DLLs not found](#6409-winsock-version-not-supported-or-netware-dlls-not-found)
- [6410 Destination address not available](#6410-destination-address-not-available)
- [6411 Network cannot be reached](#6411-network-cannot-be-reached)
- [6412 No buffers available](#6412-no-buffers-available)
- [6413 Timed out](#6413-timed-out)
- [6414 Connection forcefully refused](#6414-connection-forcefully-refused)
- [6415 System not ready for network communication](#6415-system-not-ready-for-network-communication)
- [6416 Requested version of sockets not supported](#6416-requested-version-of-sockets-not-supported)
- [6417 General NCP request failure](#6417-general-ncp-request-failure)
- [6418 Unable to open service connection](#6418-unable-to-open-service-connection)
- [6419 Unable to find server with Advantage started/loaded](#6419-unable-to-find-server-with-advantage-started-loaded)
- [6420 Unable to "discover" the Advantage Database Server](#6420-unable-to-discover-the-advantage-database-server)
- [6421 The IP address for the given server was invalid or not found in ADS.INI](#6421-the-ip-address-for-the-given-server-was-invalid-or-not-found-in-ads-ini)
- [6422 The port for the given server was invalid or not found in ADS.INI](#6422-the-port-for-the-given-server-was-invalid-or-not-found-in-ads-ini)
- [6423 Authentication failed](#6423-ais-authentication-failed)
- [6424 Failed to locate ads.ini file](#6424-failed-to-locate-ads-ini-file)
- [6425 An Advantage Data Dictionary connection is required for Internet connections](#6425-an-advantage-data-dictionary-connection-is-required-for-internet-connections)

## 6401 Invalid socket handle {#6401-invalid-socket-handle}

## 6402 No system resources to open socket {#6402-no-system-resources-to-open-socket}

## 6403 Internal SIPX system error {#6403-internal-sipx-system-error}

## 6404 Versions of NWSIPX.DLL and Client32 server are mismatched {#6404-versions-of-nwsipx-dll-and-client32-server-are-mismatched}

## 6405 Invalid subnetwork handle {#6405-invalid-subnetwork-handle}

## 6406 No subnets available for IPX {#6406-no-subnets-available-for-ipx}

## 6407 Data overflow in received message {#6407-data-overflow-in-received-message}

## 6408 Datagram larger than is supported by WinSock {#6408-datagram-larger-than-is-supported-by-winsock}

## 6409 WinSock version not supported or IPX DLLs not found {#6409-winsock-version-not-supported-or-netware-dlls-not-found}

Either the WinSock version is not supported by the Advantage comm DLLs or an Advantage 16-bit Windows application is attempting to access the Advantage Database Server for Windows via the IPX protocol. The NWCALLS.DLL and/or NWIPXSPX.DLL are not located in the client PC's search path.

## 6410 Destination address not available {#6410-destination-address-not-available}

## 6411 Network cannot be reached {#6411-network-cannot-be-reached}

## 6412 No buffers available {#6412-no-buffers-available}

## 6413 Timed out {#6413-timed-out}

## 6414 Connection forcefully refused {#6414-connection-forcefully-refused}

If you are attempting a TCP/IP connection, verify that client is not newer than the server. This error can occur in that situation because the client may send unexpected data to the server, which the server ignores.

If you are attempting a Transport Layer Security (TLS) connection, verify that the server successfully found and loaded the server certificate. If no certificate was given (TLS_KEY_FILE) or if it was invalid, the server will not create a socket to receive TLS connections and an attempt by a client to connect to the TLS port will result in a 6414 error. Verify that the TLS_KEY_FILE configuration parameter is correct. If the certificate is not valid, the error log (ads_err.dbf) should contain more information.

If you are attempting a TLS connection, verify that the port number is correct and that you have specified the CommType as TLS. If a TCP/IP connection is specified when connecting to the TLS port, it will result in a 6414 error.

## 6415 System not ready for network communication {#6415-system-not-ready-for-network-communication}

## 6416 Requested version of sockets not supported {#6416-requested-version-of-sockets-not-supported}

## 6417 General NCP request failure {#6417-general-ncp-request-failure}

## 6418 Unable to open service connection {#6418-unable-to-open-service-connection}

## 6419 Unable to find server with Advantage started/loaded {#6419-unable-to-find-server-with-advantage-started-loaded}

## 6420 Unable to "discover" the Advantage Database Server {#6420-unable-to-discover-the-advantage-database-server}

***Problem:*** The Advantage application was unable to connect to the Advantage Database Server.

***Solution:*** Several problems can cause this error to occur. Some common solutions are listed below. Reference the Advantage Knowledge Base for more detailed descriptions and a more complete list of known error cases.

| · | Verify the Advantage Database Server is installed and running on the server where the database is located. |
| --- | --- |

| · | If attempting to use the Advantage Local Server and not the Advantage Database Server, make sure the application's "server types" setting is set to use the Advantage Local Server. |
| --- | --- |

| · | If using the Native SQL Utility in the Advantage Data Architect, and you desire to use the Advantage Local Server and not the Advantage Database Server, make sure the Advantage connection type is set to "Local (ALS)". This can be done via the Query Options dialog that is accessed by clicking the button that has the screwdriver, hammer, and wrench on it. |
| --- | --- |

| · | If communicating to a server that only has IPX installed, make sure the Advantage client is enabled to send IPX packets. |
| --- | --- |

| · | If running through a firewall, make sure the Advantage IP send and receive ports are properly configured and opened up through the firewall. |
| --- | --- |

| · | If attempting to make a Transport Layer Security (TLS/SSL) connection, the 6420 error may be returned if the server is not enabled for strong encryption. When attempting discovery for a TLS connection, the client looks specifically for the server port configured for TLS communications. If an error occurred when Advantage Database Server attempted to set up TLS at server startup, the port will not exist. This can result in a 6420 error at the client. If you have configured the server for TLS communications, check the Advantage error log for errors (e.g., [7163](../7xxx-errors.md#7163-ssl-library-error)) at the time the server was started. Verify that the TLS_KEY_FILE configuration parameter is correct. |
| --- | --- |

## 6421 The IP address for the given server was invalid or not found in ADS.INI {#6421-the-ip-address-for-the-given-server-was-invalid-or-not-found-in-ads-ini}

***Problem***: A 6421 error occurs when connecting to the Advantage Internet Server.

***Solution***: Verify that the Internet address in the ads.ini file is correct. The Internet section in the ads.ini file should have the following format.

[pbr]

INTERNET_IP=144.233.44.91

INTERNET_PORT=2001

For more information, see ads.ini file support

## 6422 The port for the given server was invalid or not found in ADS.INI {#6422-the-port-for-the-given-server-was-invalid-or-not-found-in-ads-ini}

***Problem***: A 6422 error occurs when connecting to the Advantage Internet Server.

***Solution***: Verify that the Internet port in the ads.ini file is correct. The Internet section in the ads.ini file should have the following format.

[pbr]

INTERNET_IP=144.233.44.91

INTERNET_PORT=2001

For more information, see ADS.INI File Support

## 6423 Authentication failed {#6423-ais-authentication-failed}

This error indicates that the client was not able to establish a valid connection with the Advantage Database Server.

This error can occur if a pre-v10.1 client attempts to connect to a data dictionary encrypted with AES. The old client will use the old style encryption during the authentication (handshaking) process and will not be able to authenticate with the server that is using the newer encryption.

## 6424 Failed to locate ads.ini file {#6424-failed-to-locate-ads-ini-file}

Advantage could not find an ads.ini file in the search path. An ads.ini file is required if using Internet connections.

## 6425 An Advantage Data Dictionary connection is required for Internet connections {#6425-an-advantage-data-dictionary-connection-is-required-for-internet-connections}

***Problem:*** When connecting to the Advantage Database Server through an Internet connection, a 6425 error occurs.

***Solution:*** The Advantage Data Dictionary contains user names, passwords, and other needed information required for a secure connection over the Internet. All Internet connections require an Advantage Data Dictionary connection.

In the connection path, specify the full path and file name of the Advantage Data Dictionary.

If you are trying to connect using the Advantage Management Utility, it will not work because Internet connections through this utility have not been implemented. The code for the Advantage Management Utility can be modified to use an Internet-enabled Advantage Data Dictionary connection instead of a management connection. (See AdsConnect60() for details on obtaining an Internet Advantage Data Dictionary Connection.)

*[PO]: Purchase Order  
*[AZA]: local folder
*[(PO]: Purchase Order  
*[RQ]: Requisition  
*[(RQ]: Requisition  
*[RfQ]: Request for Quotation  
*[(RfQ]: Request for Quotation  
*[SO]: Service Order  
*[(SO]: Service Order  
*[SQ]: Service Requisition  
*[(SQ]: Service Requisition  
*[SRfQ]: Service Request for Quotation  
*[OoB]: Open on Board  
*[(OoB]: Open on Board 
*[ART]: Average Running Time (operation hours per day) 
*[MC]: Master Contract
*[ADS]: Advantage Database Server (database engine used in previous versions of the ZeeBORN software)
*[.replic]: file extension for replication files (aka data transfer files)
