Server Error in '/' Application.

The given key was not present in the dictionary.

Description: An unhandled exception occurred.

Exception Details: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

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:


[KeyNotFoundException: The given key was not present in the dictionary.]
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +13763335
   Ignition.Domain.Framework.Collections.RefreshingEntityCollection`1.get_Item(NetForumId id) +37

[IgnitionEntityNotFoundException: Entity with id f9c27e92-a0f4-4d90-afea-45a9fbfe6bab not found.]
   Ignition.Domain.Framework.Collections.RefreshingEntityCollection`1.get_Item(NetForumId id) +169
   ASNTWeb.Domain.Repositories.ASNTProductRepository.AddPrimaryProductToGroup(ProductGroup group) in c:\Users\Jason Mansfield\Documents\Source Control\ASNT\ASNTWeb\ASNTWeb.Domain\Repositories\ASNTProductRepository.cs:126
   ASNTWeb.Domain.Repositories.ASNTProductRepository.GroupProducts(IEnumerable`1 productsToGroup) in c:\Users\Jason Mansfield\Documents\Source Control\ASNT\ASNTWeb\ASNTWeb.Domain\Repositories\ASNTProductRepository.cs:116
   ASNTWeb.Domain.Repositories.ASNTProductRepository.GetProductsByCategoryCodeGrouped(String categoryCode) in c:\Users\Jason Mansfield\Documents\Source Control\ASNT\ASNTWeb\ASNTWeb.Domain\Repositories\ASNTProductRepository.cs:56
   ASNTWeb.Web.Controllers.StoreController.Browse(String category, Int32 page) in c:\Users\Jason Mansfield\Documents\Source Control\ASNT\ASNTWeb\ASNTWeb.Web\Controllers\StoreController.cs:69
   lambda_method(Closure , ControllerBase , Object[] ) +194
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +268
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +77
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +432
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +432
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +329