SAP Knowledge Base Article - Preview

2095295 - ADO.NET - "Unsupported charset!" error occurs when using sjis in connection strings - SDK for SAP ASE

Symptom

"Unsupported charset!" error occurs when using sjis in connection strings of ADO.NET application.

Exception: System.NotSupportedException: Unsupported charset!
 at Sybase.Data.AseClient.UnilibToWinCharSetIDMap.GetWinIDfromUnilibID(Int32 unilibID)
 at Sybase.Data.AseClient.DataInputStreamBuffer..ctor(IntPtr userHandle, AseCommand command, Int32 bufferSize, Int32 occupied)
 at Sybase.Data.AseClient.AseDataReader.SetupTdsResultSet()
 at Sybase.Data.AseClient.AseDataReader..ctor(AseCommand command, CommandBehavior commandBehavior)
 at Sybase.Data.AseClient1.AseCommand._ExecuteReader(CommandBehavior commandBehavior)
 at Sybase.Data.AseClient1.AseCommand.ExecuteReader()
 at Sybase.Data.AseClient.AseCommand.ExecuteReader()


Read more...

Environment

  • SAP Sybase Software Developer Kit (SDK) 15.7
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0
  • Adaptive Server Enterprise ADO.NET Data Provider
  • .Net

Product

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

Keywords

ADO.NET, sjis, NotSupportedException, CR, 770861 , KBA , BC-SYB-SDK , SDK , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , 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.