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 456:
Line 457:                    // ++ Arjun 29 May 2009
Line 458:                    CatalogProductSellPrice objPrice = CatalogProductPriceCachePool.GetSafeCatalogProductSellPrice(objCatalogProduct.CatalogID, objCatalogProduct.CatalogProductID, 0, objCatalogProduct.SellPrice);
Line 459:                    if (objPrice.IsValidSellPrice)
Line 460:                    {

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

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.PopulateRelatedProducts(CatalogRelatedProductCollection objCatalogRelatedProductCollection) in c:\_DDD\Development\CommerceSite\Dutch-Dog.com\UserControls\CatalogProductDetail.ascx.cs:458
   LionShare.CommerceSite.CommerceSite.Web.UserControls._CatalogProductDetail.FillRelatedProductList() in c:\_DDD\Development\CommerceSite\Dutch-Dog.com\UserControls\CatalogProductDetail.ascx.cs:398
   LionShare.CommerceSite.CommerceSite.Web.UserControls._CatalogProductDetail.FillData() in c:\_DDD\Development\CommerceSite\Dutch-Dog.com\UserControls\CatalogProductDetail.ascx.cs:297
   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