Search Engine: Elastic

Article ID: 6348, created on May 18, 2009, last review on Mar 4, 2015

  • Applies to:
  • Operations Automation 5.4


Background task Create virtual directory on virtual server is failing with diagnostics like below:

Task ID:     227540
Task name:          Create virtual directory 'cgi-bin' (dir_id=3576) on virtual web server 5487 on host '' (host_id=17).
Task description:   Create virtual directory 'cgi-bin' (dir_id=3576) on virtual web server 5487 on host '' (host_id=17).
 Queue name:         domain_service27354
Execution status:   Failed
Start not earlier than:     May-10-2009 07:55
Finished:                   May-10-2009 07:56
Output:     Exception during execution of MPF request: 'Access is denied.
        [<response><errorContext description="This operation can not be performed
        with a Node of type ATTRIBUTE." code="0x80070005" executeSeqNo="6">
        <errorSource namespace="File System Provider" procedure="GetDirectoryAttributes"/>


The possible reason of problem is that folder where customer's webspace is located is locked by IIS for some operations. You may check it using 'Process Explorer' or the program 'handle.exe' using the command like below:

C:\Documents and Settings\Administrator>handle 110723
w3wp.exe           pid: 3428    140: D:\CustomerData\webspaces\webspace_00110723\wwwroot
w3wp.exe           pid: 3428    844: D:\CustomerData\webspaces\webspace_00110723\wwwroot\
w3wp.exe           pid: 3428    A88: D:\CustomerData\webspaces\webspace_00110723\wwwroot\\cgi-bin

As you can see above the command 'handle' reported that folder D:\CustomerData\webspaces\webspace_00110723\wwwroot and its subfolders are locked by process 'w3wp.exe'.

The example above is using ID of webspace - 110723 - to find processes which locked it, this ID is unique.

Please refer to this article in Microsoft Technet for more information abount the command 'handle.exe':


To solve the problem restart IIS on server '' using the command 'iisreset' and then reschedule failed task, it will be successfully processed.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 ac82ce33439a9c1feec4ff4f2f638899 2554725ed606193dd9bbce21365bed4e

Email subscription for changes to this article
Save as PDF