Server Error in '/' Application.

Unable to find primary product with key 7341e4a9-d220-47ac-a960-339d942a47f9. Ensure that the sell online flag is set for this product.

Description: An unhandled exception occurred.

Exception Details: System.NotSupportedException: Unable to find primary product with key 7341e4a9-d220-47ac-a960-339d942a47f9. Ensure that the sell online flag is set for this product.

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:


[NotSupportedException: Unable to find primary product with key 7341e4a9-d220-47ac-a960-339d942a47f9. Ensure that the sell online flag is set for this product.]
   ASNTWeb.Domain.Services.ASNTProductService.AddPrimaryProductToGroup(ProductGroup group) +281
   ASNTWeb.Domain.Services.ASNTProductService.GroupProducts(IEnumerable`1 productsToGroup) +1302
   ASNTWeb.Domain.Services.ASNTProductService.GetProductGroupByContainedProduct(ProductWithGroup product) +392
   ASNTWeb.Web.Controllers.StoreController.GetCategoriesToDisplay(ProductWithGroup product) +320
   ASNTWeb.Web.Controllers.StoreController.ProductDetail(String productKey) +473
   lambda_method(Closure , ControllerBase , Object[] ) +127
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +264
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +39
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +124
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +727830
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +727830
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +309
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +345