skip to Main Content

my solution contains 5 layers and works fine in debug mode and also in publish on iis

then i added a reference to my api project
enter image description here

then it is working fine in debug but when i tried to publish on iis i got error

enter image description here

so what did i miss??

2

Answers


  1. if you publish at the same IIS the most commont issue could be an application pool. Try to create a separate application pool for this webapi

    Login or Signup to reply.
  2. HTTP Error 500.30 - ANCM In-Process Start Failure
    

    The worker process fails. The app doesn’t start.
    The ASP.NET Core Module attempts to start the .NET Core CLR in-process, but it fails to start. The cause of a process startup failure can usually be determined from entries in the Application Event Log and the ASP.NET Core Module stdout log.
    Here you can find more info: Troubleshoot ASP.NET Core on Azure App Service and IIS | Microsoft Docs

    This happens when there are many application pools on the same machine.
    Microsoft recommends to stagger the startup process of multiple apps. Another solution would be increase the start up limit.
    You can also try set OutOfProcess through Project->Right-click–>Properties–>Debug–>Managed model
    More solutions can view this post

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search