How to solve SDL Trados Studio 2014 license problem with SDL PowerShell Toolkit?

Hi,
I have a problem with this SDL PowerShell Toolkit and I need help.

The situation is this:
-> I have a computer with Linux operating system "Ubuntu".
-> In this computer I have a project, which is created using "Ruby On Rails".
-> I have a second remote computer with Windows operating system. This computer has "SDL Trados Studio 2014" with professional license, SDK and "SDL PowerShell Toolkit" with powershell script which will be executed.
-> When I run project, automatically connects to remote computer via SSH using Ruby gem "net-ssh".
-> Then run powershell script and I get this:
New-Object : Exception calling ".ctor" with "2" argument(s): "License check failed, with exception: Sdl.ProjectAutomation.FileBased.LicensingException: A valid SDL Trados Studio Professional license is required to use the Project Automation API in a standalone application. at Sdl.ProjectAutomation.FileBased.FileBasedProject.CheckLicense()" At C:\Users\ltvanmk\powershell_sdl_trados_studio\powershell_toolkit\modules\ProjectHelper\ProjectHelper.psm1:95 char:22
-> I checked "SDL Trados Studio 2014" license and everything ok.

Parents
  • Hi Romulus,
    Thanks for your reply and concern.
    Yes, I‘ve tried to run the powershell script directly on the windows machine and it works fine. I‘ve also tried to copy all environment variables from windows machine and add them to powershell script, to ensure they are the same, and the run powershell script via ssh, but unfortunately with no success.
    I use "freeSSHd" ssh server on Windows. Link: http://www.freesshd.com
    It would be very helpful if you could suggest some ideas to try.
    Thanks a lot in advance for your help!
Reply
  • Hi Romulus,
    Thanks for your reply and concern.
    Yes, I‘ve tried to run the powershell script directly on the windows machine and it works fine. I‘ve also tried to copy all environment variables from windows machine and add them to powershell script, to ensure they are the same, and the run powershell script via ssh, but unfortunately with no success.
    I use "freeSSHd" ssh server on Windows. Link: http://www.freesshd.com
    It would be very helpful if you could suggest some ideas to try.
    Thanks a lot in advance for your help!
Children