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 'win.domain.com' (host_id=17). Task description: Create virtual directory 'cgi-bin' (dir_id=3576) on virtual web server 5487 on host 'win.domain.com' (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"/> </errorContext></response>]'.
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\customer.com w3wp.exe pid: 3428 A88: D:\CustomerData\webspaces\webspace_00110723\wwwroot\customer.com\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': http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx
To solve the problem restart IIS on server 'win.domain.com' using the command 'iisreset' and then reschedule failed task, it will be successfully processed.