SAP Knowledge Base Article - Preview

2192091 - ADO.NET: SELECT with COMPUTE error System.ArgumentException - SDK for SAP ASE


When running multiple SQL statements where there are more than one SELECT with COMPUTE clause, error occurs:

Exception: System.ArgumentException: Item has already been added. Key in dictionary: '2' Key being added: '2'



  • SAP Sybase Software Developers Kit (SDK) 15.7 SP133
  • Adaptive Server Enterprise ADO.NET Data Provider 4.0 Provider ( Sybase.AdoNet4.AseClient.dll )
  • SAP Adaptive Server Enterprise (ASE) 15.7
  • msdev 2012
  • C#


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


OCS, ADONET, 78682, CR#786821, CR786821 , 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 ONE Support launchpad (Login required).

Search for additional results

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