Base Exception:BLL.TTSLSException: The given key was not present in the dictionary.
|
|
|
|
|
#1 -
15/02/2010 21:17:21
|
Reporta abuso
|
Link permanente
|
|
Base Exception:BLL.TTSLSException: The given key was not present in the dictionary.
|
|
|
|
|
I am getting this error randomly on my web page The map does load in a pop up window, by doing refresh seem to fix this problem
It's seem like the key is not found in some cases I did google it and I found many issues with this error:
System.Collections.Generic.Dictionary`2.get_Item(TKey key)
Base Exception:BLL.TTSLSException: The given key was not present in the dictionary. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at GoogleMapPopup.LoadGoogleMapByQuery() at GoogleMapPopup.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at TTSLSPage.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
|
|
|
|
|
#2 -
17/02/2010 8:21:17
|
Reporta abuso
|
Link permanente
|
|
RE: Base Exception:BLL.TTSLSException: The given key was not present in the dictionary.
|
|
|
Hi,
the best way to solve the problem is to set the key in the web.config.
If you cannot do it, please set the key before de "Page_Load" event. For example in the OnInit Event.
Regards.
|
|
|
|
|