Difference between revisions of "ITrack/Crystal Reports Failed to retrieve from the database"

From ISoft Wiki
Jump to navigationJump to search
(Edited for clarity)
 
(9 intermediate revisions by 2 users not shown)
Line 3: Line 3:


== Solution ==
== Solution ==
This error is caused by the specific report.
* In most cases, this error is caused by the specific report.
** Most likely, the internal query of the report failed when it was run.  The report (or database structure) may be out of date.
* Check [[ITrack/ODBC|ODBC]], if its pointed to an actual server with a valid username and password but the database/table/field doesn't exist on this server(most likely because its not the correct server), you'll get this error.


The internal query of the report failed when it was run. The report (or database structure) may be out of date.
==Database Vendor Code: 506==
This is caused by the MySQL ODBC driver incorrectly parsing comments. The bug is fixed as of version 5.2.4.
* http://bugs.mysql.com/bug.php?id=53891


[[Category:Error Messages (ITrack)]]
[[Category:ITrack/Problems/Crystal Reports]]
[[Category:Printing Error Messages (ITrack)]]

Latest revision as of 16:20, 10 February 2015

Cause

Crystal Reports failed to get information to fill out the report, even though it did connect before the failure.

Solution

  • In most cases, this error is caused by the specific report.
    • Most likely, the internal query of the report failed when it was run. The report (or database structure) may be out of date.
  • Check ODBC, if its pointed to an actual server with a valid username and password but the database/table/field doesn't exist on this server(most likely because its not the correct server), you'll get this error.

Database Vendor Code: 506

This is caused by the MySQL ODBC driver incorrectly parsing comments. The bug is fixed as of version 5.2.4.