1.You could set stdoutLogEnabled="true" in web.config,then you could check the log. 2.If you deploy by using Azure Devops,you need to check ACL whether IIS_IUSRS and IUSR both have full control access.

MSDN

MSDN

Understanding the Context

MSDN

MSDN

MSDN

MSDN

Key Insights

MSDN

MSDN

MSDN