Returned an Error:NOt Found,Check radupload's buffersize property remarke after deploy

3 posts, 1 answers
  1. Dario
    Dario avatar
    61 posts
    Member since:
    Apr 2011

    Posted 29 Nov 2011 Link to this post

    Hi to all,
    I have a SL4 project with web project, on debug by VS2010 all are ok.
    After deploy into IIS (of another server, but in domain), I try to upload a file by site deployed, show me an error "Error:NOt Found,Check radupload's buffersize property remarke..."
    This is in markup language:
    <telerik:RadUpload Grid.Row="1"
                       MaxFileCount="3" MaxFileSize="3000000" 
                       OverwriteExistingFiles="True" UploadServiceUrl="/Security/UploadHandler.ashx"
                       IsDeleteEnabled="True" BufferSize="250000" MaxUploadSize="3000000"
                       IsMultiselect="True" IsAppendFilesEnabled="True"
                       FileUploadStarting="UploadAttaches_FileUploadStarting" />

    I added on web.config security folder, I created UploadHandler.ashx and TempUpload folder.
        <sessionState timeout="480"/>
        <httpRuntime  maxRequestLength="3000000" executionTimeout="3600" />
  2. Answer
    Tina Stancheva
    Tina Stancheva avatar
    3298 posts

    Posted 02 Dec 2011 Link to this post

    Hello Dario,

    This error suggests that the Silverlight application may not be able to find the UploadHandler that should handle the upload requests. This is why I wanted to ask you to check if the path to the Telerik.Windows.RadUploadHandler.dll exists on the IIS and can be accessed. Also please make sure that UploadHandler.ashx file can also be reached and your SL application have access to it.

    You can check the deployment package of the application as well to make sure that the correct version of the Telerik.Windows.RadUploadHandler.dll is in it.

    Also in certain scenarios our clients had issues with finding the UploadHandler and  thay managed to get over these issues by setting the handler's url like so:

    string sBaseUrl = Application.Current.Host.Source.ToString().ToLower();
    int iIndexOfClientBin = sBaseUrl.IndexOf("/clientbin");
    sBaseUrl = sBaseUrl.Substring(0, iIndexOfClientBin);
    radUpload.UploadServiceUrl = sBaseUrl + "/SampleUploadHandler.ashx";

    Finally you can examine this RadUpload troubleshooting article as it may also help you in getting over your issue. Please let me know how it goes.

    All the best,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 28 Feb 2013 Link to this post

    I'd just want to add that you can also get this error if you don't have the correct version of the Telerik.Windows.RadUploadHandler.dll file.  
Back to Top