Problem Loading stimulsoft .web report

Stimulsoft Reports.WEB discussion
Post Reply
ROHIT GUPTA
Posts: 7
Joined: Mon Feb 07, 2011 5:36 am
Location: INDIA

Problem Loading stimulsoft .web report

Post 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
Attachments
1685.ProductionDetailed2011.mrt
(52.24 KiB) Downloaded 160 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Problem Loading stimulsoft .web report

Post 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.
Post Reply