пятница, 8 февраля 2013 г.

как создать свой творческий проект

System.Web.WebPages.WebPageBase.PopContext() +262

System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +66

System.Web.WebPages.WebPageBase.Write(HelperResult result) +67

System.Web.WebPages.HelperResult.WriteTo(TextWriter writer) +12

System.Web.WebPages.<>c__DisplayClass7.<RenderPageCore>b__6(TextWriter writer) +102

System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +88

System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +81

System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +207

ASP._Page_Views_Shared_Ajax_cshtml.Execute() in c:\inetpub\wwwroot\Views\Shared\Ajax.cshtml:7

[NullReferenceException: Object reference not set to an instance of an object.]

Source File: c:\inetpub\wwwroot\Views\Shared\Ajax.cshtml    Line: 7

Line 8: obj.BreadCrumbs = ViewBag.BreadCrumbs;

Line 7: obj.UrlReferer = Request.UrlReferrer.AbsolutePath.ToString();

Line 6: if (ViewBag.Bread != null && ViewBag.Bread) {

Line 5: var obj = new AjaxBag();

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

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.

Object reference not set to an instance of an object.

Server Error in '/' Application.

Object reference not set to an instance of an object.

Комментариев нет:

Отправить комментарий