Baskar B.V

SQL - BI Consultant

  Home  |   Contact  |   Syndication    |   Login
  23 Posts | 0 Stories | 21 Comments | 0 Trackbacks

News

Baskar

Archives

Blogs

SQL-BACKUPS

SQL-PERFORMANCE

SQL-SERVER

 

I was struggling for a while for trying to connect to sybase  server in DTS package. I was using Sybase ASE odbc driver to connect to the server.  After a long fight i found the setting for the server which i am trying to connect is missing in the sql.ini file.

I would like to share my learning with this post.

Things to note in sql.ini. You could find the file in the folder where symposium call center is installed. 

The above set of information should be created in sql.ini for each sybase server we are connecting to. [SERVER1] is the connection name which has to be given in place of "server name" while created the odbc connection. The one highlighed in bold is very important step. <<SERVER1 IP>> is the ip address of the sybase server. Save the sql.ini file. The location of the file should be mentioned in place of "Interfaces file" property under the Connection tab in odbc setting.

If you have not done the above steps you would basically get the error message

---------------------------
Warning
---------------------------
[SYBASE][ODBC Sybase driver][Sybase]ct_connect(): user api layer: internal Client Library error: HAFAILOVER:Trying to connect to  server.
---------------------------
OK  
---------------------------

That's it. Now try the test connect while creating the odbc driver and it should work fine.

Hope this post helps. I would like to receive your valuable comments about this post.

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted on Friday, January 18, 2008 8:32 PM

Feedback

# re: Connecting to Sybase Server 8/14/2009 1:38 AM jam
hey, it works! thanks..

# re: Connecting to Sybase Server 2/16/2010 1:19 PM Erin
What is the ICCM_Server?

# re: Connecting to Sybase Server 5/5/2011 9:17 AM Amin
Dude,

Thanks for the post. I found another way. It might be more easy.

Click on Start > Run > Type "dsEdit" > Click OK
Add the server information. This will update the Sybase sql.ini file. The server name in dsEdit must match whatever server name that was set in Control Panel > Data Sources (ODBC).

# re: Connecting to Sybase Server 11/23/2011 11:25 PM Manasa
Thank you Baskar, This really helped me resolve my issue.


# re: Connecting to Sybase Server 12/8/2011 3:36 AM Rajesh
Good one, this is a typical issue with the sybase and time consuming to find out the exact cause. Anyway, nice to see this post as it saves time for many. Cheers mate.

# re: Connecting to Sybase Server 2/11/2012 11:28 PM Saad
Thanks A lot

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: