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.GetHomeUrl()
at DRHorton.Feature.Common.Areas.FeatureCommon.Business.Logic.MetadataLogic.<>c.<GetBreadcrumbViewModel>b__19_0(ILinkable x, Int32 index)
at System.Linq.Enumerable.<SelectIterator>d__5`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at DRHorton.Feature.Common.Areas.FeatureCommon.Business.Logic.MetadataLogic.GetBreadcrumbViewModel(Item item)
at DRHorton.Feature.Common.Areas.FeatureCommon.Business.Logic.MetadataLogic.GetMetadataViewModel()
at ASP._Page_Areas_Web_Views_Partial_MainLayout_Head_cshtml.Execute() in D:\inetpub\wwwroot\scprod-cd-1.drhorton.com\Areas\Web\Views\Partial\MainLayout\Head.cshtml:line 8
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 10
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)