you will see this error when you try to add SharePoint Hosted app :
Sorry, apps are turned off. If you know who runs the server, tell them to enable apps.
Solution:
In order to install an App from the App Store you must setup an isolated App Domain, this is because Apps from the store deploy to their own app domain and run under a separate process from your SharePoint sites.
If your SharePoint site uses the DNS alias http://sharepoint.contoso.com you could have *.apps.contoso.com as your app domain.
http://www.sharepointalex.co.uk/index.php/2012/11/enabling-sharepoint-2013-apps/
How to: Set up an on-premises development environment for apps for SharePoint
http://msdn.microsoft.com/en-us/library/fp179923(v=office.15).aspx
Wednesday, 3 June 2015
The Subscription Settings service and corresponding application and proxy needs to be running in order to make changes to these settings.
I was working on hosted app when I encountered below error:
The Subscription Settings service and corresponding application and proxy needs to be running in order to make changes to these settings.
Solution:
Copy and paste below script in SharePoint Management Shell.
$acc = Get-SPManagedAccount <AccountName>
$appPool = New-SPServiceApplicationPool -Name "<Application pool name>" -Account $acc
$app = New-SPSubscriptionSettingsServiceApplication –ApplicationPool $appPool –Name "Subscription Settings Service Application" –DatabaseName <Database name>
$proxy = New-SPSubscriptionSettingsServiceApplicationProxy –ServiceApplication $app
Where
Replace your <AccountName> with managed account
Replace your <Application pool name> with Subscription Settings Service Apppool
Replace your <Database name> with SPMT_Settings_Service_DB
Reference:
https://technet.microsoft.com/en-us/library/fp161236(v=office.15).aspx
The Subscription Settings service and corresponding application and proxy needs to be running in order to make changes to these settings.
Solution:
Copy and paste below script in SharePoint Management Shell.
$acc = Get-SPManagedAccount <AccountName>
$appPool = New-SPServiceApplicationPool -Name "<Application pool name>" -Account $acc
$app = New-SPSubscriptionSettingsServiceApplication –ApplicationPool $appPool –Name "Subscription Settings Service Application" –DatabaseName <Database name>
$proxy = New-SPSubscriptionSettingsServiceApplicationProxy –ServiceApplication $app
Where
Replace your <AccountName> with managed account
Replace your <Application pool name> with Subscription Settings Service Apppool
Replace your <Database name> with SPMT_Settings_Service_DB
Reference:
https://technet.microsoft.com/en-us/library/fp161236(v=office.15).aspx
Subscribe to:
Posts (Atom)
-
While working with SharePoint / JavaScript modal pop up you might encounter error "cannot read property 'showmodaldialog' of un...
-
Scenario: You have followed all the specified TechNet requirements/permissions in setting up SharePoint 2013 and Workflow Manager 1.o far...
-
Problem : I want to create SharePoint 2013 workflow in SharePoint Designer. But it is not showing SharePoint 2013 workflow option. So we ne...
