This article describes what to do a couple of specific error that might occurr within the deployment step of recycling an IIS application pool. An error has occurred in the deployment step of “Recycle IIS Application Pool’: The communication object, System.ServiceModel.InstanceContext, can not be used for communication as a result of it’s been Aborted.

SharePoint-2013-Hosting

1
Let the Deploy Occur
1. First, Click “Start” -> “Run…” as shown on the picture below:2

2. Next, type “iisreset” then click OK.

3
3. Then, wait untill IIS stops then starts again.

4
4. Next step, Right-click on your SharePoint project then select “Deploy”.

5
5. Finally, the deploy will now succeed.

6
6. If you’re still seeing “Error occurred in deployment step ‘Recycle IIS Application Pool'” then please restart your SharePoint Server Front web application.