Usuario anónimo  |  Ingresar  |  Regístrate
Mensaje dentro Bugs and Improvements

Base Exception:BLL.TTSLSException: The given key was not present in the dictionary.

Responder 
#1 - 15/02/2010 21:17:21 Reporta abuso | Link permanente
rperetz
Fecha de registro: 23/12/2009
4 posts en todos los foros
Base Exception:BLL.TTSLSException: The given key was not present in the dictionary.

Responder Citar
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)

Volver arriba

Respuestas
De en 15
#2 - 17/02/2010 8:21:17 Reporta abuso | Link permanente
subgurim
Fecha de registro: 18/10/2006
2003 posts en todos los foros
RE: Base Exception:BLL.TTSLSException: The given key was not present in the dictionary.

Responder Citar
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.
Volver arriba
De en 15

Powered by Subgurim.NET