"Failed to retrieve data from database. Details: [Database Vendor Code: 911]" when printing Crystal report

ISSUE:  Receiving "Failed to retrieve data from database. Details: [Database Vendor Code: 911]" when printing a Crystal report using GP Reports Viewer on a workstation.  Printing the same report on the server works with no error.

SOLUTION:  Open the report in Crystal Reports locally on the same network where the GP SQL data is and update the location of the data source(s) and all the SQL objects.  Re-save the report.


  1. Launch Crystal Reports and open your report.
  2. Navigate to Database | Set Datasource Location.
  3. Select or create a new ODBC (RDO) connection in the Replace with section of the window.
  4. Select the first SQL object listed on the Current Data Source section by clicking on it once, then select the corresponding SQL object on the Replace with section.  Once both are selected click UpdateSet_Datasource_Location.png
  5. Repeat step 4 for each SQL object on your report.
  6. Click Close, then save your Crystal Report.

SOURCE:  Support ticket 1205

KB ARTICLE:  20946558

LAST UPDATED:  March 27, 2012

Have more questions? Submit a request


Article is closed for comments.
Powered by Zendesk