Unknown token received from SQL Server

SELECT * FROM IAS_Users

Display Following Message:


[Microsoft][ODBC SQL Server Driver]Unknown token received from SQL Server
[Microsoft][ODBC SQL Server Driver]Invalid cursor state
[Microsoft][ODBC SQL Server Driver]Unknown token received from SQL Server
[Microsoft][ODBC SQL Server Driver]Protocol error in TDS stream

Reply:
[posted and mailed, please reply in news]

Greg M. (gmalanoski@insightbb.com) writes:[color=blue]
> I have a client using SQL 2k, SP2 (due application requirements, SP3 is
> not an option - the application vendor will not specify why). We are
> receiving:
>
> [Microsoft][ODBC SQL Server Driver]Unknown token received from SQL Server
>
> Connection Broken
>
> There doesn't appear to be any rhyme or reason as to why this is
> happening. And...it shows it's ugly head at random places during
> execution. Has anyone experienced this also, or have any ideas on what
> to look for? I have seen numerous suggestions stating to upgrade from
> MDAC 2.6 to 2.7. At this point, I'm not sure if thats an option based
> on the vendors application (which by the way they no longer support!).[/color]

The message itself indicates a protocol violation. That is, SQL Server
sends something which is not to be expected according to the TDS protocol
that server and client communicate over.

However, in many cases, the message just indicates that the process for
the connection inside SQL Server went belly-up, because of an access
violation, stack overflow or similar bad thing. In this case, you will
find a stack dump in the SQL Server errorlog. Possibly you can then connect
the dump to a certain statement.

But if it is random as you say, then the errorlog may not make you
any wiser. In such case, the best would be to open a case with Microsoft.
Since some sort of bug appears to be involved here, you should get
any initial expenses refunded.

--
Erland Sommarskog, SQL Server MVP, sommar@algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp

转载于:https://www.cnblogs.com/kaixin110/archive/2007/08/14/855318.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值