Sunday, March 17, 2013

SharePoint-hosted app: Deployment issues

You have installed SharePoint 2013 and ready to write apps.

You have downloaded the SharePoint 2013 Developer Tools for Visual Studio 2012.

You have chosen to write a SharePoint-hosted app. Read How to: Create a basic SharePoint-hosted app

When you try to deploy your app from Visual Studio by pressing F5, you get the following errors:

Error: Sideloading of apps is not enabled on the site - Apps are disabled on the site
Reason: You are trying to deploy the solution to a site that was not created using the new Developer site template:
Solution: Either you create a new site with the Developer template or run the following Powershell script: Enable-SPFeature e374875e-06b6-11e0-b0fa-57f5dfd72085 –url <SiteUrl>


Error: App Management Shared Service Proxy is not installed
Reason: One or more service application is not running.
Solution: Navigate to Manage service applications under Central Admin, make sure the App Management Service, Secure Store Service and Security Token Service applications are provisioned and running.


Error: There are no addresses for this application
Reason: Isolated app domain missing
Solution: Follow the steps outllined here to configure the isolated app domain

HTH

No comments:

Post a Comment