Link to home
Start Free TrialLog in
Avatar of genesisproject
genesisproject

asked on

Failed to open a rowset Crystal reports


I have created a crystal report on my local windows application.  I used the  crystal wizard and got the parameters needed.

when I ran the report in the viewer I get this error

Failed to open a rowset  

this is all i used for code


 Dim rpt As New report1
CrystalReportViewer1.ReportSource = rpt


p.s. the database is not local

PLEASE HELP

I bought the crystal report book and followed the directions but still can't get it working

 
Avatar of cyberdevil67
cyberdevil67

Hi genesisproject,

 is rpt.Load() loading your report? You might need to look at this

 Dim report as ReportDocument = new ReportDocument()
 report.Load(path\document.rpt)
 CrystalReportViewer.ReportSource = report

 Also if you have paramters you might need to also look at

 DatabaseLogin or is it Logon and SetParameters

Cheers!
Avatar of Mike McCracken
ASKER CERTIFIED SOLUTION
Avatar of cyberdevil67
cyberdevil67

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial