Server Error in '/' Application.

An item with the same key has already been added.

Description: An unhandled exception occurred.

Exception Details: System.ArgumentException: An item with the same key has already been added.

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:


[ArgumentException: An item with the same key has already been added.]
   System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) +56
   System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +15049163
   Mhc.Foundation.Web.Extensions.<>c.<ParseHours>b__3_0(Location location) in C:\workspace\mhc\sitecore-mhc.com\src\Foundation\Mhc.Foundation.Web\Extensions\LocationExtensions.cs:76
   Mhc.Extensions.EnumerableExtensions.ForEach(IEnumerable`1 enumeration, Action`1 action) in C:\workspace\mhc\sitecore-mhc.com\src\Mhc.Core\Extensions\EnumerableExtensions.cs:27
   Mhc.Foundation.Web.Extensions.LocationExtensions.ParseHours(IEnumerable`1 locations) in C:\workspace\mhc\sitecore-mhc.com\src\Foundation\Mhc.Foundation.Web\Extensions\LocationExtensions.cs:66
   Mhc.Foundation.Web.Cache.LocationCache.GetAll() in C:\workspace\mhc\sitecore-mhc.com\src\Foundation\Mhc.Foundation.Web\Cache\LocationCache.cs:43
   Mhc.Foundation.Web.Cache.LocationCache.GetStates(IEnumerable`1 locations) in C:\workspace\mhc\sitecore-mhc.com\src\Foundation\Mhc.Foundation.Web\Cache\LocationCache.cs:52
   MHCWEB.Web.Controllers.PodController.PodLocationSearch() in C:\workspace\MHC\Sitecore-MHC.com\src\MHCWEB.Web.Core\Controllers\PodController.cs:67
   lambda_method(Closure , ControllerBase , Object[] ) +87
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35
   System.Web.Mvc.<>c__DisplayClass24_0.<InvokeActionMethodWithFilters>b__0() +80
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +454
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +454
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +524


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