HTTP Error 503. The service is unavailable. App pool stops on accessing website

前端 未结 20 1453
面向向阳花
面向向阳花 2020-12-22 20:37

There are number of posts on this and I have tried many a things by now. But to no avail. Myself a Winforms Developer basically, started working on this Web stuff few days b

相关标签:
20条回答
  • 2020-12-22 20:53

    For my situation is that my login password changed, while the application pool still uses the old one. So just click the "Advanced Settings" of your application pool and reset your "Identity".

    0 讨论(0)
  • 2020-12-22 20:56

    One possible reason this might happen is that the Application Pool in IIS is configured to run under some custom account and this account either doesn't exist or a wrong password has been provided, or the password has been changed. Look at the advanced properties of the Application Pool in IIS for which account it uses.

    Also the Event Log might contain more information as to why the Application Pool is stopping immediately on the first request.

    0 讨论(0)
  • 2020-12-22 20:56

    I had the same issue with iis 8.5. After searching the eventViewer under windows Logs-->applications, I realized that I'm having a permission error for the machine.config file of the .net framework located at "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config". Giving it a permission for IIS_IUSRS solved my problem (right click the file-->properties-->security-->edit-->add-->IIS_IUSRS)

    0 讨论(0)
  • 2020-12-22 21:00

    Ok, I have another solution for one specific case: if you use WINDOWS 10, and you updated it recently (with Anniversary Update package) you need to follow the steps below:

    1. Check your Windows Event Viewer - press Win+R and type: eventvwr, then press ENTER.
    2. On the left side of Windows Event Viewer click on Windows Logs -> Application.
    3. Now you need to find some ERRORS for source IIS-W3SVC-WP in middle window.
    4. Probably you will see message like:

    The Module DLL >>path-to-DLL<< failed to load. The data is the error.

    1. You have to go to Control Panel -> Program and Features and depending on which dll cannot be load you need to repair another module:
      • for rewrite.dll - find IIS URL Rewrite Module 2 and click Change->Repair
      • for aspnetcore.dll - find Microsoft .NET Core 1.0.0 - VS 2015 Tooling ... and click Change->Repair.
    2. Restart your computer.
    0 讨论(0)
  • 2020-12-22 21:00

    I was experiencing this error and in my case the cause was that some time ago I modified the user password, and the 503 error didn't appears till I restarted the application pool.

    So I fixed it setting the new password on Applications Pools / Advanced Settings / Identity / [...] / Set... / Password / Confirm Password

    0 讨论(0)
  • 2020-12-22 21:02

    When I first time add the service and created the app pool for it. I did "iisreset" from command prompt, and it worked.

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