Failed to Rename Order - ROES Server
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.
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
Turn anti-virus off temporarily
If an anti-virus application is running, temporarily turn it off and try processing the .ro file again.
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
Open Indexing Options
Open Windows Control Panel and choose Indexing Options.
If this image does not display, open it directly: WindowsIndexing_ControlPanel.png
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.
If this image does not display, open it directly: WindowsIndexing_ExcludeFolders.png
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
- ROES Server Processing Sequence PDF
ROES-U reference describing the order processing sequence.
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.