I have been developing an application that sits on top of a Sybase SQL Anywhere database running on dbeng8 (version 8.0.2.3601)

The DB is started with this line:
C:\Progra~1\Sybase\SQLAny~1\win32\dbeng8.exe -ga C:\DFSA\databases\remote102\remote102.db

and is accessed from Java 1.4.2_02 using the jconn2 driver.

This system has been tested and successfully works on almost all of our machines. running a mix of Win98,Win2K, and WinXP.

Now for the problem:

On one of our machines which is running WinXP service pack 1 when I try to run the software the database loads fine but when my software tries to connect to it I get the following error:

DATABASE ERROR 1: JZ006: Caught IOException: java.net.SocketException: Invalid argument: connect

Anyone know why this would happen. I've check and all of the ODBC settings are correct and I've gone through and made sure this machine is compeltely up to date and is running the same XP (Professional). There is no reason I can see why this shouldn't work as well as it does on the other dozen machines I've tested it on.

Thanks for your help.