Skip to Content.
Sympa Menu

freetds - Re: The token datastream length was not correct. This is an internal protocol error.

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Fabien Roy <froy AT singleentry.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: The token datastream length was not correct. This is an internal protocol error.
  • Date: Thu, 14 Dec 2000 14:25:19 -0600


Any command gives the error and also the command buffer of the
server is not cleared out, i.e when I issue another command I got
sometime the result of the previous command, also the first command
seems to be ok:

[darkman:~] fabien% sqsh -Usa -Sfaby
sqsh-1.7 Copyright (C) 1995-1999 Scott C. Gray

This is free software with ABSOLUTELY NO WARRANTY
For more information type '\warranty'
Password:
[21] faby..1> select @@version;

------------------------------------------------------------------------
Adaptive Server Enterprise/11.9.2.3/1159/P/SWR 9223 ESD
3/Linux Intel/Li
nux 2.2.5-15 i586/OPT/Tue Sep 5 06:37:26 2000

(1 row affected)
[22] faby..1> select @@version;
Msg 3805, Level 18, State 1
, Line 1
The token datastream length was not correct. This is an internal
protocol error.
[23] faby..1> select getdate();

------------------------------------------------------------------------
Adaptive Server Enterprise/11.9.2.3/1159/P/SWR 9223 ESD
3/Linux Intel/Li
nux 2.2.5-15 i586/OPT/Tue Sep 5 06:37:26 2000

(1 row affected)
[24] faby..1> select 5+6
[24] faby..2> go
Msg 3805, Level 18, State 1
, Line 1
The token datastream length was not correct. This is an internal
protocol error.
[25] faby..1>

> Thank you for detailing your configuration. We also need to see the
> code and/or SQL that revealed the error, preferably a minimal case.
> There is indeed a fair chance that endian issues are involved, at
> least tangentially. (Unfortunately, I don't myself have much time at
> the moment to work on this.)
>
> Mark
>


--
Fabien Roy
Singleentry.com
107 RR 620 South, suite 117
Lakeway, TX 78734
Tel: (512) 266-6379 ext 1350
Fax: (512) 266-6375
Mob: (512) 796-9854
http://www.singleentry.com
Nisi fractum, noli refeci
Or
Aint Broke! Don't Fix It!
|\ _,,,---,,_ _,,---,,,_ /|
/,`.-'`' -. ;-;;,_ _,;;-; ._ `'`-.',\
|,4- ) )-,_. ,\ ( `'-' `-'' ) /, ._,-( ( -7,|
'---''(_/--' `-'\_) (_/`-' `--\_)``---`





Archive powered by MHonArc 2.6.24.

Top of Page