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

Problem in File Uploading

1 Answer 101 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Velkumar
Top achievements
Rank 2
Velkumar asked on 22 Feb 2012, 10:32 AM
Hi,
            I have a rad AsyncUpload  and a rad button in my page. On the postback of the RadButton click I saved the uploaded files in DB. Now my problem when I select the files using AsyncUpload ,  the files didnot uploaded in the client side. Also  exceptions has been occurred.

The Exception is.

Error: uncaught exception: Error while uploading, [HttpWebRequest_WebException_RemoteServer]
Arguments: NotFound
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.0.61118.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer


Error: Unhandled Error in Silverlight Application [HttpWebRequest_WebException_RemoteServer]
Arguments: NotFound
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.0.61118.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer   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__DisplayClass19.<InvokeGetResponseCallback>b__17(Object state2)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Source File: http://pc120:48888/_layouts/Demo.aspx
Line: 0

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 24 Feb 2012, 02:22 PM
Hi,

As it appears there is a problem with the Silverlight module of the RadAsyncUpload, in order to disable this module please add the following line of java script after the declaration of your  RadScriptManager/ScriptManager and before the one of the RadAsyncUpload:
<script type="text/javascript">
        Telerik.Web.UI.RadAsyncUpload.Modules.Silverlight.isAvailable = function() { return false; };
    </script>


All the best,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
AsyncUpload
Asked by
Velkumar
Top achievements
Rank 2
Answers by
Dimitar Terziev
Telerik team
Share this question
or