Symptoms

A customer clicks the Open File Manager link in POA CCP in one of their IIS website properties. The Windows File Manager displays the error message on top of the CP screen:

Error

Exception type: System.IO.DirectoryNotFoundException

Cause

The config folder is absent in the webspace where customer's website is hosted. The folder contains the filemanager.xml file with Windows File Manager settings for the customer's webspace. The problem also may be caused by improper permissions on the above mentioned file and/or folder.

Resolution

Create the config/filemanager.xml file in the customer's webspace with the following content:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<filemanager>

<owner name="AD_DOMAIN\fm00WS_ID">
    <accounts>
    <account name="AD_DOMAIN\i00WS_ID">
        <types>
        <type>web_anonymous</type>
        </types>
    </account>
    <account name="AD_DOMAIN\IIS_APP_POOL_IDENTITY">
        <types>
        <type>application_pool</type>
        </types>
    </account>
    <account name="AD_DOMAIN\w00WS_ID">
        <types>
      <type>ftp</type>
    </types>
  </account>
</accounts>
</owner>

</filemanager>

Replace the following parameters in the example above with their actual values:

  • AD_DOMAIN - NETBIOS name of AD domain where IIS server is installed
  • WS_ID - ID of customer's webspace, it may be found in POA Customer CP in the list of websites
  • IIS_APP_POOL_IDENTITY - identity of IIS Application Pool which serves customer's webspace

Make sure that AD users fm00WS_ID and i00WS_ID have read access to the filemanager.xml file.

Use IIS Manager to find the value of the IIS_APP_POOL_IDENTITY parameter:

  • Run IIS Manager on the Windows Shared Hosting server where customer's webspace is created
  • Select the website with ID of customer's webspace in it
  • Click Basic Settings in Actions panel
  • Remember the value in the Application pool field

  • Switch to the list of Application Pools in IIS Manager
  • Find the IIS Application Pool from the previous step
  • The Identity fieLd contains the IIS_APP_POOL_IDENTITY:

Internal content