SAP Knowledge Base Article - Public

1486959 - What does the error: "Details: Database Vendor Code: -nnnn" mean?


  • Using Crystal Reports SDK for VS .NET
  • On occasion, the application returns the error; Database Vendor Code: -nnnn (nnn being a numeric value)
  • When using the RDC SDK in VB 6, a more meaningful error is displayed


  • Since version 9 of Crystal Reports ANSII 92 standards rules apply, meaning that the database engine simply passes what the database client provides
  • This was a "By Design" decision as due to the vast amount of errors possible and the vast amount of database clients, interpreted errors were difficult to maintain


Use a try/catch block and create your own error table according to your database client error codes and pass that to the users

See Also


Forum thread , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , How To


Crystal Reports 2008 V1 ; SAP Crystal Reports XI R2