+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Move App_Data to a virtual directory

Move App_Data to a virtual directory

2 posts, 0 answered
  1. Omar
    Omar avatar
    11 posts
    Registered:
    23 Mar 2011
    29 Mar 2011
    Link to this post
    Hi, 
    Following the thread "Change App_Data location" , was moved App_Data folder from the shared folder of the application \\shared\fs\ApplicationContent\PRE\Application\version_1.xx\Sitefinity\App_Data
    to
    \\shared\fs\ApplicationContent\PRE\Application\Sitefinity\Sitefinity_App_Data
    The permission of the new folder was copied from the previous and was renamed the previous folder.
    in the site was created the virtual directory with the correct name (App_Data).
    ones the change was made the application run correctly but some resources was not found (with the exception attached) and i can't make upload of new images using the libraries manager.

    The error in the upload is: 

    The type initializer for 'Telerik.Sitefinity.Modules.Libraries.LibrariesManager' threw an exception.

    PD: See the attachment for the error of the resources

  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    31 Mar 2011
    Link to this post
    Hi Omar,

    Thank you for contacting us.

    If the App_Data folder name is changed the site may not function properly due to many references and properties which link to the original name so it is best to leave the name as it is.

    The ' Access denied ' error is a general ASP.NET error which means that the account that runs ASP.NET worker process (generally NETWORK SERVICE ) should have Read/Write permissions over App_Data.

    In your case it might not have the permissions to Sitefinity\Temp\Libraries folder.it In other words, the permissions inheritance might not be set, and you may try to give permissions over the entire directory tree under the App_Data, not just on App_data.

    Greetings,
    Victor Velev
    the Telerik team
2 posts, 0 answered