Add an App Stuck on Loading in SharePoint 2013

In SharePoint 2013, when I tried to Add an app

Add an App - Devowrx

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 - devoworxCause:

This issue might occur because of

  1. You have customized the assigned system master page, some placeholders were deleted or its visibility set to false.
  2. The App Installation Service timer job is disabled.

Solution:

Case-1 solution

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

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

Master Page - look and feel

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

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

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

your-apps-SharePoint

In case of your Apps have been shown properly that means the issue was related to your custom master page.

  • 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 (Copy only HTML file that will do a bundled copy for the master file) to can rollback your changes.
  • Edit your Master Page.master file as an 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>

Update Master Page - Placeholder - SharePoint - devoworx

  • Try now to add an app that should be now working properly with your custom Master Page.

your-apps-SharePoint

Cause-2 solution,

In a case of the above steps not solved your solution so maybe The App Installation Service timer job is disabled, and to enable it. follow the below steps:

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

Monitoring - Review job definitions - Central Administration - SharePoint - devoworx

  • Make sure that the App Installation Service has been enabled.

App installation service - SharePoint - devoworx

  • 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 worked properly.

your-apps-SharePoint
Enjoy 🙂

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s