Article ID: 113108, created on Jan 11, 2012, last review on Sep 17, 2016

  • Applies to:
  • Operations Automation
  • Business Automation 5.5

Symptoms

The Windows service provisioning task fails in Parallels Operations Automation (POA) with the following error message:

The system cannot find the file specified

More detailed diagnostics are provided in the example below:

Exception during execution of MPF request: 'The system cannot find the file specified.
[<response><errorContext description="The system cannot find the file specified." code="0x80070002" executeSeqNo="3">
<errorSource namespace="NTFSManager" procedure="changeFileOwner"/></errorContext></response>]'.

Cause

It is likely that there are files inside the problem webspace with invalid names (for example, names with a trailing space or dot at the end).

There are some file names that are allowed by the NTFS file system but Windows API functions cannot work with them. This issue is described in the Microsoft Knowledgebase article You cannot delete a file or a folder on an NTFS file system volume (see cause 6).

Resolution

Use Process Monitor to trace system calls on the target Windows server during the POA background task's execution. This will help you find the files that are causing the problem. Once these files are identified, delete them one-by-one as suggested in the Microsoft Knowledgebase article mentioned above:

del "\\?\c:\path_to_file_that contains a trailing space.txt "

File with a trailing space can be removed in the following way: for example it is called "filename.pl "

cd C:\CustomerData\webspaces\webspace_00ID\wwwroot\<full_path_to_the_containing folder>
del filename.pl*

Search Words

failed to install vzcp-setup.exe

fileowne

FPManager::uninstallFPSE_FromServer" not found

not in sync

The system cannot find the file specified. [<response><errorContext description="The system cannot find the file specified." code="0x80070002"

Uninstall FPSE support for virtual web server

The system cannot find the file specified. [<response><errorContext description="The system cannot find the file specified." code="0x80070002" executeSeqNo="1"><errorSource namespace="NTFSManager" procedure="changeFileOwner"/></errorContext></response>]

The system cannot find the file specified.

Windows task fails

webhosting sync

The system cannot find the file specified. [<response><errorContext description="The system cannot find the file specified." code="0x80070002" executeSeqNo="1">

failed task

The system cannot find the file specified

Destination host 'pemwinweb03.hosting.local' (#568), IP '172.16.3.28' : Provisioning request failed. The system cannot find the file specified. [<response><errorContext description="The system cannot find the file specified." code="0x80070002" executeSeqNo="7"><errorSource namespace="NTFSManager" procedure="changeFileOwner"/></errorContext></response>]

Exception during execution of MPF request: 'The system cannot find the file specified.

Exception during execution of MPF request: 'The system cannot find the file specified. [<response><errorContext description="The system cannot find the file specified." code="0x80070002" executeSeqNo="3"><errorSource namespace="NTFSManager" procedure="changeFileOwner"/></errorContext></response>]'.

'Configure file permissions after changing application pool type to exclusive on host

ftp

taskUninstallFpseOnWebSite

Destination host 'WEB17.win-sv.com' (#139), IP '10.1.11.103' : Provisioning request failed. The system cannot find the file specified. [<response><errorContext description="The system cannot find the file specified." code="0x80070002" executeSeqNo="1"><errorSource namespace="NTFSManager" procedure="changeFileOwner"/></errorContext></response>]

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 198398b282069eaf2d94a6af87dcb3ff 801221f8cd76fba7300d1e6817c8e08b 92711db0799e8aefe8e51f12dace0496

Email subscription for changes to this article
Save as PDF