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 291:
Line 292:                        Else
Line 293:                            ltlDataSource.Text = "<span>" & Global.Resources.MyResource.ShoppingCard_Table_Date & ": " & Format(CDate(SMcontent1.Content.Fields("date").FieldContent.ToString), "dd/MM/yyyy") & "</span>"
Line 294:                        End If
Line 295:

Source File: D:\_SITES\midorieditora.pt - www\_components\contents\content.ascx.vb    Line: 293

Stack Trace:


[KeyNotFoundException: The given key was not present in the dictionary.]
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +12974457
   _components_content.Page_Load(Object sender, EventArgs e) in D:\_SITES\midorieditora.pt - www\_components\contents\content.ascx.vb:293
   System.Web.UI.Control.OnLoad(EventArgs e) +79
   System.Web.UI.Control.LoadRecursive() +130
   System.Web.UI.Control.LoadRecursive() +200
   System.Web.UI.Control.LoadRecursive() +200
   System.Web.UI.Control.LoadRecursive() +200
   System.Web.UI.Control.LoadRecursive() +200
   System.Web.UI.Control.LoadRecursive() +200
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2852


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