Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

just customized a master page for the new SP 2013 Foundation. Deployment, activation etc. works fine (i deploy it using a .wsp built with VS2012) but every time im trying to access my sp-page with the custom master page deployed i receive a 401 unauthorized error. My log states the following:

401 UNAUTHORIZED on http://akde9019.de.kaercher.com/_layouts/15/start.aspx: start.aspx is anonymously accessible but could not be shown to the user. The most likely reason for this is that the master page contains a control which requires secure properties from an SPWeb (or other SharePoint object). A control which requires this type of data must be inside an AjaxDelta.

In SharePoint Designer aren't any permissions listed for the specific master page. The default master pages which are available have permissions listed. If im trying to grant permissions via sharepoint-designer nothing changes. If i look up the Gallery for master pages inside sharepoint i can see the folder which stores my master page. Unfortunately there isn't any master-page inside..

going slowly crazy here..

share|improve this question
Have you recently added any custom controls / web parts? – Quinn Johns Feb 19 at 22:14

1 Answer

Have you moved around some of the out of the box controls? In my case I noticed that I had been moving the promoted action buttons and did not put it inside of an SharePoint:AjaxDelta control. You will get unauthorized when start.aspx trying to access the data.

More Description here: http://www.sharepointfront.com/unautorized-401-sharepoint-2013-with-a-custom-master-page/

//Magnus Hansson

share|improve this answer
3  
Could you improve your post adding the essentials from your link, it would be greatly appreciated. The link you're referencing might not work when the next user gets here. – Benny Skogberg Feb 20 at 7:35

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.