-
Notifications
You must be signed in to change notification settings - Fork 7
Description
We are wanting to backup a large MS SQL database using the pure array. It successfully works when ran manually. But when we attempt to put it in Windows Task Scheduler we receive errors.
To narrow the error down I created a more simple power shell script that attempts to connect to the pure array. As with the other the file runs successfully when executed manually. However when we execute in Windows task scheduler we receive an error:
Error connecting to Pure Flash Array: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxx' or one of its dependencies. The system cannot find the file specified.
I found a KB related to this on:
It mentioned using the MSI installer (which we didn't.) It goes on to mention modifying the the machine.config which we attempted to with no change.
I checked the permissions on the PEM file and even if I manually run the windows sheduled task (I am admin of the box,) it still fails. Note I currently have the job set to run in my name.
We have explicitly given the path to the PEM file code.
Note: this is a powershell (not txt)
Any help or suggestions? Thank you all.