Symptom
- Procedure returns multiple results, one from local proc and another from rpc.
- With ASE setting 'cis rpc handling' = 1, first result is TDS_ROWFMT2, second as TDS_ROWFMT.
- Error:
- AseException: Sybase.Data.AseClient.AseException:
- Bad TDS response stream received from server. Unexpected token type received: 141.
at Sybase.Data.AseClient.AseDataReader.CheckResult(Int32 res)
at Sybase.Data.AseClient.AseDataReader.RetrieveNextResult()
at Sybase.Data.AseClient.AseDataReader.GetNextResult(Boolean isNeedProcessOutParams)
at Sybase.Data.AseClient.AseDataReader.NextResult()
at rpctest.Program.Main(String[] args) in c:\...\badTDSresp\Program.cs:line 84
Read more...
Environment
- SAP Adaptive Server Enterprise (ASE) 15.7
- SAP Software Developers Kit (SDK) for Adaptive Server Enterprise (ASE) 16.0
- Adaptive Server Enterprise ADO.NET Data Provider 2.157.XXXX.0
- Microsoft Visual Studio 2012
- VB (Visual Basic) .NET
- Microsoft Windows x64 (64-bit)
- Win 7/8/10, 2008/2008 R2, 2012/2012 R2
Product
SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise SDK 16.0 ; Sybase SDK 15.7 ; Sybase Software Developer Kit 15.7
Keywords
PC Client,"SAP ASE", Remote procedure call, SDK for SAP ASE, CR#779835, 779835, 779835 , KBA , BC-SYB-SDK , SDK , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem
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.