Hi,
We have trouble setting up a report that pull up data from an Excel sheet. I want my report to show on Crystal Report Viewer. I installed Crystal Report for Visual Studio 2010 (both x64 and x86).
Here is the code on the form load:
Dim viewer As New CrystalDecisions.Windows.Forms.CrystalReportViewer
Me.Controls.Add(viewer)
viewer.Dock = DockStyle.Fill
viewer.ReportSource = "T:\Reports\External\NAPA\NAPALabels_NoDataSourceChange.rpt"
I tried those 3 connection type:
- Access/Excel (DAO)
- Folowing error: Failed to load database information. Error in File NAPALabels_NoDataSourceChange {AE05....}.rpt: Failed to load database information.
- Database File
- Same error as Access/Excel (DAO)
- OLE DB (ADO)
- Database Login dialog shows up:
Image may be NSFW.
Clik here to view.
All those connection type work in Crystal Report 2011 designer. But when I try in the application (running in 64 bits) nothing works.
Any idea how I can make that works?
Thanks