If your application fails to connect to a server, run dsedit. Reviewing the messages that dsedit displays may provide you with enough information to solve the problem.
Some types of problems are not diagnosed by dsedit; these are usually problems in your Adaptive Server or Open Server setup, rather than in a Net-Library-to-network-software connection. Troubleshooting suggestions are included in “If dsedit succeeds but other applications fail”.