I have a SharePoint server which is otherwise operating normally, but all of a sudden Visual Studio refuses to deploy SharePoint solutions. It's worked normally in the past. It is now giving an error:

Error occurred in deployment step 'Recycle IIS Application Pool': A task was canceled.

I've seen various IIS recycling errors before, but I think the unique part here is the "A task was canceled" bit.

Does anyone know what the cause might be?

1 Answer 1


Try to reset IIS on the server. if that fix the problem then fine Other wise reboot the all server in the farm.

check this blog for more detail.

Also this one.

  • I have tried rebooting. The "A task was canceled" part is not a very common error. I haven't found any resources on this.
    – MgSam
    Jul 18, 2014 at 12:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.