500.19 - Internal Server Error - The requested page cannot be accessed because the related configuration data for the page is invalid

后端 未结 16 1156
既然无缘
既然无缘 2021-01-30 10:24

Before everyone reads this, I just want to say that i know that there are related threads out there, but I have either tried them or do not understand. With that being said here

相关标签:
16条回答
  • 2021-01-30 10:35

    In my case I had .Net core SDK 3.1.403 was installed. So I installed the corresponding .Net Core Windows Server Hosting which is .NET core 3.1.9 - Windows Server Hosting.

    0 讨论(0)
  • 2021-01-30 10:37

    I had a sub folder named web.config renaming this folder resolved the issue

    0 讨论(0)
  • 2021-01-30 10:42

    In the Edit Application Pool window, set the .NET CLR version to No Managed Code

    0 讨论(0)
  • 2021-01-30 10:44

    On this msdn blog: Troubleshooting HTTP 500.19 Errors in IIS 7 in sceanrio 8 for error code 0x80070005 (E_ACCESSDENIED - General access denied error) it says:

    Grant Read permission to the IIS_IUSRS group ...
    .... the worker process identity (and/or the IIS_IUSRS group) needs at least Read access to the directory so that it can check for a web.config file in that directory.

    0 讨论(0)
  • 2021-01-30 10:45

    I fixed this by restarting VS.

    I had opened a config file in another instance of VS and apparently sth went nuts...

    0 讨论(0)
  • 2021-01-30 10:45

    My issue is that I accidentally installed another site as the default site instead of the IIS default (by opening another project.) I had to remove the default site and repoint it to the default location C:\inetpub\wwwroot using my domain login as the user to bypass with then just reopened my project that I was trying to run (the one showing this error) and it was all honky dorry

    0 讨论(0)
提交回复
热议问题