Solved

Sybase ASE ODBC driver 4.2 - issue

Posted on 2009-05-19
1
1,180 Views
Last Modified: 2012-08-13
Hi
We are using Sybase ASE ODBC Driver version 4.20.00.06 (syodase.dll) from Sybase dated 6/25/2003. We are in the process of migrating from Sybase ASE ODBC Driver version 3.60.00.16 (syodase.dll) from Sybase dated 6/16/2000. We are using this from a VB app using a DSN-less connection string method of creating connections. I have pasted below the code for the connection string.

We ran into trouble when trying to execute a stored proc in the unchained mode on a Sybase 12.5 server.It just hangs in there and the db monitor shows that the connection is in the AWAITING COMMAND status. So my app just hangs in there until the connection timeout we have set in the code is reached and the connection is closed with an error message.

We don't have any issues with the old driver.

Any help would be most appreciated. Also is there any place where I can get teh documentation for these drivers?

Thanks a lot.
ConntStr = "ODBC;UID=" & Userid & ";PWD=" & Pwd & ";DRIVER=" & Trim(gADriver) & ";" & "NA=" & Server & "," & DbServerPort & ";DB=" & gDb & ";is=set ansinull off;"

Open in new window

0
Comment
Question by:pganeshkumar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
pganeshkumar earned 0 total points
ID: 24425869
Found the issue myself. The driver requires me to explicitly mention the keyword "exec" before the stored proc name in the .CommandText property of the ADOCommand object whereas the previous version of the driver we sued would execute the stored proc without the need for the 'exec'.

Once I added this, the issue got resolved.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Deleting Rows from an Oracle Database - Performance 19 75
Email query results in HTML 6 38
Oracle database T-1 Setup 7 30
Select the 2 most recent visit dates 5 15
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question