Hi,
I use visual studio 2010 , sap crystal report 11, when I run report on my laptop and staging server many times, it doesn't have any problem, however, after I move to production server, I just run the report several times, it return this error message:
Image may be NSFW.
Clik here to view.
This is part of code:
ConnectionInfo connectionInfo = new ConnectionInfo();
CrystalDecisions.CrystalReports.Engine.ReportDocument boReportDocument;
string rptFile = ((BaseApplicationPage)(this.Page)).Decrypt(this.Page.Request.QueryString["Name"]);
connectionInfo.ServerName = "XXXX";
connectionInfo.UserID = "XXXX";
connectionInfo.Password = "XXXX";
boReportDocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
boReportDocument.Load(Server.MapPath("~/Crystal/" + rptFile));
CrystalReportViewer1.ReportSource = boReportDocument;
TableLogOnInfos tableLogOnInfos = CrystalReportViewer1.LogOnInfo;
foreach (TableLogOnInfo tableLogOnInfo in tableLogOnInfos)
{
tableLogOnInfo.ConnectionInfo = connectionInfo;
}
/CrystalReportViewer1.RefreshReport();
I tried to add refreshreport before, however, it popup parameter window everytime when I click on next page on the report, how can I refresh the report without popup parameter window when I click on next page in the report?
Could you tell me how to solve this problem on production server please? is in hurry because is production server..
Thank you
Kelvin