Discussions
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
The report you requested requires further information.
Hi All,
While We Are accessing crystal Reports Through Web Pages (i.e Aspx Pages)We are Getting the Following Error
"The report you requested requires further information."
Code Snippet:
string server = "NetSuite.com";
string database = "";
string ID = "7hill@7hills.com";
string password = "*******";
TableLogOnInfo logonInfo = new TableLogOnInfo();
int i = 0;
foreach (CrystalDecisions.CrystalReports.Engine.Table table in rd.Database.Tables)
{
logonInfo = table.LogOnInfo;
logonInfo.ConnectionInfo.AllowCustomConnection = true;
logonInfo.ConnectionInfo.ServerName = "NetSuite.com";
logonInfo.ConnectionInfo.DatabaseName = database;
logonInfo.ConnectionInfo.UserID = ID;
logonInfo.ConnectionInfo.Password = password;
table.ApplyLogOnInfo(logonInfo);
rd.Database.Tables[i].Location = table.Name;
rd.DataSourceConnections[server, database].SetConnection(server, database, ID, password);