SAP Knowledge Base Article - Preview

2338256 - ADO.NET: Compute clause query gives TDS stream error - SAP SDK


  • The driver would return a TDS stream error while processing some queries with compute clauses.
  • Error:

AseException: Sybase.Data.AseClient.AseException: Bad TDS response stream received from server. Unexpected token type received: 3.
  at Sybase.Data.AseClient.AseDataReader.CheckResult(Int32 res)
  at Sybase.Data.AseClient.AseDataReader.Perform_InitHasNextRow()
  at Sybase.Data.AseClient.AseDataReader.SetupMetaData(Byte rmtType)
  at Sybase.Data.AseClient.AseDataReader.SetupTdsResultSet()
  at Sybase.Data.AseClient.AseDataReader.SetHasNext()  
  at Sybase.Data.AseClient1.AseCommand._ExecuteReader(CommandBehavior commandBehavior)
  at Sybase.Data.AseClient1.AseCommand.ExecuteReader()



  • SAP Sybase Software Developers Kit (SDK) 15.7
  • SAP Software Developers Kit (SDK) for Adaptive Server Enterprise (ASE) 16.0
  • Adaptive Server Enterprise ADO.NET Data Provider
    • 4.0 Provider ( Sybase.AdoNet4.AseClient.dll )
    • 4.5 Provider ( Sybase.AdoNet45.AseClient.dll )


SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise SDK 16.0 ; Sybase Software Developer Kit 15.7

Keywords, framework, 4, 4.5, AseDataReader, result, compute clause, altfmt, altname, tds, clustered, data, row, CR#772977, CR772977, 772977 , KBA , BC-SYB-SDK , SDK , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.