This project is read-only.

Sites erring out when using with non publishing sites

Oct 8, 2014 at 10:02 PM
I tried to use "B3-SharePoint2013-BetaV1.0.2" version with SharePoint 2013 foundation for non publishing sites.

Ran into few issues:

1) There is a reference for ribbon.ascx in non publishing master page. I am trying to use the package on SharePoint foundation it does not come with ribbon.ascx(as per my understanding) which results in an error.

2) Removing above reference resulted in an error because of following tag in master page
<div id="ms-designer-ribbon">
            <PublishingRibbon:PublishingRibbon runat="server"/>            
 </div>
3) Removing above tag resulted in
System.ArgumentNullException: Value cannot be null.  Parameter name: ribbon
    at Microsoft.SharePoint.WebControls.RibbonTrimmer..ctor(SPRibbon ribbon) 
    at Microsoft.SharePoint.WebControls.SPPageStateControl.OnInit(EventArgs e) 
    at System.Web.UI.Control.InitRecursive(Control namingContainer) 
    at System.Web.UI.Control.AddedControl(Control control, Int32 index) 
    at Microsoft.SharePoint.WebPartPages.WikiEditPage.OnLoad(EventArgs e) 
    at System.Web.UI.Control.LoadRecursive() 
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Am i doing something wrong? any guidance would be appreciated.
Oct 14, 2014 at 9:11 PM
My suggestion is replace
<div id="ms-designer-ribbon">
            <PublishingRibbon:PublishingRibbon runat="server"/>            
 </div>
With what is found in seattle.master.

Open seattle.master in SPD and look for two HTML blocks:
<div id="suiteBar" class="ms-dialogHidden noindex">
 ---
</div>
<div id="s4-ribbonrow">
 ---
</div>
Copy both blocks to your custom master page, replacing the publishing control, i.e.
<div id="ms-designer-ribbon">
  <div id="suiteBar" class="ms-dialogHidden noindex">
   ---
  </div>
  <div id="s4-ribbonrow">
   ---
  </div>
</div>
Aug 4, 2015 at 5:37 PM
Did this fix the issue for you? having similar issues...