Print Page | Close Window

Crystal Reports Can't Find Database

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=16925
Printed Date: 16 Apr 2025 at 7:15pm


Topic: Crystal Reports Can't Find Database
Posted By: MW2011
Subject: Crystal Reports Can't Find Database
Date Posted: 02 Jul 2012 at 11:54am
I am a little confused, I have my application all setup, Forms, display data as desired, all using SQL Express and an mdf file.
Now I am moving on to reports, I created my first report with the wizard. When I clicked on the "Main Report Preview" the first time, I got the error
The database table "Properties" cannot be found. Proceed to remove this table from the report? "Yes or No". If I click no to each table the Preview works fine. I can also run my application and select the report from the menu and it displays properly.
Its a little confusing, its using the same database, connection and tables as the rest of my App.
What is the likely culprit so I can avoid it?
MW2011



Replies:
Posted By: hilfy
Date Posted: 03 Jul 2012 at 3:51am

I assume you're using Visual Studio, correct?  If so, which version?  If not, what language are you developing in?

 
 You say this happens the first time you select "Main Report Preview", what happens with subsequent previews?
 
Is your report connecting to in-memory data sets or are you connecting directly to the database?  If you're using a connection that has been defined in your project, is it connected to the database when you do the preview?
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics



Print Page | Close Window