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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CR: Logon failed

Status
Not open for further replies.

lutzs

Programmer
Oct 8, 2002
75
0
0
LU
Hi,

i have an ado.net dataset. With crystal reports i can view this dataset.
Now, i will export the report to pdf.

The programm is running but get this error message:

An unhandled exception of type 'CrystalDecisions.CrystalReports.Engine.LogOnException' occurred in crystaldecisions.crystalreports.engine.dll

Additional information: Logon failed.

What can I do?
The logon with the ado.net is successfully. And then i will export the created report.

Thanks,
Stephanie
 
I have same problem.
anyone found the fix to this?
 
Hi!
i too have the same problem..... can anybody help me out?

Dilwalle.
 
Hi,
I have the same problem. This seems to be a bug. It doesn't happen when using Access. The solution I came up with is creating an XML file from a dataset and join the XML file to CR and it works fine.

Rushdi
 
Try setting the ado.dataset that you created as the DataSource
crReportDocument = New ReportDocument
crReportDocument.Load("c:\label\label2.rpt")
crReportDocument.SetDataSource(DsSerial2)
CrystalReportViewer1.ReportSource = crReportDocument

It seems to have fixed the problem for me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top