Also I want to add:
I ran dbisql.exe from my local machine and it works fine.
I copied the directory to the mapped network drive and I get the following error:
Could not connect to the server.
Connection refused.
Ensure that the name in the "Server name" field is correct and that the server has been started.
JZ006: Caught IOException: java.net.SocketException: Invalid argument: create Error code=0 SQL state=JZ006
Connection parameters: User=MyUser Password=******* ENG=myserver dbf=mydatabase
NOTE: The Server Name is correct, and I put in the host name & port number and it replaces it with the server name that I have in my sql.ini (in both drive locations)
Locally dbisql.exe runs fine, but on this network drive it does not run if I map the drive using my credentials.