Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sybase ODBC connection failure (HAFAILOVER error)

Status
Not open for further replies.

ITCPhil

Technical User
Jun 30, 2005
181
CA
Hi,
I am posting this as even though Symposium is used here, nearly no one has a clue how it works when it comes to connecting via Sybase to it. I am then using this ODBC in Crystal Reports to make reports (because I am pulling data from both Remedy and Symposium on the same report).

It was working on my old pc but I just received a new pc as mine was not powerful enough. On the old pc, I could easily connect via ODBC to Sybase, but on this one it does not work and gives me the error :
[SYBASE][ODBC Sybase driver][Sybase]ct_connect(): user api layer: internal Client Library error: HAFAILOVER: Trying to connect to server.

It is actually a heavily documented error message, but I could not get it to work here. Most people are using DSEDIT but instead here, we had made our own sql.ini files, one for the 2 servers to which we connect. I did try DSEDIT and this is what it looks like :

Attributes Values
Server Entry Version 1
Server Name ICCM_PREVIEW
Server Service SQL SERVER (I cannot change this?)
Server Status 4 Unknown (I cannot change this)
Server Address TCP- ***.***.***.***,5000
TCP- ***.***.***.***,5000
I can ping the servers and they respond properly. This does not appear to have modified my SQL.INI file.


Our ini files appear like so (we did not use DSEDIT here):

[ICCM_PREVIEW]
$BASE$01=NLNWLINK,ICCM_Server
$BASE$00=NLWNSCK,***.***.***.***,5000
query=$BASE$00;$BASE$01;

[ICCM_PRINT]
$BASE$01=NLNWLINK,ICCM_Server
$BASE$00=NLWNSCK,***.***.***.***,5000
query=$BASE$00;$BASE$01;

The Symposium server has not changed, so I am really stumped... could anyone offer insight?

If someone requires it, I can post my ODBC connection information tommorow morning, but it looks the same as this, I have a server name, a database name and my interface files point to the ini files we made.

Thanks in advance,
Phil



 
I tried again this morning using the ini files from someone else, the problem persists.

My ODBC is connecting using :
File Name : D:\ASE12CLT\ODBC-3_5\SYODASE.DLL
Version : 03.50.0010
File Date : 01/24/2006
File Size : 167936 bytes

The rest is set to default other than the Interface Files which points to :
C:\Program Files\Nortel Networks\Symposium Call Center Server\SqlIni\ini\sqlmct.ini (sqlmct.ini is the one we use)
 
Well, scratch one to stupidity... the Symposium server name is apparently case sensitive and they did not use a capital letter at the beginning.

It's working now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top