Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

Task 'Create virtual directory' fails with error 'Access is denied'.

Article ID: 6348 
Last Review: Nov,10 2009
Author: Vitaly Filatov
Last updated by: Vitaly Filatov APPLIES TO:
  • Parallels Operations Automation

Symptoms

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 '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>]'.

Cause

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

Resolution

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.


Subscription for changes to this article Subscription for changes to this article

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac
- Parallels Desktop 4 for Windows & Linux
- Parallels Workstation Extreme
- Parallels Solution for Windows 7
Server Virtualization
- Parallels Server for Mac
- Parallels Server 4 Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
More Products