Page 1 of 1

Problem Loading stimulsoft .web report

Posted: Mon Feb 27, 2012 6:48 am
by ROHIT GUPTA
Hello,

We are using Stimulsoft Reports.Web 2011 version for reports. i am using following code to laod reports data but after executing all statements i am not getting report. please guide me to solve this issue.

string reportName = Server.MapPath("~/Resources/Report_Files/ProductionDetailed2011.mrt");
string reportDllName = Server.MapPath("~/Resources/Report_Files/ProductionDetailed2011.dll");
StiReport report = null;
if (!System.IO.File.Exists(reportDllName))
{
report = new StiReport();
report.Load(reportName);
report.Compile(reportDllName);
}
else
{
report = StiReport.GetReportFromAssembly(reportDllName);
}
report.RegData("DSProductionDetailed", getReport);


StiWebViewer1.Report = report;


Thanks in Advance..

Regards..
Rohit Gupta

Problem Loading stimulsoft .web report

Posted: Tue Feb 28, 2012 10:05 am
by HighAley
Hello.
rohitigupta wrote:We are using Stimulsoft Reports.Web 2011 version for reports. i am using following code to laod reports data but after executing all statements i am not getting report. please guide me to solve this issue.

string reportName = Server.MapPath("~/Resources/Report_Files/ProductionDetailed2011.mrt");
string reportDllName = Server.MapPath("~/Resources/Report_Files/ProductionDetailed2011.dll");
StiReport report = null;
if (!System.IO.File.Exists(reportDllName))
{
report = new StiReport();
report.Load(reportName);
report.Compile(reportDllName);
}
else
{
report = StiReport.GetReportFromAssembly(reportDllName);
}
report.RegData("DSProductionDetailed", getReport);


StiWebViewer1.Report = report;
We couldn't reproduce this issue.
Please, describe your problem more detailed. Either you get blank report or you get headers in your report without data.

Thank you.