Disabling virtual objects in Admin portal - Access to path is denied

Sylvain C. asked on March 19, 2025 03:06

Hello, 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

Sylvain

Recent Answers


Rajani Kavari answered on March 24, 2025 18:37

Hi , Were you able to fix this issue. Even I am facing same issue after pplying hotfix.? Thanks, Rajani

0 votesVote for this answer Mark as a Correct answer

Sylvain C. answered on March 24, 2025 21:45

Yes, still same issue. Also posted on SO. Asking myself if I really need to disable the virtual objects of the file system. let me know if you find a workaround.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.