Cr 10 problem (The report you requested requires further information.)

  • Thread starter Thread starter Tom Gao
  • Start date Start date
T

Tom Gao

Hi guys.

When I load a Crystal Report using Cr10 in .net it tells me that
"The report you requested requires further information."
and then follows to ask to login/pass to my DataSet1
which contains all of the information that I use to populate the report.

I don't know why this comes up I have tried every possible password that I
know none seem to work.

This code is simple all i have is
this.sqlDataAdapter1.Fill(this.dataSet11);

CrystalReport1 cr = new CrystalReport1();

CrystalDecisions.Shared.TableLogOnInfos tablelogoninfos = new
CrystalDecisions.Shared.TableLogOnInfos();

CrystalDecisions.Shared.TableLogOnInfo tablelogoninfo = new
CrystalDecisions.Shared.TableLogOnInfo();

CrystalDecisions.Shared.ConnectionInfo myconnectioninfo = new
CrystalDecisions.Shared.ConnectionInfo();

myconnectioninfo.ServerName = "localhost";

myconnectioninfo.DatabaseName = "AP_DB";

myconnectioninfo.UserID = "Tom";

myconnectioninfo.Password = "adbeee";


tablelogoninfo.ConnectionInfo = myconnectioninfo;

tablelogoninfo.TableName = "tblProposal";

tablelogoninfos.Add(tablelogoninfo);

this.CrystalReportViewer1.LogOnInfo = tablelogoninfos;

this.CrystalReportViewer1.ReportSource = new CrystalReport1();

//this.CrystalReportViewer1.ReportSource = cr;

this.CrystalReportViewer1.DataBind();



Any help is appreciated

I really am clueless to the issue here



Thanks

Tom
 
Back
Top