SAP Knowledge Base Article - Preview

3245904 - Insert audit on an IMAGE column fails with "Explicit conversion from datatype 'IMAGE' to 'VARCHAR' is not allowed" - SAP ASE

Symptom

  • When audting is ON (auditing = 1)
  • And configured to audit inserts with an image column
  • A conversion error is returned:

    Message = "Explicit conversion from datatype 'IMAGE' to 'VARCHAR' is not allowed.\n"
    At Sybase.Data.AseClient1.AseCommand.CheckResults(int32 res)
    At Sybase.Data.AseClient1.AseCommand.RetrieveNeededIndex()
    At Sybase.Data.AseClient1.AseCommand.SendBlobs()
    At Sybase.Data.AseClient1.AseCommand.Execute(CommandBehavior commandeEhvior)
    At Sybase.Data.AseClient1.AseCommand.ExecuteNonQuery()


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 16.0
  • SAP Software Developer Kit for ASE (SDK) 16.0

Product

SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise SDK 16.0

Keywords

'IMAGE to VARCHAR', conversion, 'not allowed' , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-SDK , SDK , Known Error

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.