Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

IIS running as machine$ or AppPool\app_pool_name?

$
0
0

Hi all,

 I'm finishing up an app that uses HeliconTech Zoo to run Python in IIS 7.5. I need the user that IIS is running as to be given permissions on the Windows Tasks directory so that I can use the Python win32api to create a task. I've given the following users permissions on the task directory: (OI, CI, Full Access). I read somewhere that that is all that's needed to create Windows tasks. 

IIS_IUSRS

IUSR

IIS AppPool\app_pool_name - the app pool my app is using

Yet I still get this error:

(-2147024891, 'Access is denied.', None, None)


When I ask Python for the name of the current user I get MACHINE_NAME$. Based on my reading from this page http://www.iis.net/learn/manage/configuring-security/application-pool-identities I thought that the running user would be IIS App Pool\app_pool_name and not machine$. What's even weirder is that a job file is actually created in the WIndows\Tasks directory which would seem to suggest that it has write permissions but then the task doesn't run. 

I'm not really sure this is an IIS question per se, but I'm going all angles to see what kind of help I can get here. Really in dire need of it. 


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>