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 36:     protected override void Page_Load(object sender, System.EventArgs e)
Line 37:     {
Line 38:         base.Page_Load(sender, e);
Line 39:         AjaxPro.Utility.RegisterTypeForAjax(typeof(LotDetail));
Line 40:         ImageControl.Application = 1;

Source File: \\fs01\webcontent\wwwroot\anderson-auction.com\wwwroot\LotDetail.aspx.cs    Line: 38

Stack Trace:


[ArgumentException: An item with the same key has already been added.]
   System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) +52
   System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +165
   System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) +11
   ObjectCache.AddObject(ObjectType type, Int32 id, Object obj) +133
   Currency.Get() +792
   Currency.Get(Int32 id) +216
   Currency.Default() +217
   WebUser..ctor() +673
   WebUser.GetCurrent() +63
   LotDetailBase.Page_Load(Object sender, EventArgs e) +403
   LotDetail.Page_Load(Object sender, EventArgs e) in \\fs01\webcontent\wwwroot\anderson-auction.com\wwwroot\LotDetail.aspx.cs:38
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


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