Reputation: 1371
I receive the following error when attempting to connect to a Sybase Advantage Database from the Crystal Reports for .NET Framework within within Microsoft Visual Studio Ultimate 2012:
Error 6414: Connection forcefully refused. axServerConnect
I have attempted multiple driver versions and have settled on Version 11.1 for the framework.
I believe the database is version 11.
Any help on this is greatly appreciated.
Upvotes: 1
Views: 297
Reputation: 41232
From the given information I cannot be sure what the problem is, but here are some things you can check.
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.
Upvotes: 1