Last post Jul 14, 2011 05:35 AM by Damon Liu - MSFT
Jul 11, 2011 03:55 AM|sadeq_monoj|LINK
I have create a crystal report with Generic list of a class. It shows the report properlly. but when i click on print buttn it shows the following message:
"The report you requested requires further information."
i have googled many site but there is no proper solution. My question is why generic list want further information.
It is agent. plese help my.
Jul 11, 2011 03:59 AM|manishgvsharma2000|LINK
refer these link
Hope this can help you
Jul 11, 2011 05:14 AM|sadeq_monoj|LINK
thank you for reply.
THis work when the report viewer in another page. but i want load the report in the same page by clicking OK button.
Do you have any solution
Jul 11, 2011 06:15 AM|manishgvsharma2000|LINK
see this link
I suggest you can try with integrated authentication.Hope that will work
Jul 12, 2011 03:23 AM|necro_mancer|LINK
have you got it work now? Have you tried the suggestion advised earlier? Please keep us posted
Jul 12, 2011 11:41 PM|sadeq_monoj|LINK
it does not fulfile my requirement.
Jul 14, 2011 05:35 AM|Damon Liu - MSFT|LINK
I will give you a sample, please follow the sample to check you code.
1 public partial class _Default : System.Web.UI.Page
3 DataSet1 ds = new DataSet1();
4 private ReportDocument myreport;
5 protected void Page_Load(object sender, EventArgs e)
7 Button1_Click(sender, e);
9 protected void Button1_Click(object sender, EventArgs e)
11 myreport = new ReportDocument();
12 string reportPath = Server.MapPath("CrystalReport.rpt");
16 string strProvider = "server=localhost;packet size=4096;user id=XXX;initial catalog=XXX;persist security info=True;password=XXXX";
17 SqlConnection MyConn = new SqlConnection(strProvider);
19 string strSel = "Select a.bookno,a.cname,b.gname from [order] a,orderdetail b where a.bookno = b.bookno";
20 SqlDataAdapter MyAdapter = new SqlDataAdapter(strSel, MyConn);
21 DataSet ds = new DataSet();
22 MyAdapter.Fill(ds, "DataTable1");
25 Viewer.ReportSource = myreport;
Note this: MyAdapter.Fill(ds, "DataTable1"); DataTable1 must have the same name with the table you create in the DataTable1,
or The report you requested requires further information error occured. additional, you can't use MyAdapter.Fill(ds).