Ситуация У меня есть пакет SSIS, который выполняет сценарий Powershell, который запускает сценарий python в Anaconda. Когда я запускаю пакет SSIS из своей учетной записи, он завершается нормально. Когда я развертываю его на сервере SQL и выполняю его из учетной записи службы, это приводит к этой ошибке
PS> TerminatingError (): «Не удалось запустить программу 'conda.exe': доступ запрещен при C: \ Code \ JiraData \ ExecuteJiraExtract.ps1: 31 символ: 1
I believe it may have to do with the difference in permissions between my account and the SQL server agent service account that is executing the script.
Does anyone have any idea if I can grant permissions to a program to access a file, or if there is a way to give the service account higher permissions? I suspect this is the issue.
Link to Powershell Script: https://pastebin.com/HHJi4Prw
conda activate jira
python C:\code\JiraData\ExtractAll.py --jql="ORDER BY created DESC" --start_index=0 --end_index=1000
conda deactivate