FIX: Error message when you call a stored procedure that returns a rowset which has the DBPROP_MAXROWS rowset property or the SSPROP_MAXBLOBLENGTH rowset property specified: "The incoming tabular data stream (TDS) protocol stream is incorrect"

Symptoms

You create an application that uses SQL Native Client OLE DB provider of Microsoft SQL Server 2005 of or Microsoft SQL Server 2008. In the application, you create a rowset, and then set the DBPROP_MAXROWS rowset property or the SSPROP_MAXBLOBLENGTH rowset property. When you call a stored procedure to return the result to the rowset, you may receive the following error message:
The incoming tabular data stream (TDS) protocol stream is incorrect. The stream ended unexpectedly.

Cause

This problem occurs when the call to the stored procedure is a remote procedure call (RPC). During the RPC, the DBPROP_MAXROWS rowset property or the SSPROP_MAXBLOBLENGTH rowset property causes an error.

Resolution

Service pack information for SQL Server 2005

To resolve this problem, obtain the latest service pack for SQL Server 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
913089 How to obtain the latest service pack for SQL Server 2005

Service pack information for SQL Server 2008

To resolve this problem, obtain the latest service pack for SQL Server 2008. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
968382 How to obtain the latest service pack for SQL Server 2008

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in SQL Server 2005 Service Pack 3 for SQL Server 2005.
This problem was first corrected in SQL Server 2008 Service Pack 1 for SQL Server 2008.

More Information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Eigenschaften

Artikelnummer: 959025 – Letzte Überarbeitung: 07.04.2009 – Revision: 1

Feedback