dbTalk Databases Forums  

TDS buffer length too large: %s Error (Urgent)

comp.databases.sybase comp.databases.sybase


Discuss TDS buffer length too large: %s Error (Urgent) in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
atef shehata
 
Posts: n/a

Default TDS buffer length too large: %s Error (Urgent) - 04-26-2004 , 11:51 AM






hi all

i'm connecting to sybase ASE 12.5 using sybase ASE oledb provider 02.50.0033

some selects retruns the error 'TDS buffer length too large: %s'

what is wrong ?!, how can i fix this problem ?

any suggestions , comments will be very helpfull .

thanks for you help .

atef

Reply With Quote
  #2  
Old   
Neal
 
Posts: n/a

Default Re: TDS buffer length too large: %s Error (Urgent) - 04-27-2004 , 09:12 AM






Hello,

I looked in solved Sybase cases and there were a variety of solutions.

1) A few cases encountered this error when they were trying to use
OLEDB with .NET. Sybase does not support ODBC or OLEDB with .NET.
They have a new .NET driver that should be used.

2) Another case was solved by setting the DSN attribute (registry
only) "ProcessResultsOnClose = 1", so that the Provider "waits" for
the final done, since ADO does not wait around for everything.

3) Several cases were resolved by getting the latest 12.5 EBF with
the most recent version of the OLEDB provider (I think 2.70 something
for Open Client 12.5).

4) One workaround was proposed and depended on ASE topology because
it is a timing issue. Customer needs to adjust the number of rows and
batch size.

Reply With Quote
  #3  
Old   
atef shehata
 
Posts: n/a

Default Re: TDS buffer length too large: %s Error (Urgent) - 04-29-2004 , 04:01 AM



Neal,

thanks alot for your help .

yes i'm using the oledb driver with .net .

what do you mean 'Sybase does not support ODBC or OLEDB with .NET.' ?
i'm using the oledb driver included with ASE 12.5 client which has
some other strange behaviors !! (such as sudden hang).

please can you explain what is supported and what is not in more
details .

how can i upgrade to the new driver which supports the .net ?

it is hard to get an ebf for sybase products !, do you know where can
i download this ebf .

thanks

atef

Reply With Quote
  #4  
Old   
Neal
 
Posts: n/a

Default Re: TDS buffer length too large: %s Error (Urgent) - 04-29-2004 , 09:13 AM



Hello,

The Sybase ODBC and OLEDB drivers have some problems working on .NET.
Sybase has released an ASE ADO.NET driver with the 12.5.1 Software
Developer's Kit which can be downloaded from the Sybase Product
Download Center:
https://sybase.subscribenet.com

Once you have downloaded and installed the base release of a product,
you can get EBFs from here:
http://downloads.sybase.com

Reply With Quote
  #5  
Old   
atef shehata
 
Posts: n/a

Default Re: TDS buffer length too large: %s Error (Urgent) - 05-02-2004 , 02:24 AM



hi Neal,

thanks for your help .

regards.


atef

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.