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 161:                            {
Line 162:                                Dictionary<int, string> DictMovieExhibitor = ExhibitorMethod.GetActiveExhibitorDictionary();
Line 163:                                divFilmFestivalTitle.InnerHtml += " (" + DictMovieExhibitor[ffm.filmfestival_exhibitor_id] + ")";
Line 164:                            }
Line 165:                        }

Source File: c:\Inetpub\vhosts\incinemas.sg\beta\details.aspx.cs    Line: 163

Stack Trace:


[KeyNotFoundException: The given key was not present in the dictionary.]
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +12601411
   details.bindData() in c:\Inetpub\vhosts\incinemas.sg\beta\details.aspx.cs:163
   details.Page_Load(Object sender, EventArgs e) in c:\Inetpub\vhosts\incinemas.sg\beta\details.aspx.cs:43
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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