Server Error in '/' Application.

The given key was not present in the dictionary.

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.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

Source Error:


Line 3:  <%
Line 4:  
Line 5:      string brand = fun.checkExist(brandList, productDetails["DATA4"]);
Line 6:  	string brandlogo = fun.checkExist(brandLogoList, productDetails["DATA4"]);
Line 7:      string origin = fun.checkExist(originList, productDetails["DATA8"]);

Source File: c:\website\PLC - Website\tch\products\details.aspx    Line: 5

Stack Trace:


[KeyNotFoundException: The given key was not present in the dictionary.]
   System.ThrowHelper.ThrowKeyNotFoundException() +36
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +10402245
   ASP.tch_products_details_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\website\PLC - Website\tch\products\details.aspx:5
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115
   System.Web.UI.Page.Render(HtmlTextWriter writer) +38
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4240


Version Information: Microsoft .NET Framework Version:2.0.50727.8806; ASP.NET Version:2.0.50727.8762