Login Fail - Access a Crystal Report from . NET
Hi
I am new at .NET & Crystal Report. I have successfully created a report(data from one table only) and called it from .net(web) using the dataset.
When I now try to view a report that uses a combination of tables (join), I get the error:
Exception Details: CrystalDecisions.CrystalReports.Engine.LogOnExcept ion: Logon failed.
I also get this error when I try to open a report using the following code:
Dim newrpt As CrystalReport1
newrpt = New CrystalReport1
newrpt.SetDatabaseLogon("testuid", "testpwd")
Me.CrystalReportViewer1.ReportSource = newrpt
Me.CrystalReportViewer1.DataBind()
Any help will be appreciated.
|