Global Page Error

Sequence contains no elements

Return to the Home Page System.InvalidOperationException: Sequence contains no elements at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00010] in <5b415632df1f4365ae2242b1a257bb5b>:0 at ecom.web.Controllers.ProductsController.Index (ecom.core.Models.ProductSearch productSearch) [0x0008b] in <13eaa969ac76456788f69849e7878200>:0 at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,System.Web.Mvc.ControllerBase,object[]) at System.Web.Mvc.ActionMethodDispatcher.Execute (System.Web.Mvc.ControllerBase controller, System.Object[] parameters) [0x00000] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.ReflectedActionDescriptor.Execute (System.Web.Mvc.ControllerContext controllerContext, System.Collections.Generic.IDictionary`2[TKey,TValue] parameters) [0x00079] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor, System.Collections.Generic.IDictionary`2[TKey,TValue] parameters) [0x00000] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.ControllerActionInvoker+<>c__DisplayClass15.b__12 () [0x00014] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter (System.Web.Mvc.IActionFilter filter, System.Web.Mvc.ActionExecutingContext preContext, System.Func`1[TResult] continuation) [0x00073] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.ControllerActionInvoker+<>c__DisplayClass15+<>c__DisplayClass17.b__14 () [0x00000] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter (System.Web.Mvc.IActionFilter filter, System.Web.Mvc.ActionExecutingContext preContext, System.Func`1[TResult] continuation) [0x00073] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.ControllerActionInvoker+<>c__DisplayClass15+<>c__DisplayClass17.b__14 () [0x00000] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter (System.Web.Mvc.IActionFilter filter, System.Web.Mvc.ActionExecutingContext preContext, System.Func`1[TResult] continuation) [0x00073] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.ControllerActionInvoker+<>c__DisplayClass15+<>c__DisplayClass17.b__14 () [0x00000] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters (System.Web.Mvc.ControllerContext controllerContext, System.Collections.Generic.IList`1[T] filters, System.Web.Mvc.ActionDescriptor actionDescriptor, System.Collections.Generic.IDictionary`2[TKey,TValue] parameters) [0x00066] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.ControllerActionInvoker.InvokeAction (System.Web.Mvc.ControllerContext controllerContext, System.String actionName) [0x000d2] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.Controller.ExecuteCore () [0x00023] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.ControllerBase.Execute (System.Web.Routing.RequestContext requestContext) [0x00039] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute (System.Web.Routing.RequestContext requestContext) [0x00000] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.MvcHandler+<>c__DisplayClass6+<>c__DisplayClassb.b__5 () [0x00016] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.Async.AsyncResultWrapper+<>c__DisplayClass1.b__0 () [0x00000] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at (wrapper delegate-invoke) System.Func`1[System.Web.Mvc.Async.AsyncVoid].invoke_TResult() at System.Web.Mvc.Async.AsyncResultWrapper+<>c__DisplayClass8`1[TResult].b__7 (System.IAsyncResult _) [0x00000] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at (wrapper delegate-invoke) System.Web.Mvc.Async.EndInvokeDelegate`1[System.Web.Mvc.Async.AsyncVoid].invoke_TResult_IAsyncResult(System.IAsyncResult) at System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResult`1[TResult].End () [0x00029] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.Async.AsyncResultWrapper.End[TResult] (System.IAsyncResult asyncResult, System.Object tag) [0x00007] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.Async.AsyncResultWrapper.End (System.IAsyncResult asyncResult, System.Object tag) [0x00000] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.MvcHandler+<>c__DisplayClasse.b__d () [0x00000] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.SecurityUtil.b__0 (System.Action f) [0x00000] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust (System.Action action) [0x00006] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.MvcHandler.EndProcessRequest (System.IAsyncResult asyncResult) [0x0000d] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest (System.IAsyncResult result) [0x00000] in <3cff62e5ef214e58897fd0f1eafd3beb>:0 at System.Web.HttpApplication.async_handler_complete_cb (System.IAsyncResult ar) [0x00015] in <6be42e17951b438eaaf58a9aa197fc37>:0