Saturday, December 10, 2011

Error occurred in deployment step 'Recycle IIS Application Pool': A timeout has occurred while invoking commands in SharePoint host process.

Hello,

We got the below error while trying to deploy SharePoint solution

Error occurred in deployment step 'Recycle IIS Application Pool': A timeout has occurred while invoking commands in SharePoint host process.

Thr possible reasons for this error as per MSDN forums are:

1. Less System Resources, possible <6 GB of RAM. (Recommended RAM for SP 2010 is >=6GB)

2. Application Pools might be stopped.

In my case, both these possibilities doesnot apply.

The solution to eliminate this error is:

Increase the Shutdown Time Limit and Startup Time Limit under Application Pool -> Advanced Settings.

This resolved the above error:)

2 comments:

  1. Nice Blog.. Save my lot of time today :)

    ReplyDelete
  2. It helped in my case I increased to 180s from 90s

    ReplyDelete