SAP Knowledge Base Article - Preview

1921361 - Using square brackets to quote database names causes error 2812 in Sybase ADO.Net provider 15.7 SDK for SAP ASE

Symptom

  • Using square brackets to quote the database name when executing a stored procedure using Sybase.Data.AseClient.AseCommand causes ASE error 2812:

Msg 2812, Level 16, State 5:
Server 'ASE', Line 1:
Stored procedure 'p1' not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output).


Read more...

Environment

  • SAP Sybase Software Developer Kit (SDK) 15.7 ESD #1
  • SAP Sybase Software Developer Kit (SDK) 15.7 SP
  • Adaptive Server Enterprise ADO.NET Data Provider
    • 2.0 Provider ( Sybase.AdoNet2.AseClient.dll )
    • 3.5 Provider ( Sybase.AdoNet35.AseClient.dll )
  • Microsoft Windows x64 (64-bit)
    • Win 7/8/10, 2008/2008 R2, 2012/2012 R2
  • .Net Framework 4
  • Visual Studio 2010

Product

SAP Adaptive Server Enterprise 15.7 ; Sybase Software Developer Kit 15.7

Keywords

ado.net, ADONET, , KBA , BC-SYB-SDK , SDK , 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.