We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

How to solve the 503 error [Answered]RSS

1 reply

Last post May 26, 2021 02:31 AM by samwu

  • How to solve the 503 error

    May 25, 2021 06:13 PM|Asder|LINK

    I have a .net core application and when I publish it to the iis default site, I get HTTP error 503. When I was troubleshooting, I found that the IIS application pool was stopped, and get the following error.


    The identity of application pool DefaultAppPool is invalid. The user name or password that is specified for the identity may be incorrect, or the user may not have batch logon rights. If the identity is not corrected, the application pool will be disabled when the application pool receives it first request.

  • Re: How to solve the 503 error

    May 26, 2021 02:31 AM|samwu|LINK

    Hi Asder,

    Asder

    The identity of application pool DefaultAppPool is invalid. The user name or password that is specified for the identity may be incorrect, or the user may not have batch logon rights. If the identity is not corrected, the application pool will be disabled when the application pool receives it first request.

    The 503 error was occurring because the Application pool failed to start. to resolve the issue try to follow the below steps:

    Go to the IIS Manager-> Application Pool -> Advanced Settings -> Process Model ->  Identity -> NetworkService.

    Best regards,

    Sam

    IIS.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today. Learn more >