iam use mvc5.2 and stimulsoft 2014.3 when run this see error: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: key
Source Error:
Line 7: Line 8:
@Html.Stimulsoft().RenderMvcViewerScripts() Line 9:
@Html.Stimulsoft().StiMvcViewer("MyViewr", new StiMvcViewerOptions() Line 10: { Line 11: ActionGetReportSnapshot = "FromLoadFileReport",
@Html.Stimulsoft().StiMvcViewer("MyViewr", new StiMvcViewerOptions()
{
ActionGetReportSnapshot = "FromLoadFileReport",
ActionViewerEvent = "ViewerEvent",
Width = Unit.Percentage(100)
//Theme = StiTheme.Office2007Black,
//ActionPrintReport = "PrintReport",
//ActionExportReport = "ExportReport",
//ToolbarBackgroundColor = System.Drawing.Color.Silver
StiReport report = new StiReport();
string Path = Server.MapPath("~" + ("/Web/Areas/RepUser/HistoryJob.mrt"));
report.Load(Path);
report.Compile();
return StiMvcViewer.GetReportSnapshotResult(HttpContext, report);