Server Error in '/' Application.

Collection does not contain corresponding item for key '77'

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.Exception: Collection does not contain corresponding item for key '77'

Source Error:


Line 238:            double dblPrice = 0;
Line 239:            // ++ Arjun 29 May 2009
Line 240:            CatalogProductSellPrice objPrice = CatalogProductPriceCachePool.GetSafeCatalogProductSellPrice(CatalogProduct.CatalogID, CatalogProduct.CatalogProductID, 0, CatalogProduct.SellPrice);
Line 241:            if (objPrice.IsValidSellPrice)
Line 242:                dblPrice = objPrice.SellPrice;

Source File: c:\_DDD\Development\CommerceSite\Dutch-Dog.com\UserControls\CatalogProductDetail.ascx.cs    Line: 240

Stack Trace:


[Exception: Collection does not contain corresponding item for key '77']
   LionShare.OrderCore.CommerceSite.BussinessFacade.SupportedCountryXCatalogItemCollection.get_Item(String CatalogID) in D:\Development\1006\CommerceSite\Code\BussinessFacade\BO\SupportedCountryXCatalog\SupportedCountryXCatalog.cs:339
   LionShare.OrderCore.CommerceSite.BussinessFacade.CatalogProductPriceCachePool.GetSafeCatalogProductSellPrice(Int32 CatalogID, Int32 CatalogProductID, Int32 CatalogProductXVariantID, Double DefaultSellPrice) in D:\Development\1006\CommerceSite\Code\BussinessFacade\BO\CatalogProduct\Misc\CatalogProductPriceCachePool.cs:52
   LionShare.CommerceSite.CommerceSite.Web.UserControls._CatalogProductDetail.FillData() in c:\_DDD\Development\CommerceSite\Dutch-Dog.com\UserControls\CatalogProductDetail.ascx.cs:240
   LionShare.CommerceSite.CommerceSite.Web.UserControls._CatalogProductDetail.Page_Load(Object sender, EventArgs e) in c:\_DDD\Development\CommerceSite\Dutch-Dog.com\UserControls\CatalogProductDetail.ascx.cs:73
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062