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

Saturday, March 16, 2013

Installing SharePoint 2013: .Net 4.5 error

I faced the below error whilst installing SharePoint 2013 on Windows Server 2012, I did run pre-requisites tool before the installation.
















I cross checked the features under the Server Manager for .NET framework 4.5, which was installed.

















The issue turned out to be the versions of SharePoint and Windows. I was trying to install SharePoint RTM on Windows 2012 RC

HTH