Link to home
Start Free TrialLog in
Avatar of insane 007 .
insane 007 .

asked on

crystal report error Unable to connect: incorrect log on parameters. Details: [Database Vendor Code: 18456 ]

hiii im using crystal report in my web application in which i have a main report and a subreport my problem is that in my subreport i have passed a store procedure which except parameter @relationid so in code behind i have used this code to set that parameter value which is  

rpt.SetParameterValue("@relationid", documentId, rpt.Subreports[0].Name.ToString());

i have linked subreport with main report parameter but im getting this error  which is attached below  any solution thanks in advance
Capture.PNG
SOLUTION
Avatar of Sam Simon Nasser
Sam Simon Nasser
Flag of Palestine, State of image

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
ASKER CERTIFIED SOLUTION
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
Avatar of insane 007 .
insane 007 .

ASKER

I have pass logon parameters as suggested by you guys for reports and its working now  thanks for the help