This is a migrated thread and some comments may be shown as answers.

AsyncUpload gives exception "The given key was not present in the dictionary"

0 Answers 56 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Muhahammad
Top achievements
Rank 1
Muhahammad asked on 16 Dec 2012, 10:35 AM
we are actually facing a problem when ever uploading occasionaly and we don't know the cause, please help us in this, below is a description of the exception we have.

The given key was not present in the dictionary.   at System.ThrowHelper.ThrowKeyNotFoundException()     at System.Collections.Generic.Dictionary`2.get_Item(TKey key)     at Telerik.Web.UI.AsyncUpload.AsyncUploadClientStateConverter.Deserialize(IDictionary`2 dictionary, Type type, JavaScriptSerializer serializer)     at System.Web.Script.Serialization.ObjectConverter.ConvertDictionaryToObject(IDictionary`2 dictionary, Type type, JavaScriptSerializer serializer, Boolean throwOnError, Object& convertedObject)     at System.Web.Script.Serialization.ObjectConverter.ConvertObjectToTypeInternal(Object o, Type type, JavaScriptSerializer serializer, Boolean throwOnError, Object& convertedObject)     at System.Web.Script.Serialization.ObjectConverter.ConvertObjectToTypeMain(Object o, Type type, JavaScriptSerializer serializer, Boolean throwOnError, Object& convertedObject)     at System.Web.Script.Serialization.ObjectConverter.ConvertObjectToType(Object o, Type type, JavaScriptSerializer serial

Stack Trace: 
   at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at ASP.attachments_aspx.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

No answers yet. Maybe you can help?

Tags
AsyncUpload
Asked by
Muhahammad
Top achievements
Rank 1
Share this question
or