异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。
源错误:
行 258:行 259:@(LinesPrice.Name)行 260:@(Html.Raw(LinesPrice.Explan.Replace("src=\"/", "src=\"http://" + Request.Url.Host + "/")))行 261:行 262: 源文件: d:\qingdaoyouth\Areas\Base\Views\Lvyou\Print.cshtml 行: 260堆栈跟踪:
[NullReferenceException: 未将对象引用设置到对象的实例。]ASP._Page_Areas_Base_Views_Lvyou_Print_cshtml.Execute() in d:\qingdaoyouth\Areas\Base\Views\Lvyou\Print.cshtml:260System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +199System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +89System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +78System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) +241System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) +107System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +291System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) +13System.Web.Mvc.c__DisplayClass1c.b__19() +23System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +245System.Web.Mvc.c__DisplayClass1e.b__1b() +22System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +245System.Web.Mvc.c__DisplayClass1e.b__1b() +22System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +245System.Web.Mvc.c__DisplayClass1e.b__1b() +22System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +176System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +311System.Web.Mvc.Controller.ExecuteCore() +105System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +88System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +10System.Web.Mvc.c__DisplayClassb.b__5() +34System.Web.Mvc.Async.c__DisplayClass1.b__0() +19System.Web.Mvc.Async.c__DisplayClass8`1.b__7(IAsyncResult _) +10System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55System.Web.Mvc.c__DisplayClasse.b__d() +31System.Web.Mvc.SecurityUtil.b__0(Action f) +7System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action) +23System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +59System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9658396System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155 版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.34249