Select to view content in your preferred language

Stand Alone Python Error: The product license has not been initialized.

367
1
12-11-2023 11:15 AM
Labels (1)
JacquelineAlessi
Frequent Contributor

Hi I created a script in the PythonWin parser to do some basic SDE interrogation and delete features based on set criteria. The script runs great in the PythnWin parser. 

I need to set this code up as a task. I tried call the python.exe and got the error. I also tried calling propy.bat instead of the python.exe, still produces the error. 

What are my other options for resolution? The task needs to be ran by a headless Service Account, service accounts dont have email addresses, and will not be added to Enterprise as users. 

0 Kudos
1 Reply
DavidPike
MVP Frequent Contributor

If it's an SDE then it's a case of adding the user principal to an AD group or directly (however you have it configured) to the database.

0 Kudos