Error in Upload Silverlight Control

5 posts, 0 answers
  1. Ravi
    Ravi avatar
    104 posts
    Member since:
    Oct 2012

    Posted 20 Sep 2011 Link to this post

    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,
  2. Alex Fidanov
    Admin
    Alex Fidanov avatar
    636 posts

    Posted 21 Sep 2011 Link to this post

    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 >>

  3. DevCraft banner
  4. Ravi
    Ravi avatar
    104 posts
    Member since:
    Oct 2012

    Posted 21 Sep 2011 Link to this post

    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
  5. Ravi
    Ravi avatar
    104 posts
    Member since:
    Oct 2012

    Posted 26 Sep 2011 Link to this post

    Hi,

    Appreciate your response at the earliest.

    Thanks,
  6. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 26 Sep 2011 Link to this post

    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 >>

Back to Top
DevCraft banner