Server Error in '/' Application.

Value cannot be null.
Parameter name: source

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: source

Source Error:


Line 187:                        <li class="page-item"><a class="page-link" href="<%=Url.RouteUrlAddQueryString(PagingRoute, New With {.pagina = 1}, Request.QueryString).ToLower %>"><span class="inner">1</span></a></li>
Line 188:                        <%if grouped.Count > 1 Then%>
Line 189:                        <li class="page-item"><a class="page-link" href="<%=Url.RouteUrlAddQueryString(PagingRoute, New With {.pagina = pages.First.Key - 1}, Request.QueryString).ToLower %>"><span class="inner">&hellip;</span></a></li>
Line 190:                        <%End if %>
Line 191:                        <%end if %>

Source File: C:\IIS\Websites\Freedom.NET\recruitNow.europlanit.nl\wwwroot\Views\Shared\vacatureoverzicht.ascx    Line: 189

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: source]
   System.Linq.Enumerable.First(IEnumerable`1 source) +279
   ASP.views_shared_vacatureoverzicht_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\IIS\Websites\Freedom.NET\recruitNow.europlanit.nl\wwwroot\Views\Shared\vacatureoverzicht.ascx:189
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +169
   System.Web.Mvc.ViewPage.Render(HtmlTextWriter writer) +75
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4239


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