The tool is not licensed

Discussion created by awradfor on Jan 24, 2014
Latest reply on Jan 28, 2014 by LDanzinger-esristaff

I am have written a python script to import a table into SDE. The script works fine when it is run from Pythonwin but when I run the script as scheduled task I get Error 000824 The tool is not licensed. I am running from the same the same server in both situations.
I have ArcGIS for Desktop Advanced and ArcGIS for Server Enterprise basic installed and running.

Any clue as to why it works in the IDE but not  as a scheduled task?