Since updating to 2020.1.10.0 my Macro/Scripts/Tools have stopped working. They are using powershell and give me this error:
Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
This is not something used in the script, and it works fine when run outside of RDM.
Do I need to change the way these are being executed?
Thanks.
David
Hello,
What type of datasource are you using and where are you trying to run your script? Could you send us a recording of your issue so we could have a look? You can use the link I sent you via Private Message.
Best Regards,
Etienne Lord
Hello,
Just to confirm with you, you are trying to run your Powershell command inside the Remote Session, correct?
Best Regards,
Etienne Lord
It makes use of Azure's PS module, and that is about it. It is not within a remote sessions, but runs against/using the details of a remote session. I have sent you a video showing the issue as requested.
Thanks.
David
Hello,
Thank you for your video, we will look into it.
Best Regards,
Etienne Lord
Hello,
If you run Remote Desktop Manager as an Administrator, do you keep getting the error(s)?
Best Regards,
Etienne Lord
I just tried this, and can confirm that when run as an administrator the error still occurs.
Thanks.
David
Hello,
Could you try the following :
Best Regards,
Etienne Lord
This does not appear to have made any difference when invoked through the Macro/Scripts/Tools. Interestingly, no issues running it manually in the PS window opened through RDM.
Thanks.
David
Still testing, but specifying a working directory seems to have fixed it.
Thanks.
David
Good to hear! Let us know :)
Best Regards,
Etienne Lord