From the given information I cannot be sure what the problem is, but here are some things you can check.
- The obvious one is to make sure the server is actually running. I only mention this for completeness. If you try to make a TCP/IP connection to Advantage and it is not running, I believe the client will get a 6414.
- Verify that you are using the correct port number. If you specify it in the connection path, for example, verify that it is correct (the default port is 6262). Note that if you are using an ads.ini file, the port number could be specified in that file.
- Make sure the firewall on the server (or any firewalls in between) allow incoming TCP connections on port 6262 (assuming the default port is in use).
For debugging purposes, you might install Advantage Data Architect on the client and try making a connection from that utility. It might provide a simpler environment in which to debug the connection problem.
Edit Based on the comment about the non-default port number and the fact that it works with the other utility makes it sound like ads.ini file is not being found by Crystal Reports. Or, quite possibly, it is finding a different/wrong version of ads.ini. You could use Sysinternals Process Monitor to determine exactly where the ads.ini file is being loaded from. Alternatively, you might add the port number to the connection path (\\server:port\path
) to avoid the problem.