Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Failed to retrieve data from database

Status
Not open for further replies.

PaulWiersma

Technical User
Jan 28, 2016
7
CA
Hi All,

re: Failed to retrieve data from the database. Details HY000:unknown error (7) [Database Vendor Code: 7 ]

I have a report I have developed that works well as it currently stands. It is using a SQLite3 ODBC driver and was created with CR 2011. The report currently refreshes to approx 7300 pages and is generated from a temporary SQLite db containing approx. 3.3 million records at a size of approx. 1 gb. As soon as I drag an additional field onto the report and refresh it fails with the attached errors. It does not even read any records, it prepares the SQL statement and errors out. If I limit the data via a report selection the report is fine with any combination of fields.
Error_Prompt1_ujmdfe.jpg

Error_Prompt2_rwlcki.jpg


If I take the query CR generates and hit the temp db directly the query executes with no issue. I have got an "out of memory error" when trying to run queries against this temp db concurrently but if I execute one query initially the result doesn't take long.

In XI I can refresh the report with the additional fields and summaries. Crystal crashes while exporting the report around 70%.

Thanks,
Paul
 
Cannot say for sure with vendor supplied ODBC's. I had an issue in the past where I could only join two tables before I got an error. You may be able to contact the creators of SQLLite and see if they can assist you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top