Saturday, 5 July 2014

SharePoint: Error Occurred in Deployment Step Recycle IIS Application Pool

This article describes what to do about a specific error that could occurr in the deployment step of recycling an IIS application pool. 
Steps

An error has occurred in the deployment step of "Recycle IIS Application Pool': The communication object, System.ServiceModel.InstanceContext, cannot be used for communication because it has been Aborted.

Error

Simple way to let the Deploy occur

1. Click "Start" -> "Run...".

Run

2. Type "iisreset" as in the following:

iis Reset

3. Wait untill IIS stops then starts again as in the following:

start IIS

4. Right-click on your SharePoint project then click "Deploy" as in the following:

SharePoint project

5. Deploy will now succeed.

Deploy

6. If you are still seeing "Error occurred in deployment step 'Recycle IIS Application Pool'" then please restart your SharePoint Server Front Web application.

No comments:

Post a Comment

SharePoint 2013 - Uploading Multiple Attachments To The New Item On List Using JSOM And REST API

  Introduction In this article, we will explore how we can attach multiple attachments to the new item on list using JSOM and REST API. Ther...