Articles in this section

Some of the actions in Plesk fail with error: XML parsing error: 0xC00CEE04

Plesk for Windows kb: how-to

Applicable to:

  • Plesk for Windows

Symptoms

  • Upon the attempt to modify file permissions in Domains > example.com > File Manager, the following error is shown:

    PLESK_ERROR: XML parsing error: 0xC00CEE04
    at (ContentHandlerWrapper::parseURL line 34)
    at parseURL(C:\Inetpub\vhostst\example.com\.plesk\.Security)

  • The same error can be seen while issuing the SSL for the domain:

    CONFIG_TEXT: 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)\Plesk\admin\bin\vhostmng" --create-writable-directory "--parent-path=C:\Inetpub\vhostst\example.com\" "--user=user_name" "--directory-name=tmp"'(vconsoleapp::run line 117)

  • Or removing the file from Domains > example.com > File Manager
  • Or creating subdomain:

    CONFIG_TEXT: Domain sub.example.com creation failed
    vhostmng failed: XML parsing error: 0xC00CEE04
    at (ContentHandlerWrapper::parseURL line 34)
    at Unable to parse file URL: 'C:\Inetpub\vhosts\example.com\.plesk\.Security'(DiskSecurity::EntryCollection::loadFromConfig line 899)
    at Unable to call loadFromConfig(C:\Inetpub\vhosts\example.com\.plesk\.Security, false, false, true)(DiskSecurity::EntryCollection::loadFromConfig line 909)
    at Unable to call loadFromFile(C:\Inetpub\vhosts\example.com\.plesk\.Security, false)(HostingSecurity::SecurityManager::loadFromFile line 248)

  • 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:\Inetpub\vhostst\example.com\.plesk\.Security'(DiskSecurity::EntryCollection::loadFromConfig
    line 899)
    at Unable to call
    loadFromConfig(C:\Inetpub\vhostst\example.com\.plesk\.Security, false,
    false, true)(DiskSecurity::EntryCollection::loadFromConfig line
    909)

  • The following error can be seen in theC:\Program Files (x86)\Plesk\admin\logsfile:

    CONFIG_TEXT: 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:\Inetpub\vhostst\example.com\.plesk\.Security'(DiskSecurity::EntryCollection::loadFromConfig line 899)<br>  at Unable to call loadFromConfig(C:\Inetpub\vhostst\example.com\.plesk\.Security, false, false, true)(DiskSecurity::EntryCollection::loadFromConfig line 909)<br>  at Unable to call loadFromFile(C:\Inetpub\vhostst\example.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:\Inetpub\vhostst\example.com\tmp\test)(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

Plesk for Windows services logs and configuration files

Troubleshooting | Plesk Obsidian documentation

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.