SAP Knowledge Base Article - Public

1861954 - Error: Failed to retrieve data from the database. Details: [Database Vendor Code: 1722]

Symptom

  • A Crystal report works as expected on all computers, except one that throws the error:
  • Failed to retrieve data from the database. Details: [Database Vendor Code: 1722]

 

Environment

  • SAP Crystal Reports, developer version for Microsoft Visual Studio
  • Microsoft Visual Studio 2010
  • Windows Server 2008 R2 Enterprise 64 Bit SP1
  • Oracle 11g Client (11.2.0.3)

Cause

  • The server was not configured for the correct localization

Resolution

  • Ensure that the server is using the correct localization
  • For example Brazilian Portuguese configure the registry as follows:

 

[HKEY_LOCAL_MACHINE\SOFTWARE\oracle\KEY_OraClient11g_home1] NLS_LANG = BRAZILIAN PORTUGUESE_BRAZIL.WE8MSWIN1252

See Also

  • Note that [Database Vendor Code: 1722] errors are being generated by the database client
  • Consult your database documentation for details of the error message

Keywords

crw cr4vs 2010 2012 international language , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio