Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have successfully added a provider hosted app to the app catalog.

However, when I go to the main site, then go to the "gear" icon, and select "Add an app", it gets stuck at "Loading" forever.

If I view javascript errors, In IE10 see:

SCRIPT5007: Unable to get property 'className' of undefined or null reference 
ScriptResource.axd, line 5 character 59249

And in FireFox I see:

Error: TypeError: b is null
Source File: https://blah.test.net/ScriptResource.axd?d=SsARyFD3_rQCMDLd6IgfYaxJnLFnvxkC1Xtj47fGS-nQa4JCl2bx2MyfQ9rvUL53P-WbzGFUoUC-lVUcbrX5lHQ6RNC1BnccNHsuuoi76QciKDMPANw6dKkz8pgiX5fuW6ysOtL6n0GoF-4xlZkviLwqYgxj75pJxS4GjF0C38uNL2diSVl0z48saetHiQmE0&t=6119e399

Line: 5

I retried the request, then grabbed the most recent logs via SharePoint management console with the command:

get-splogevent -starttime (get-date).addminutes(-1) | fl message > error.txt

Examining the error logs, I can't find any smoking gun.

How can I fix this so that I can add an appmodel app to a publishing site?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

Turns out there is a bug in the SharePoint master designer in SharePoint 2013 RTM.

See: http://blog.drisgill.com/2012/12/design-manager-bug-sharepoint-2013-rtm.html

Basically, you have to ensure that your master page contains specific items.

share|improve this answer
    
Thanks Nathan. Just removing Visible=False from DeltaPlaceHolderLeftNavBar fixed my issue. MS should have a fix for this as its been existing since 2012 –  Colbs Jul 15 at 14:58

enter image description here

Specifically, if you are using Sharepoint Designer 2013, your code should look like this (notice Visible="false" has been removed)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.