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

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

2 Answers 152 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Dario
Top achievements
Rank 2
Dario asked on 29 Nov 2011, 12:03 PM
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"
                   HorizontalAlignment="Left"
                   x:Name="UploadAttaches"
                   MaxFileCount="3" MaxFileSize="3000000" 
                   OverwriteExistingFiles="True" UploadServiceUrl="/Security/UploadHandler.ashx"
                   IsDeleteEnabled="True" BufferSize="250000" MaxUploadSize="3000000"
                   IsMultiselect="True" IsAppendFilesEnabled="True"
                   TargetFolder="/Security/TempUpload" 
                   FilesSelected="UploadAttaches_FilesSelected" 
                   FileUploaded="UploadAttaches_FileUploaded"
                   FileUploadStarting="UploadAttaches_FileUploadStarting" />

I added on web.config security folder, I created UploadHandler.ashx and TempUpload folder.
<system.web>
    <sessionState timeout="480"/>
    <httpRuntime  maxRequestLength="3000000" executionTimeout="3600" />
<......>

2 Answers, 1 is accepted

Sort by
0
Accepted
Tina Stancheva
Telerik team
answered on 02 Dec 2011, 10:39 AM
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 >>

0
danparker276
Top achievements
Rank 2
answered on 01 Mar 2013, 12:18 AM
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.  
Tags
Upload
Asked by
Dario
Top achievements
Rank 2
Answers by
Tina Stancheva
Telerik team
danparker276
Top achievements
Rank 2
Share this question
or