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 368:        foreach (string prop in DownloadsProps)
Line 369:        {
Line 370:            Value = Util.GetAllNotEmpty(_ItemInfo.FieldDisplay(prop, _Language, ""), ',');
Line 371:            if (Value.Count == 0) continue;
Line 372:            if (Value.Count == 1) // only 1 file => no need to zip

Source File: d:\Sites\Bold\PDS.aspx.cs    Line: 370

Stack Trace:


[KeyNotFoundException: The given key was not present in the dictionary.]
   System.ThrowHelper.ThrowKeyNotFoundException() +38
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +54
   CopECommerce.cat_items.GetFieldDisplay(propertyattribute pat, String Language, String Separator) +986
   CopECommerce.cat_items.FieldDisplay(String property, String Language, String DefaultValue, String Separator) +683
   PDS.RenderContent() in d:\Sites\Bold\PDS.aspx.cs:370
   PDS.Page_Load(Object sender, EventArgs e) in d:\Sites\Bold\PDS.aspx.cs:74
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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