Hello,
I am trying to run a simple Python script from my wwwroot directory. I have added anonymous logon, IIS_IUSERS, IUSER with full permissions in the Security tab of the wwwroot directory.
Hello,
I am trying to run a simple Python script from my wwwroot directory. I have added anonymous logon, IIS_IUSERS, IUSER with full permissions in the Security tab of the wwwroot directory.
To to modify the security user access properties of the file system folder on which your site is mapped. But IIS_IUSRS is not the only account you must authorize, IIS_IUSRS is not the only account you must authorize.
In IIS management console, in the Authentication part of the configuration of your site, modify the "Anonymous authentication" line and check the account set as "Specific user".
Give read and execution permission on the folder of your site to the account listed as the specific user.
Or
In IIS management console, in the Authentication part of the configuration of your site, modify the "Anonymous authentication" line by selecting "application pool identity" instead of "Specific user".
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Thanks for your suggestions. I tried option 2 but now I am getting a 503 error with any page to display.
I got rid of the 503 error but the 401.3 error persists. I set application pool identity but am getting the same error.
The security is working now but I am getting a new error.
@MarkHwang-7831 Can you tell me which methods you tried and ended up getting this error?
I tried to run a simple Python program with just a print statement. Below is my Handler settings:
I answered your question in another thread, and then we will discuss the problem in that thread. thanks
3 people are following this question.