troubleshooting Question

CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed.

Avatar of malparam
malparam asked on
Web Development
13 Comments1 Solution43715 ViewsLast Modified:
I tried to put the 4 lines of code, in code behind page i get errors in the code.
crystalreport1 orpt = new crystalreport1()
orpt.setdatabaselogon("user","password")
crystalreportviewer1.reportsource = orpt
crystalreportviewer1.databind()

It does not accept the first two lines. I get an error. There is no setdatabaselogon
method with orpt.
I am trying to create a report using crystalreportviewer. I get this logon failure.
Please help me.
ASKER CERTIFIED SOLUTION
Cheeetaa

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 13 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros