Try Now
More in this section

Forums / General Discussions / Intermittent libraries upload error

Intermittent libraries upload error

2 posts, 0 answered
  1. Chris
    Chris avatar
    87 posts
    11 May 2010
    22 Oct 2010
    Link to this post

    We are seeing the following error when uploading new files to the libraries module...

    ProviderException: Access to the path <<UploadDirectory>> is denied

    The strange thing is that is very intermittent. Sometimes it works and sometimes it doesn't and often when it fails it will succeed with the very next attempt. This suggest to me that it is not a simple directory permissions problem.

    We are using the Files streaming provider and have overridden the libraries provider and file system provider to set a custom upload directory.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    19 Oct 2016
    22 Oct 2010
    Link to this post
    Hello Chris,

    If you use the Files provider then all files are stored in App_Data/Files folder by default. Since you have overridden the default storage, most probably the ASP.NET /NEWTWORK SERVICE account does not have proper permissions. This is one of the reasons why we did not expose a property for setting the default storage folder and set it to App_Data/Files where ASP.NET /NEWTWORK SERVICE must have full access. The problem you have is related to the permissions or some file locking.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered