There was an error rendering view Default:
System.InvalidOperationException: Error while rendering view: '/Areas/Web/Views/Layouts/MainLayout.cshtml' (model: 'DRHorton.Web.Areas.Web.Models.LayoutModel, DRHorton.Web').
---> System.ArgumentNullException: Value cannot be null.
Parameter name: targetSite
at Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName)
at Sitecore.Links.UrlBuilders.BaseUrlBuilder`1.ResolveServer(SiteInfo targetSite)
at Sitecore.Links.UrlBuilders.ItemUrlBuilder.AddServer(UrlBuildModel model, ItemUrlBuilderOptions options)
at Sitecore.Links.UrlBuilders.BaseUrlBuilder`1.BuildUrl(Item item, TOptions options)
at DRHorton.Feature.Common.Areas.FeatureCommon.Business.Logic.MetadataLogic.GetCanonicalUrl()
at DRHorton.Feature.Common.Areas.FeatureCommon.Business.Logic.MetadataLogic.GetMetadataViewModel()
at ASP._Page_Areas_Web_Views_Partial_MainLayout_BodyBottomScripts_cshtml.Execute() in D:\inetpub\wwwroot\scprod-cd-1.drhorton.com\Areas\Web\Views\Partial\MainLayout\BodyBottomScripts.cshtml:line 31
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper htmlHelper, String partialViewName, Object model)
at ASP._Page_Areas_Web_Views_Layouts_MainLayout_cshtml.Execute() in D:\inetpub\wwwroot\scprod-cd-1.drhorton.com\Areas\Web\Views\Layouts\MainLayout.cshtml:line 28
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)
at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)
--- End of inner exception stack trace ---
at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)
at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)
at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args)
at DRHorton.Foundation.Kernel.Pipelines.RenderRendering.HandleRenderingsExceptions.Process(RenderRenderingArgs args)