File writing errors

3 posts, 0 answers
  1. Karl Wilkens
    Karl Wilkens avatar
    206 posts
    Member since:
    Oct 2012

    Posted 29 Jul 2009 Link to this post

    Has anyone encountered an alert 'Cannot write to the target folder'? We are and are puzzled. If anyone can shed some light on this, that would be great as I have a client yelling at me. Thanks.
  2. Karl Wilkens
    Karl Wilkens avatar
    206 posts
    Member since:
    Oct 2012

    Posted 29 Jul 2009 Link to this post

    I have isolated this further. Using the code behind technique of assigning an array of strings like this in page load -
            Dim folderstring1 As String = "~/folder1"
                Dim folderstring2 As String = "~/folder2"
                Dim folderstring3 As String = "~/folder3"
                Dim folderstring4 As String = "~/folder4"
                Dim folderstring5 As String = "~/folder5"
                Dim folderstring6 As String = "~/folder6"
                Dim folderstring7 As String = "~/folder7"
                Dim folderstring8 As String = "~/folder8"
                Dim folderstring9 As String = "~/folder9"
                Dim folderstring10 As String = "~/folder10"

                RadFileExplorer1.Configuration.ViewPaths = New String() {folderstring1, folderstring2, folderstring3, folderstring4, folderstring5, folderstring6, folderstring7, folderstring8, folderstring9, folderstring10}
                RadFileExplorer1.Configuration.DeletePaths = New String() {folderstring1, folderstring2, folderstring3, folderstring4, folderstring5, folderstring6, folderstring7, folderstring8, folderstring9, folderstring10}
                RadFileExplorer1.Configuration.UploadPaths = New String() {folderstring1, folderstring2, folderstring3, folderstring4, folderstring5, folderstring6, folderstring7, folderstring8, folderstring9, folderstring10}

    Displays the folders, but on upload, we get an error that we cannot write the file to that directory. However, if I comment out the code behind, and instead, in design view if I add all of these folders in using the Configuration string collection editor popup, which writes these into the tags of the control, then it works fine.

    This feels like a bug - either the number of folders I am using is an issue, or this needs to be initialized in code behind differently. Please let me know if anyone out there has run into this. Thanks.

  3. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 30 Jul 2009 Link to this post

    Hi,

    I think that a similar bug was reported a couple of weeks back and we fixed it in the FileExplorer code. I suggest that you download the latest internal build from our site (http://www.telerik.com/account/latest-internal-builds.aspx, version 2009.2.729 at the moment) and test your project with it. If you still get the error with the internal build, please open a formal suport ticket and send us a sample page we can use to test here.

    Greetings,
    Lini
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top