public ActionResult CreateReport() { StiReport report = new StiReport(); string path = Server.MapPath("~/App_Data/Reports/Report1.mrt"); report.Load(path); return StiMvcViewer.GetReportSnapshotResult(HttpContext, report); }
Server Error in '/' Application. Value cannot be null. Parameter name: value 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: value Source Error: Line 40: string path = Server.MapPath("~/App_Data/Reports/Report1.mrt"); Line 41: report.Load(path); Line 42: return StiMvcViewer.GetReportSnapshotResult(HttpContext, report); Line 43: Line 44: } Source File: d:\ASP MVC4 Tamrin\WorkWithJavaScript\WorkWithJavaScript\Controllers\HomeController.cs Line: 42
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)