Prevent IIS From Sleeping

    • Open IIS Manager
    • Application Pools > Right-click the App Pool > Advanced Settings
    • Set the following values:
      • (General) Start Mode = AlwaysRunning
      • (Process Model) Idle Time-out = 0
      • (Process Model) Load User Profile = False
      • (Recycling) Regular Time Interval = 0
      • (Recycling) Specific Times – clear all values from the TimeSpan[] Array
    • Click OK