theoryofben
IS-IT--Management
Ok, this one is bugging me.
I have a very simple crystal report, I'm loading it a crystal viewer, it works great as long as I hard code the parameter value
But if I use a variable I get a logon failed error. I have to use a variable because it's pretty useless if I only can run the report for one value.
I'm getting the following error
CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed.
Any ideas?
________________________________________________
"I have not failed. I've just found 10,000 ways that won't work."-Thomas Edison
I have a very simple crystal report, I'm loading it a crystal viewer, it works great as long as I hard code the parameter value
Code:
cr.SetParameterValue("ev_id", "asdffweKhersdf")
But if I use a variable I get a logon failed error. I have to use a variable because it's pretty useless if I only can run the report for one value.
Code:
cr.SetParameterValue("ev_id", my_id)
I'm getting the following error
CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed.
Any ideas?
________________________________________________
"I have not failed. I've just found 10,000 ways that won't work."-Thomas Edison