Object reference not set to an instance of an object.

Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred.

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

Source Error:


Line 9:      <ul class="links">
Line 10:         <li><a href="@Model.FbnGpUrl">@Html.Translate(Constants.ResourceSets.MicrositeGeneral, "FBNGP")</a></li>
Line 11:         <li@(Model.Languages.Id.ToString() != Constants.Items.Extranet.LanguagesListFrenchEnglish.ToString() && !(Model.OtherLanguagePage != null && Model.OtherLanguagePage.PageEnabled) ? " class=last" : string.Empty)>
Line 12:             <a href="@Model.ContactUsUrl">
Line 13:                 @Html.Translate(Constants.ResourceSets.MicrositeGeneral, "ContactUs")

Source File: e:\WebRoot\conseillers.fbngp.ca_v2\Views\MicrositeShared\MicrositeTopHeader.cshtml    Line: 11

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP._Page_Views_MicrositeShared_MicrositeTopHeader_cshtml.Execute() in e:\WebRoot\conseillers.fbngp.ca_v2\Views\MicrositeShared\MicrositeTopHeader.cshtml:11
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +251
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +146
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +121
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +374
   System.Web.Mvc.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17() +30
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +436
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +436
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +399

Équipe

Object reference not set to an instance of an object.

Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred.

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

Source Error:


Line 28:             </aside>
Line 29:                 
Line 30:             @if (!string.IsNullOrEmpty(Model.Branch.Address.City) && !string.IsNullOrEmpty(Model.Branch.Address.Province.Title))
Line 31:             {
Line 32:             <aside class="bloc-lowerpage">

Source File: e:\WebRoot\conseillers.fbngp.ca_v2\Views\MicrositeShared\MicrositeFooter.cshtml    Line: 30

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP._Page_Views_MicrositeShared_MicrositeFooter_cshtml.Execute() in e:\WebRoot\conseillers.fbngp.ca_v2\Views\MicrositeShared\MicrositeFooter.cshtml:30
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +251
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +146
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +121
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +374
   System.Web.Mvc.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17() +30
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +436
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +436
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +399