My Bag
a
'
4
4.5
5
5.5
6
6.5
7
7.5
8
8.5
9
9.5
10
10.5
11
12
13
35
36
37
38
39
40
41
42
43

 


An item with the same key has already been added.

Server Error in '/' Application.

An item with the same key has already been added.

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.ArgumentException: An item with the same key has already been added.

Source Error:


Line 2:      Dim theDisplay As MvcHtmlString
Line 3:      Dim theFactory As PeltzWidgets.PeltzWidgets.Factory.Factory = ViewData("theFactory")
Line 4:      aWidget = theFactory.populateWidget(ViewData("SomeWidgetID"))
Line 5:      theDisplay = New MvcHtmlString(aWidget.asHTML())
Line 6:  End Code

Source File: D:\vsites\PeltzWeb2013\Views\Shared\PartialSearchMenu.vbhtml    Line: 4

Stack Trace:


[ArgumentException: An item with the same key has already been added.]
   System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +14175616
   PeltzWidgets.DataAdapter.Global.Modules.Width._FillWidthInfo() +481
   PeltzWidgets.DataAdapter.Global.Modules.Width.getWidthKeyList(String delimiter, String excludeList) +130
   PeltzWidgets.PeltzWidgets.Factory.Objects.Static_List_Data_Widget._getStaticLists() +229
   PeltzWidgets.PeltzWidgets.Factory.Objects.CustomDataWidgetFactory.setAnObject(Dictionary`2& somePairs, Parameters& someParameters, Elements1& someElements, Data_Widget& someWidget) +579
   PeltzWidgets.PeltzWidgets.Factory.Elements1._getWidget(Element anElement, Dictionary`2 somePairs) +2077
   PeltzWidgets.PeltzWidgets.Factory.Elements1.getWidget(Int32 aParentId, Parameters& Parameters) +218
   PeltzWidgets.PeltzWidgets.Factory.Elements1._fillNestledWidget(Widget& aWidget, Dictionary`2 somePairs) +239
   PeltzWidgets.PeltzWidgets.Factory.Elements1._getWidget(Element anElement, Dictionary`2 somePairs) +921
   PeltzWidgets.PeltzWidgets.Factory.Elements1.getWidget(Int32 aParentId, Parameters& Parameters) +218
   PeltzWidgets.PeltzWidgets.Factory.Elements1._setChildrenWidgets(Widget& aWidget, Element& anElement) +26
   PeltzWidgets.PeltzWidgets.Factory.Elements1._getWidget(Element anElement, Dictionary`2 somePairs) +2255
   PeltzWidgets.PeltzWidgets.Factory.Elements1.getWidget(Int32 aParentId, Parameters& Parameters) +218
   PeltzWidgets.PeltzWidgets.Factory.Factory.populateWidget(Int32 widgetID) +449
   ASP._Page_Views_Shared_PartialSearchMenu_vbhtml.Execute() in D:\vsites\PeltzWeb2013\Views\Shared\PartialSearchMenu.vbhtml:4
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +125
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +196
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +380
   PeltzWebsite2013.PeltzWebsite2013.MainController.ShoeList(String Gender, String Vendor, String MajorCats, String MinorCats, String SpecialShoes) +6484
   lambda_method(Closure , ControllerBase , Object[] ) +351
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +274
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +39
   System.Web.Mvc.Async.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33() +120
   System.Web.Mvc.Async.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() +452
   System.Web.Mvc.Async.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult) +15
   System.Web.Mvc.Async.<>c__DisplayClass2a.<BeginInvokeAction>b__20() +33
   System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +240
   System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +28
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
   System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +42
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288


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