سلام ..

دوستان من میخام یک صفحه گزارش استیمولسافت رو از طریق ام وی سی نمایش بدم .

اما در این قسمت :

return StiMvcViewer.GetReportSnapshotResult(HttpContext, report)


دچار خطای زیر میشم :

Value cannot be null.\r\nParameter name: value


کد قسمت Cshtml :


@using System.Web.UI.WebControls;
@using Stimulsoft.Report.Mvc;
<div>


@Html.Stimulsoft().RenderMvcViewerFxScripts()
@Html.Stimulsoft().StiMvcViewerFx(new StiMvcViewerFxOptions()
{
ActionGetReportSnapshot = "FromLoadFileReport",
Width = Unit.Percentage(100),
Theme = StiMvcViewerFxOptions.Themes.Office2013,
ActionExportReport = "ExportReport",
BackgroundColor = System.Drawing.Color.Silver,


})
</div>


کد قسمت کنترلر :


public ActionResult FromLoadFileReport()
{
StiReport report = new StiReport();
string Path = Server.MapPath("~" + ("//Report//test.mrt"));
report.Load(Path);
report.Compile();
return StiMvcViewer.GetReportSnapshotResult(HttpContext, report);
}


ورژن ام وی سی من 5.2.3 هست و استیمول هم 2014.3 است .