we're adding your app click here to cancel sharepoint 2013, Unable to install app for SharePoint

I configured the complete development environment for SharePoint 2013 app development (SharePoint Hosted) as per the recommended approach.
Everything seems to work perfectly fine, after few days when I tried to deploy another app from VS 2013, the app deployment time goes up to 30 mins with error "Unable to install app for SharePoint", and sometimes the deployment timer becomes endless in VS 2013.

When I checked the app status on the target web application it always shows "we're adding your app click here to cancel".

This was too annoying and I can't even redeploy it from VS 2013 as it prompts versioning error.
Finally I was able to resolve it, please preoceed with following steps.

Go to the target web application, and click "Cancel" on the app.

Once it is removed, go to the SharePoint Server on which SharePoint 2013 has been installed.

Go to Windows Services: Windows from Start -> Administrative Tools.
Alternatively you can got to Start -> Run -> Type "services.msc" hit enter, the Services window will open.

Please verify two things here.

1. SharePoint Timer Services is running.
2. SharePoing Administration Service is running.

If not, start both of them, if you have changed the SharePoint System Account passwords, please change the Service Log On Credentials. If both the services are running now, you can try to deploy the app, this shall work flawlessly.

Comments

Popular posts from this blog

SharePoint log error "Cannot find site lookup info for request Uri http://"

Visual Studio Build Issue : Build: 0 succeeded or up-to-date, 0 failed, 1 skipped

Reset your SharePoint Farm PassPhrase