خطای Value cannot be null بین استیمولسافت و ام وی سی
سلام ..
دوستان من میخام یک صفحه گزارش استیمولسافت رو از طریق ام وی سی نمایش بدم .
اما در این قسمت :
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 است .
نقل قول: خطای Value cannot be null بین استیمولسافت و ام وی سی
مشکل حل شد !
چون خیلی سرچ کردم و دیدم سوال خیلیا بوده گفتم بیام و بگم .
ورژن استیمولم رو تغییر دادم و اوکی شد .
از ورژن 2015.2 retail در حال حاضر استفاده میکنم .
نقل قول: خطای Value cannot be null بین استیمولسافت و ام وی سی
نقل قول:
نوشته شده توسط
Vahid Rezaei
مشکل حل شد !
چون خیلی سرچ کردم و دیدم سوال خیلیا بوده گفتم بیام و بگم .
ورژن استیمولم رو تغییر دادم و اوکی شد .
از ورژن 2015.2 retail در حال حاضر استفاده میکنم .
سلام
عزیز بی زحمت اگر امکانش هست این نسخه رو جایی آپلود کنید لینک دانلودشو بذارید
هرچی میگردم نیست یا Report.MVC ندارن یا جواب نمیدن
با تشکر
نقل قول: خطای Value cannot be null بین استیمولسافت و ام وی سی
نقل قول:
نوشته شده توسط
Vahid Rezaei
مشکل حل شد !
چون خیلی سرچ کردم و دیدم سوال خیلیا بوده گفتم بیام و بگم .
ورژن استیمولم رو تغییر دادم و اوکی شد .
از ورژن 2015.2 retail در حال حاضر استفاده میکنم .
از ورژن 2012 تا 2022 رو یبار زیر و رو کردم، آقا دمت گرم واقعا:تشویق:
نقل قول: خطای Value cannot be null بین استیمولسافت و ام وی سی
نقل قول:
نوشته شده توسط
Vahid Rezaei
مشکل حل شد !
چون خیلی سرچ کردم و دیدم سوال خیلیا بوده گفتم بیام و بگم .
ورژن استیمولم رو تغییر دادم و اوکی شد .
از ورژن 2015.2 retail در حال حاضر استفاده میکنم .
سلام اقا این ورژن رو میزاری من بدجور گیرم ممنون