community.borland.com

Article #25574: Troubleshooting CommunicationException Error

Problem:
I installed InterClient and get the error
CommunicationException in CommDiag when 
attempting to connect to a database.


Solution:
CommunicationException usually means one or more of the following:
A) InterServer is not running on the server
B) The database specified does not exist.
B) TCP/IP services have not been installed or are not working correctly.

For situation A:
Ensure that the InterServer icon appears on the tray
(if running as an application) or that Control Panel shows that the
InterServer service is started.  If all looks good, try using telnet to
communicate with InterServer -- run telnet and establish a remote
connection with the named machine (use 'localhost' if InterServer is
running locally) on port 3060.  If you get a response back (largely
gibberish with the word 'InterServer' in it) then you know that
InterServer is listening and your problem is most likely situation b).

For situation B:
Verify you are using a full local drive and path specification to the database.
Without the path, the database will
be sought after in the WindowsSystem directory (on Windows 95) which
is probably not where it is.

For situation C:
Check the Network settings in Control Panel and verify 
the TCP/IP protocol is installed.


Last Modified: 26-OCT-00