Problem in File Uploading

2 posts, 0 answers
  1. Velkumar
    Velkumar avatar
    85 posts
    Member since:
    Apr 2011

    Posted 22 Feb 2012 Link to this post

    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
  2. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 24 Feb 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top