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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidOperationException: Sequence contains no elements]
   System.Linq.Enumerable.First(IEnumerable`1 source) +451
   ProfessionalAdvantage.Core.ContentFinders.NewsContentFinder.TryFindContent(PublishedRequest request) +1964
   System.Linq.Enumerable.Any(IEnumerable`1 source, Func`2 predicate) +179
   Umbraco.Web.Routing.PublishedRouter.FindPublishedContent(PublishedRequest request) +230
   Umbraco.Web.Routing.PublishedRouter.FindPublishedContentAndTemplate(PublishedRequest request) +77
   Umbraco.Web.Routing.PublishedRouter.PrepareRequest(PublishedRequest request) +198
   Umbraco.Web.UmbracoInjectedModule.ProcessRequest(HttpContextBase httpContext) +432
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +223
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +213
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +91


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