I implemented a basic custom handler similar to the Custom Handler demo on this page:
http://demos.telerik.com/aspnet-ajax/upload/examples/async/imageuploader/defaultcs.aspx?product=asyncupload
However every time I try to upload a file the visual studio debugger pops up a couple different client errors and takes me a spot in the telerik.web.ui.webresoure_2.axd dynamic file to a specific line:
if(!e){throw"Error while uploading, "+i;
The pop error messages are:
Microsoft JScript runtime error: Unhandled Error in Silverlight Application The remote server returned an error: NotFound. at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at UploadPrototype.MainPage.ProcessResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassd.<InvokeGetResponseCallback>b__b(Object state2)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
AND
Microsoft JScript runtime error: Unhandled Error in Silverlight Application Failed to Invoke: _onSilverlightError. at System.Windows.Browser.ScriptObject.Invoke(String name, Object[] args)
at UploadPrototype.EventManager.SilverlightError(String message, Int32 index)
at UploadPrototype.MainPage.<>c__DisplayClass1f.<ProcessResponse>b__18()
Some help please.
![]()
http://demos.telerik.com/aspnet-ajax/upload/examples/async/imageuploader/defaultcs.aspx?product=asyncupload
However every time I try to upload a file the visual studio debugger pops up a couple different client errors and takes me a spot in the telerik.web.ui.webresoure_2.axd dynamic file to a specific line:
if(!e){throw"Error while uploading, "+i;
The pop error messages are:
Microsoft JScript runtime error: Unhandled Error in Silverlight Application The remote server returned an error: NotFound. at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at UploadPrototype.MainPage.ProcessResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassd.<InvokeGetResponseCallback>b__b(Object state2)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
AND
Microsoft JScript runtime error: Unhandled Error in Silverlight Application Failed to Invoke: _onSilverlightError. at System.Windows.Browser.ScriptObject.Invoke(String name, Object[] args)
at UploadPrototype.EventManager.SilverlightError(String message, Int32 index)
at UploadPrototype.MainPage.<>c__DisplayClass1f.<ProcessResponse>b__18()
Some help please.