admin管理员组

文章数量:1405363

Using K13, I am going to apply a new hotfix (from 114 to 178) and by following the instructions, I tried to disable the virtual objects of the file system in the administration portal. However, I got the following error "Operation did not success: Access to the path "XXX\CMS\CMSVirtualFiles\Templates\Shared' is denied.".

With the following message in the Event log

Message: Access to the path 'XXX\CMS\CMSVirtualFiles\Templates\Shared' is denied.

Exception type: System.IO.IOException
Stack trace:
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at CMS.FileSystemStorage.Directory.Delete(String path, Boolean recursive)
at CMS.IO.Directory.Delete(String path, Boolean recursive)
at CMS.UIControls.Internal.DeploymentManager.DeleteDirs()
at CMSModules_System_System_Deployment.<>c__DisplayClass36_0.b__0() in XXX\CMS\CMSModules\System\System_Deployment.aspx.cs:line 233
at CMSModules_System_System_Deployment.RunWithTryCatch(Action action, String cancelResString) in XXX\CMS\CMSModules\System\System_Deployment.aspx.cs:line 204
I have correctly setup the permissions for the CMS folder "Modify for NETWORK SERVICE" and "Read and Execute for IUSR"

.

How can I fix that? Can I still proceed with the Hotfix?

Thank you

Using K13, I am going to apply a new hotfix (from 114 to 178) and by following the instructions, I tried to disable the virtual objects of the file system in the administration portal. However, I got the following error "Operation did not success: Access to the path "XXX\CMS\CMSVirtualFiles\Templates\Shared' is denied.".

With the following message in the Event log

Message: Access to the path 'XXX\CMS\CMSVirtualFiles\Templates\Shared' is denied.

Exception type: System.IO.IOException
Stack trace:
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at CMS.FileSystemStorage.Directory.Delete(String path, Boolean recursive)
at CMS.IO.Directory.Delete(String path, Boolean recursive)
at CMS.UIControls.Internal.DeploymentManager.DeleteDirs()
at CMSModules_System_System_Deployment.<>c__DisplayClass36_0.b__0() in XXX\CMS\CMSModules\System\System_Deployment.aspx.cs:line 233
at CMSModules_System_System_Deployment.RunWithTryCatch(Action action, String cancelResString) in XXX\CMS\CMSModules\System\System_Deployment.aspx.cs:line 204
I have correctly setup the permissions for the CMS folder "Modify for NETWORK SERVICE" and "Read and Execute for IUSR"

.

How can I fix that? Can I still proceed with the Hotfix?

Thank you

Share Improve this question asked Mar 24 at 17:00 Sylvain C.Sylvain C. 1,0732 gold badges12 silver badges29 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Double check the disk permissions - applying the hotfix may have changed the effective permissions. Depending on how you applied the hotfix, what user account was used, etc.

Also, why are you trying to save the virtual objects to disk? You should be applying the hotfix on the original project, not the deployed/precompiled project.

本文标签: Disabling virtual objects in Kentico Admin portalAccess to path is deniedStack Overflow