IIS APPLICATION IS UNABLE TO READ WEB.CONFIG ERROR

-2

CAN SOMEBODY PLEASE HELP ME WITH THIS ERROR. Even though i have given all the permission of the folder to Everyone, IIS_IUSRS this error is still occuring. i am not able to understand this problem.

Error :FASTCGI_UNKNOWN_ERROR ErrorCode="Access is denied.(0x80070005)"

SET_RESPONSE_ERROR_DESCRIPTION ErrorDescription="An unknown FastCGI error occurred"

MODULE_SET_RESPONSE_ERROR_STATUS: Warning ModuleName="FastCgiModule", Notification="EXECUTE_REQUEST_HANDLER", HttpStatus="500", HttpReason="Internal Server Error", HttpSubStatus="0", ErrorCode="Access is denied. (0x80070005)", ConfigExceptionInfo=""

DETAILED EXPLANATION OF ERROR: IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred. %05

  • IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
  • %05
  • IIS was not able to process configuration for the Web site or application.
  • %05
  • The authenticated user does not have permission to use this DLL.
  • %09
  • The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.
  • iis
    iis-7.5
    asked on Stack Overflow May 30, 2020 by harsh

    1 Answer

    0

    It seems that you are hosting a pyhton application inside IIS. Since IIS works just as a proxy for Fast-cgi application and fast-cgi application was running under the identity of App pool identity. Please ensure your application pool identity(IIS Apppool\apppoolname) have permission to access your application folder and python's folder.

    Of course, you could try to set application pool identity to local system to narrow down this issue.

    MS process monitor can be used to troubleshooting access denied error.

    https://docs.microsoft.com/en-us/sysinternals/downloads/procmon

    You can add a filter for "result= access denied" Then it will tell you who and where need to be granted with permission.

    answered on Stack Overflow Jun 1, 2020 by Jokies Ding

    User contributions licensed under CC BY-SA 3.0