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

Error in Upload Silverlight Control

4 Answers 67 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Ravi
Top achievements
Rank 1
Ravi asked on 20 Sep 2011, 09:54 AM
Hi,

I have been using the upload control for a while in one of my project. recently in one of my project the end-user came across an exception as attached. I dont have much details on this. Can you please let me know the cause of the issue. this issue was automatically gone away after some time.

inorder to make sure it will not happen again, i would like to know the reason for the same.

<telerik:RadExpander.Content>
                        <telerik:RadUpload x:Name="radUpload" IsDeleteEnabled="True" IsPauseEnabled="False" MaxFileCount="1" VerticalAlignment="Top"                        
                        telerik:StyleManager.Theme="Office_Silver"
                        IsMultiselect="False"                        
                        AllowDrop="true" Width="340"
                        Filter="Excel Files (*.xls;*.xlsx)|*.xls;*.xlsx|All Files(*.*)|*.*"
                        FilterIndex="0"
                        IsAutomaticUpload="False"
                        OverwriteExistingFiles="True"                       
                        TargetFolder="MyStorageFolder"
                        UploadFinished="radUpload_UploadFinished"                        
                        FilesSelected="radUpload_FilesSelected"
                        UploadStarted="radUpload_UploadStarted"
                        FileUploadStarting="radUpload_FileUploadStarting"/>
                    </telerik:RadExpander.Content>
                </telerik:RadExpander>

I am  using 2011.1.315.1040 version.

Thanks,

4 Answers, 1 is accepted

Sort by
0
Alex Fidanov
Telerik team
answered on 21 Sep 2011, 09:11 AM
Hi David,

The error shows that the SL Upload control is not able to resolve the server side handler. First, you need to make sure that the path to the handler is correct. Also, if you are using a buffer size over 2mb that might be another cause of this issue. Moreover, you can look at the Troubleshooting article for the upload control here.

Best wishes,
Alex Fidanov
the Telerik team

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

0
Ravi
Top achievements
Rank 1
answered on 21 Sep 2011, 03:24 PM
Alex,

I path of the server handler is configured properly and i am able to get the JSON response when i enter the URL in the browser.

Which buffersize are you referring to and if you are refferring to the RadUpload bufferSize, I have not mentioned it. What is the default bufferSize?

Thanks
0
Ravi
Top achievements
Rank 1
answered on 26 Sep 2011, 10:40 AM
Hi,

Appreciate your response at the earliest.

Thanks,
0
Tina Stancheva
Telerik team
answered on 26 Sep 2011, 03:58 PM
Hello David,

If you haven't defined a BufferSize for the RadUpload control, this means that the issue is caused by something else. Unfortunately we cannot be sure what might be causing it as we cannot reproduce it locally and further investigate it. This is why if you can give us more details about the scenario in which the control threw the exception that would greatly help us. Also, any information about the specifications of the server hosting the RadUploadHandler might also be helpful - the configuration of the server might have caused the issue if the path to the handler was temporary unavailable.

I am sorry that we cannot provide you with more information, but unless we can reproduce the issue we won't be able to look for the cause.

Best wishes,
Tina Stancheva
the Telerik team

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

Tags
Upload
Asked by
Ravi
Top achievements
Rank 1
Answers by
Alex Fidanov
Telerik team
Ravi
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or