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 badges1 Answer
Reset to default 0Double 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
版权声明:本文标题:Disabling virtual objects in Kentico Admin portal - Access to path is denied - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744238546a2596675.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论