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

后端 未结 16 1122
既然无缘
既然无缘 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:25

    If Folder getting from other, and host file is already generated on ProjectName\.vs\config folder, then it conflicts with a new one and gets this error.
    So delete host file from ProjectName\.vs\config and restart project once again. It was worked for me

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

    I was trying to run a .net core 3.1 site from IIS 10 on windows 10 pro box, and got this error. Did the following to resolve it.

    First turn on the following iis feature on.

    Then follow the link below.

    https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-3.1#install-the-net-core-hosting-bundle

    Install the .net core hosting bundle.

    The direct link is

    https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-aspnetcore-3.1.2-windows-hosting-bundle-installer

    I have installed the .net core sdk and run time as well. But this did not resolve the issue.

    What made the difference is the .net core hosting bundle.

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

    Please follow these step

    1. Go to Control Panel
    2. Go to Programs and Features
    3. Turn Window Feature on or off
    4. Go to Internet Information Service node
    5. Follow World wide web Services
    6. Then Please Check Application Development Feature
    7. Then Please check all Node Specially Asp or Application Framework Like Asp.net 3.5 or ASP.NET 4.5 whatever you have
    0 讨论(0)
  • 2021-01-30 10:29

    In my case, Server had lower version framework than your application. installed latest version framework and it fixed this issue.

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

    I was accessing the project from inside a Virtual Machine - sharing the project folder from the host OS (Windows 10). After trying many of the solutions, and even ensuring the permissions for the IIS_IUSRS are given, still I could solve this.

    Eventually, I copied this folder from the host, onto a path on the guest OS, and now I can properly run that same ASP.NET project without ado. But, I did also go ahead and give the IIS_IUSRS group full control over this new dir as well... maybe that's not really necessary in this case? I'm lazy to test that ATM.

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

    In my case I needed to install the IIS URL rewrite module 2.0 because it is being used in the web.config and this was the first time running site on new machine.

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