none
HTTP Error 500.19 - Internal Server Error on putting a Asp.net MVC web api project to Docker container RRS feed

  • Question

  • I'm trying a lift and shift of a Asp.Net MVC Web Api project to a docker container. I am successfully able to build and deploy the project but on pinging the site i get a   HTTP Error 500.19 - Internal Server Error

    The logs detailed by the container are as 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:\inetpub\wwwroot\web.config

        Requested URL   http://localhost:80/
        Physical Path   
        Logon Method   Not yet determined
        Logon User   Not yet determined

        Config Source:
           -1:
        0:

     More Information:
      This error occurs when there is a problem reading the configuration file for
    the Web server or Web application. In some cases, the event logs may contain
    more information about what caused this error.
      View more information »

    Friday, May 17, 2019 9:23 AM