Advantage Developer Zone

 
 
 

Advantage Knowledgebase Item




Ref No:
130131-2600
Last Modified:
Thursday, January 31, 2013
Product:
Advantage Database Server ( General )
Category:
Error Codes
Title:
6401 Error In Windows Environment
Problem Description:
An ADS application within a Windows XP environment is receiving 6401 "Invalid Socket Handle" errors.
Solution:
This issue was resolved by removing all intrusive anti-virus software from the server, resetting both the IP stack and Winsock catalog, and restarting the computer. Some anti-virus software packages will sometimes inject (replace) standard Windows DLLs with custom built libraries to more closely monitor internet traffic and socket level connections. In this case, there was a delay in establishing a Winsock connection for the database server process, and the anti-virus software took that as a possible threat, so it closed the socket prematurely.

For directions on how to reset the IP stack:

http://support.microsoft.com/kb/299357

For directions on how to reset the Winsock catalog on Windows XP:

http://windowsxp.mvps.org/winsock.htm
Was This Item Helpful?