Server Error in '/' Application. Sequence contains no elements 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.InvalidOperationException: Sequence contains no elements Source Error: Line 10: <div class="path"> Line 11: <% var childrenNames = Model.Select(item => item.Title); Line 12: var last = childrenNames.Last(); Line 13: var senzaUltimo = childrenNames.Where(t => t != last); Line 14: var list = String.Join(" > ", senzaUltimo.Select(item => String.Format(@"<span class='brdcmb'>{0}</span>", item)).ToArray()); Source File: d:\inetpub\btsr-coil\Views\Navigation\Breadcrumb.ascx Line: 12 Stack Trace: [InvalidOperationException: Sequence contains no elements] System.Linq.Enumerable.Last(IEnumerable`1 source) +2614962 ASP.views_navigation_breadcrumb_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\inetpub\btsr-coil\Views\Navigation\Breadcrumb.ascx:12 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8 System.Web.UI.Control.Render(HtmlTextWriter writer) +10 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +128 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8 System.Web.Mvc.ViewPage.Render(HtmlTextWriter writer) +53 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1386 Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408