Failed to Rename Order - ROES Server

ROES Support Knowledgebase

ROES Server Failed to Rename Order Folder

Use this article when ROES Server reports an error like Failed to rename order... while processing an incoming order.

Product: ROES Server Category: Orders / Processing Audience: Lab / Support Article ID: 35
Common symptom
ROES Server displays an error similar to:
Failed to rename order_83738138_16180eab287_6828 to 011435

Why This Happens

After an order finishes transferring from the photographer to the lab, ROES Server creates a folder in the Working Files directory with a name that matches the name of the .ro file. The .ro file is moved to that folder so ROES Server can unpack the order contents.

Shortly after that folder is created, anti-virus software or the Windows Indexing service may notice the new folder and temporarily lock it while scanning for viruses or indexing the new files.

If the folder is locked when ROES Server tries to rename it with the next Lab Order ID, the rename can fail and produce this error.

 

This can also happen if you run out of drive space and there isn't enough room on the drive to hold the contents of the .ro file.

Order Processing Reference

ROES-U includes a description of the ROES Server order processing sequence:
ROES Server Processing Sequence PDF

Possible Solutions

1

Turn anti-virus off temporarily

If an anti-virus application is running, temporarily turn it off and try processing the .ro file again.

2

Turn Windows indexing off for ROES Server folders

Windows Indexing can track folders and files as they are added to the hard drive. Exclude the root folder that contains all ROES Server folders so indexing does not lock order folders during processing.

Exclude ROES Server Folders from Windows Indexing

1

Open Indexing Options

Open Windows Control Panel and choose Indexing Options.

Windows Indexing Options in Control Panel
Open Indexing Options from Windows Control Panel.
If this image does not display, open it directly: WindowsIndexing_ControlPanel.png
2

Exclude the ROES Server root folder

Select the folders to exclude. A good practice is to exclude the root folder that contains all ROES Server folders.

Exclude Folders from Windows Indexing
Exclude the ROES Server root folder from Windows indexing.
If this image does not display, open it directly: WindowsIndexing_ExcludeFolders.png
3

Retry processing the order

After anti-virus or indexing is disabled or excluded for the ROES Server folders, try processing the affected .ro file again.

Expected Result

Once anti-virus or Windows Indexing stops locking the newly created order folder, ROES Server should be able to rename the folder to the next Lab Order ID and continue processing the order.

Helpful Link

Escalation Notes

  • Confirm whether anti-virus is scanning the ROES Server Working Files directory.
  • Confirm whether Windows Indexing includes the root folder that contains ROES Server folders.
  • Exclude the ROES Server folders from indexing and anti-virus scanning where possible.
  • If the rename error continues, collect the ROES Server log and the affected order folder/file details.
Suggested keywords: failed to rename order, ROES Server, Working Files, .ro file, Windows Indexing, Indexing Options, anti-virus, order folder locked, Lab Order ID, order processing

Article Details

Article ID:
35
Category:
Views:
1,523