Add an App Stuck on Loading in SharePoint 2013

In this article, I will solve the below issue

Add an App Stuck on Loading in SharePoint


Scenario

In SharePoint 2013, when I tried to Add an app

Add an App in SharePoint

I noticed a strange behavior,  Add An App page stuck on loading with no chance to show anything as shown below

Add an App Stuck on Loading in SharePoint 2013


Cause

The “Add An App page stuck on loading” issue might occur because of

  1. The System Master Page is not the default one, or it has been customized.
  2. The App Installation Service timer job is disabled.

Solution

The System Master Page is not the default one, or it has been customized

To make sure that the issue is related to your custom master page, try to set back the current assigned Master Page to the default one that is not customized before, by doing the following:

  • Open Site settings.
    site settings SharePoint
  • Below Look and Feel > Click on the Master page.

Master Page - look and feel In SharePoint

  • Beside the ‘System Master Page’ > Select a default one that is not customized before like “oslo” or “Seattle“.

Master Page - Change Master Page - System Master Page - SharePoint

  • Go back to add An App that should be now shown properly.

Add an APP stuck on loading in SharePoint

Note: Customizing the System Master Page leads to missing some of the main placeholders or maybe its visibility set to false.

  • Now, go back to Master Page Settings to change the current Master page to your custom master page.
  • Open SharePoint Designer > Take a copy from your current custom master page to can rollback your changes.

Copy only HTML file that would do a bundled copy for the Master File.

  • Edit the “Master Page.master” file In advanced mode.
  • Make sure that the system custom master page still contains the following placeholders and set to true.
    • DeltaPlaceHolderLeftNavBar.
    • PlaceHolderLeftNavBar.
    • DeltaPlaceHolderPageTitleInTitleArea.
    • PlaceHolderPageTitleInTitleArea.
  • Search for a plceholder with ID “PlaceHolderLeftNavBar” , “PlaceHolderPageTitleInTitleArea” then remove it.
  • Add the following Tags after the last div in your file and before any other placeholders.

<SharePoint:AjaxDelta id="DeltaPlaceHolderLeftNavBar" BlockElement="true" runat="server">

<asp:ContentPlaceHolder id="PlaceHolderLeftNavBar" runat="server">
</asp:ContentPlaceHolder>

</SharePoint:AjaxDelta>

<SharePoint:AjaxDelta id="DeltaPlaceHolderPageTitleInTitleArea" runat="server">

<asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server">
</asp:ContentPlaceHolder>

</SharePoint:AjaxDelta>

Add an App Stuck Loading in SharePoint

  • Save > Check-In > Publish as a Major version.
  • Go back to add an app that should be now working properly with your custom Master Page.

Add an APP stuck on loading in SharePoint


Enable the App Installation Service timer Job

In a case of the above steps are not solved your issue, try to make sure that the App Installation Service timer job is enabled, by doing the following:

  • Go to Central Administration > Monitoring > Review Job definition.

Monitoring - Review job definitions - Central Administration - SharePoint

  • Make sure that the App Installation Service is enabled.

Enable App installation service in SharePoint

  • Click on app installation service timer job to adjust its schedule to run every 5 minutes > Click Run Now.

Edit Timer -SharePoint -devoworx

  • Go back to add an app that should be now working properly.

your-apps-SharePoint


Applies To
  • SharePoint 2016.
  • SharePoint 2013.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s