Device Not Ready Error

2 posts, 0 answers
  1. Geoff
    Geoff avatar
    6 posts
    Member since:
    Mar 2013

    Posted 17 May 2013 Link to this post

    When trying to process the uploaded files for the RadAsyncUploader control I am getting an error "The device is not ready".

    Does anyone have any ideas as to what may be causing this?

    For Each file As Telerik.Web.UI.UploadedFile In Me.Uploader.UploadedFiles
                    Dim targetFile = String.Format("{0}\{1}"targetFolderfile.GetName)

    I am using the latest version of the AsyncUploader control.
    targetFile is a validly formed filename and the user has write access to the target folder.
  2. Hristo Valyavicharski
    Hristo Valyavicharski avatar
    975 posts

    Posted 21 May 2013 Link to this post

    Hi Geoff,

    This faced error suggests that the uploaded file is being used by another application. Do you open it from the Temporary Folder at the time when UploadedFile event is fired? file.SaveAs() method moves uploaded file from the Temporary to the Target folder and if the uploaded file is locked you may got this error.

    All the best,
    Hristo Valyavicharski
    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. DevCraft R3 2016 release webinar banner
Back to Top