Hello,
The error message you’re seeing is often related to Excel’s ability to manage its resources.
First, ensure that the user account running the task scheduler has the necessary permissions to access Excel and to read/write files where necessary. Excel needs to be able to access the user's profile on the system. You can try running the task scheduler with a different user account.
Additionally, ensure that DCOM settings for Excel are correctly configured on the backup server. Run dcomcnfg.exe
, navigate to "Component Services" -> "Computers" -> "My Computer" -> "DCOM Config" and find "Microsoft Excel Application". Ensure the security and identity settings here match those of the production environment.
You can also try repairing or reinstalling the Office 2016 application on the server.
I hope this helps.
Best regards