The Replication Agent's counting of operations that fail because the file cannot be opened on a target server has been improved. When applying changes fails because a file cannot be opened, the failed operation count is now incremented so that the transaction gets aborted, and when logging the exception records, the appropriate operation counter is incremented.