ASP.NET Core MVC deploying to IIS Error (Http Error 500.19) RRS feed

  • Question

  • User135423268 posted

    Good Day Everyone

    I'm having an error after I deploy my ASP.Net Core MVC website, I follow the instructions on this website https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-3.1 and also on this youtube channel https://www.youtube.com/watch?v=Q_A_t7KS5Ss but I'm still having the error below.

    HTTP Error 500.19 - Internal Server Error

    The requested page cannot be accessed because the related configuration data for the page is invalid.


    Detailed Error Information:

    Module    IIS Web Core
    Notification    Unknown
    Handler    Not yet determined
    Error Code    0x8007000d
    Config Error    
    Config File    \\?\C:\Websites\eappsadmin\web.config
    Requested URL    http://localhost:10003/
    Physical Path    
    Logon Method    Not yet determined
    Logon User    Not yet determined

    Config Source:


    I don't know what to do, I'm losing hope and might try to migrate my system back to .Net Framework.

    Monday, November 9, 2020 1:29 AM


  • User-1330468790 posted

    Hi amendoza29,


    Since you post that you have followed the guidance, could you please confirm that you have completed following steps: 

    If you confirm that you have prepared all above necessary component for hosting the asp.net core website, the next step is to check if you have access to the web.config file.

    • Ensure that the Identity is set to use ApplicationPoolIdentity
    • Then check if the publish folder has granted permission to the application pool. (following below steps) 

    Regarding how to check and grant permission:

    1. Open Windows Explorer
    2. Select the directory for the publish folder where the web.config locates
    3. Right click the directory and select Properties
    4. Select the Security tab
    5. Check if the application pool has been in the list of the group and users.
    6. If not, then add
    7. Click the Edit button and then Add button
    8. Click the Locations button and make sure that you select your computer.
    9. Enter IIS AppPool\<myappoolname> in the Enter the object names to select: text box.
    10. Click the Check Names button and click OK.
    11. Check Modify under the Allow column, and click OK, and OK.


    I could not provide one-shot solution so that we are trying to narrow down the problem and target it.

    If you have tried above suggestions with no luck, feel free to let me know.


    Best regards,


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, November 10, 2020 4:20 AM