brussels.embassy.gov.sr Open in urlscan Pro
200.2.185.23  Public Scan

URL: http://brussels.embassy.gov.sr/
Submission: On February 08 via api from FR — Scanned from FR

Form analysis 0 forms found in the DOM

Text Content

SERVER ERROR IN '/' APPLICATION.

--------------------------------------------------------------------------------


VALUE CANNOT BE NULL.
PARAMETER NAME: CONTENT

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.

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: content

Source Error:




Line 2:  @{
Line 3:      IPublishedContent sliderContainer = Model.Content.Children("Slider").FirstOrDefault();
Line 4:      IEnumerable<IPublishedContent> slider = sliderContainer.Children();
Line 5:  
Line 6:      if(sliderContainer != null && slider != null && slider.Any())


Source File:
c:\inetpub\wwwroot\ambassade_brussels\Views\MacroPartials\Home\homeSlideShow.cshtml
   Line: 4

Stack Trace:




[ArgumentNullException: Value cannot be null.
Parameter name: content]
   Umbraco.Web.PublishedContentExtensions.Children(IPublishedContent content) +95
   ASP._Page_Views_MacroPartials_Home_homeSlideShow_cshtml.Execute() in c:\inetpub\wwwroot\ambassade_brussels\Views\MacroPartials\Home\homeSlideShow.cshtml:4
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +126
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +125
   Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) +140
   Umbraco.Web.Mvc.ControllerExtensions.RenderViewResultAsString(ControllerBase controller, ViewResultBase viewResult) +226
   Umbraco.Web.Macros.PartialViewMacroEngine.Execute(MacroModel macro, IPublishedContent content) +705
   umbraco.macro.LoadPartialViewMacro(MacroModel macro) +190
   umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId) +3626
   Umbraco.Web.UmbracoComponentRenderer.RenderMacro(macro m, IDictionary`2 parameters, page umbracoPage) +484
   ASP._Page_Views_Home_cshtml.<Execute>b__0() in c:\inetpub\wwwroot\ambassade_brussels\Views\Home.cshtml:7
   System.Web.WebPages.<>c__DisplayClass7.<RenderSection>b__5(TextWriter tw) +211
   ASP._Page_Views_AdSiteMaster_cshtml.Execute() in c:\inetpub\wwwroot\ambassade_brussels\Views\AdSiteMaster.cshtml:78
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +126
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +125
   System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +209
   System.Web.WebPages.WebPageBase.PopContext() +162
   Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) +140
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +380
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +109
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +890
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +890
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +890
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +97
   System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +241
   System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +29
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +111
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +19
   System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +51
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +111
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288



--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET
Version:4.0.30319.34009