SharePoint 2013 App.master Error

This video demonstrates how to reproduce the current bug in SharePoint 2013 which destroys your apps when changing the master page.

Pre-requisites: Publishing Infrastructure enabled on the Site Collection, Publishing enabled on the site hosting the app.

Steps:
1) add App
2) change masterpage of site using the app
3) make sure tou tick the reset all sub sites option
4) try to administer the app..Oops.

Source Problem:
When an app is added to your site, a separate subsite is created to host the app. Although this subsite is hosted in a completely different URL, it is still treated as a subsite of your main intranet. So when you go ticking the reset all sub sites box, all existing apps will lose their default masterpage and will receive a reference to the new masterpage. This obviously can’t happen, as that would mean the app could access resources outside of its allowed list and that’s why SharePoint throws the error at you.

Ref : SharePoint 2013 App.master Error

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