Applicable to:
- Plesk for Windows
Symptoms
- Upon the attempt to modify file permissions in Domains > example.com > File Manager, the following error is shown:
XML parsing error: 0xC00CEE04
at (ContentHandlerWrapper::parseURL line 34)
at parseURL(C:Inetpubvhoststexample.com.plesk.Security)
- The same error can be seen while issuing the SSL for the domain:
Could not assign certificate to the domain. stdout: An error occurred during domain update: An error occurred during changing of hosting settings: vhostmng failed: XML parsing error: 0xC00CEE04
...
at Unable to execute command: '"C:Program Files (x86)Pleskadminbinvhostmng" --create-writable-directory "--parent-path=C:Inetpubvhoststexample.com" "--user=user_name" "--directory-name=tmp"'(vconsoleapp::run line 117) - Or removing the file from Domains > example.com > File Manager
- Or running the
plesk repair example.com
:
C:> plesk repair fs example.com
Checking virtual hosts' file system
There are incorrect permissions on some items in the root directory
of the domain 'example.com' ......................................... [ERROR]
- HostingSecurity failed: XML parsing error: 0xC00CEE04
at (ContentHandlerWrapper::parseURL line 34)
at Unable to parse file URL:
'C:Inetpubvhoststexample.com.plesk.Security'(DiskSecurity::EntryCollection::loadFromConfig
line 899)
at Unable to call
loadFromConfig(C:Inetpubvhoststexample.com.plesk.Security, false,
false, true)(DiskSecurity::EntryCollection::loadFromConfig line
909) - The following error can be seen in the
C:Program Files (x86)Pleskadminlogs
file:
ERR [panel] Unable to remove file or directory: XML parsing error: 0xC00CEE04<br> at (ContentHandlerWrapper::parseURL line 34)<br> at Unable to parse file URL: 'C:Inetpubvhoststexample.com.plesk.Security'(DiskSecurity::EntryCollection::loadFromConfig line 899)<br> at Unable to call loadFromConfig(C:Inetpubvhoststexample.com.plesk.Security, false, false, true)(DiskSecurity::EntryCollection::loadFromConfig line 909)<br> at Unable to call loadFromFile(C:Inetpubvhoststexample.com.plesk.Security, false)(HostingSecurity::SecurityManager::loadFromFile line 248)<br> at Unable to call loadDomainSecurity(example.com)(HostingSecurity::loadDomainSecurity line 901)<br> at Unable to call getManagerByPath(C:Inetpubvhoststexample.comtmptest)(HostingSecurity::ManagerPathCache::getManagerByPath line 842)<br> at (zif_plesk_ex_remove line 1659)
Cause
There is a corrupted webspace security index file for a Plesk domain and it is causing issues in relation to Plesk, due to which it needs to be recreated.
Resolution
1. Connect to the server via RDP
2. Run Command Prompt as Administrator
3. Run the following command in the Windows Command Prompt to rename the .Security file that appears in the error message:
C:> ren "%plesk_vhosts%example.com.plesk.Security" .Security.old
4. Trigger recreation and permissions adjustment of the affected file for the Plesk Subscription by executing this command:
C:> "%plesk_cli%repair.exe" --repair-webspace-security -webspace-name example.com
This process will recreated the corrupted file and the error will not be present any longer.
Additional information
Plesk Repair Utility | Plesk Obsidian documentation