How to Create a Service Application Pool in SharePoint using PowerShell?

Service Application pools run service application proxy web services inside IIS. Typically, all the service applications can be run with the same application pool. You can create a new service application pool while creating new service applications in SharePoint 2013. Ever wanted to create an new service application pool in SharePoint using…

Read more

Set SharePoint Application Pool Recycle Time

By design application pools in IIS are restarted once per every 29 hours to provide best performance and stability. The very first user access SharePoint after app pool recycle will experience considerable delay, as .net assemblies needs to be recompiled to the memory. So, we use Warm-up scripts for SharePoint 2013 to…

Read more

The web server process that was being debugged has been terminated by Internet Information Services (IIS)

While debugging a SharePoint object model code in Visual Studio, Got this error message: “The web server process that was being debugged has been terminated by Internet Information Services (IIS). This can be avoided by configuring Application Pool ping settings in IIS.  See help for further details.” Cause:  IIS performs health monitoring…

Read more

Pick the right w3wp.exe to attach among Multiple Worker processes while debugging

When multiple web applications running with multiple application pools, they will create multiple worker processes (W3WP.exe). While debugging code from Visual Studio, we got to pick the one that belongs to the target web application, otherwise, the debugger will not stop on break-points! Don’t forget to select “Show processes from all users”,…

Read more

Service Unavailable: HTTP Error 503. The service is unavailable in SharePoint

Service Unavailable: HTTP Error 503. The service is unavailable error normally occurs whenever the password for application pool identity account is changed or application pools are in stopped state. This error may appear temporarily when you deploy solutions. In my case, I realized that password got changed for the Identity account. Its…

Read more