Click here to Skip to main content
15,908,581 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have designed crystal report e.g. myreport.rpt.
and i am passing parameter at runtime from aspx page to this report but it is showing message;


"The report you requested requires further information."


Server name:
Database name:
User name:
Password:
Use Integrated Security



but I have added this information when reportDocument is generated.

i.e.
ReportDocument objRpt = new ReportDocument();

objRpt.FileName = Server.MapPath("~/Report/myreport.rpt");
objRpt.SetDatabaseLogon("root", "", "localhost", "test");
objRpt.SetDataSource(Ds);
objRpt.Load(objRpt.FileName);
Posted

1 solution

you are set your local host server name and user name & password but it is not correct way because crystal report are working your hosting ip address and tis password and user name so your are

set server name:- your ip address
and uname :- your hosting username
and pwd:- your hosting pwd
 
Share this answer
 
v2
Comments
Kashinath Patil 6-Feb-13 4:37am    
I hv checked it but still giving same

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900