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

From ISoft Wiki
Jump to navigationJump to search
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
== Solution ==
== Solution ==
* In most cases, 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.


Most likely, 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.
* 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 incorrect server, you'll get this error.
* http://bugs.mysql.com/bug.php?id=53891


[[Category:ITrack/Problems/Crystal Reports]]
[[Category:ITrack/Problems/Crystal Reports]]

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.