March Beta - PKSMasterPage.master - SpLeftNavigationProvider

Apr 10, 2009 at 11:38 PM
I am in the middle of a first time installation of the PKS as a subsite of an existing site collection and seem ot have hit a brick wall apllying the master page.
Below is the platform
   MOSS 2007 with the February patches
   Server 2003 SP2 Enterprise 64x Edition
   SQL Express 2005
   This is a single server installation
   All PKS prequisites have been applied
  
After applying the PKSMasterPage.master master page I receive an error on the subsite page indicating that the SpLeftNavigationProvider is missing. 

Hope someone can help.  Let me know if you need any additional information.

Below is stake trace:

Server Error in '/' Application.

The SiteMapProvider 'SpLeftNavigationProvider' cannot be found.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: The SiteMapProvider 'SpLeftNavigationProvider' cannot be found.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): The SiteMapProvider 'SpLeftNavigationProvider' cannot be found.]
   System.Web.UI.WebControls.SiteMapDataSource.get_Provider() +4048751
   System.Web.UI.WebControls.SiteMapDataSource.GetHierarchicalView(String viewPath) +21
   System.Web.UI.WebControls.HierarchicalDataBoundControl.GetData(String viewPath) +43
   System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item) +53
   System.Web.UI.WebControls.Menu.PerformDataBinding() +49
   System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect() +114
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
   System.Web.UI.WebControls.Menu.EnsureDataBound() +38
   System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e, Boolean registerScript) +64
   Microsoft.SharePoint.WebControls.AspMenu.OnPreRender(EventArgs e) +166
   System.Web.UI.Control.PreRenderRecursiveInternal() +108
   System.Web.UI.Control.PreRenderRecursiveInternal() +224
   System.Web.UI.Control.PreRenderRecursiveInternal() +224
   System.Web.UI.Control.PreRenderRecursiveInternal() +224
   System.Web.UI.Control.PreRenderRecursiveInternal() +224
   System.Web.UI.Control.PreRenderRecursiveInternal() +224
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394


Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
<!-- [HttpException]: The SiteMapProvider 'SpLeftNavigationProvider' cannot be found. at System.Web.UI.WebControls.SiteMapDataSource.get_Provider() at System.Web.UI.WebControls.SiteMapDataSource.GetHierarchicalView(String viewPath) at System.Web.UI.WebControls.HierarchicalDataBoundControl.GetData(String viewPath) at System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item) at System.Web.UI.WebControls.Menu.PerformDataBinding() at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect() at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() at System.Web.UI.WebControls.Menu.EnsureDataBound() at System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e, Boolean registerScript) at Microsoft.SharePoint.WebControls.AspMenu.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) [HttpUnhandledException]: Exception of type 'System.Web.HttpUnhandledException' was thrown. at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.WELCOMELINKS_ASPX__1240452380.ProcessRequest(HttpContext context) in c:\WINDOWS\microsoft.net\Framework64\v2.0.50727\Temporary ASP.NET Files\root\58657392\392d3fc8\App_Web_welcomelinks.aspx_-1240452380.5ku_gsvb.0.cs:line 0 at Microsoft.SharePoint.Publishing.TemplateRedirectionPage.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) -->
Apr 13, 2009 at 12:40 PM
Hi madzack,

You need to add the following entries in your PKS web.config file, under the <providers> tag to get rid of this error:

<add name="PKSNavigationProviderMobile" type="PKS.Sharepoint.Navigation.SpLeftNavigationProvider, PKS.Sharepoint.Navigation, Version=1.5.0.0, Culture=neutral, PublicKeyToken=3a737f14c332a521" siteMapList="PKS Left Navigation Items" isMobileView="true" />

<add name="SpLeftNavigationProvider" type="PKS.Sharepoint.Navigation.SpLeftNavigationProvider, PKS.Sharepoint.Navigation, Version=1.5.0.0, Culture=neutral, PublicKeyToken=3a737f14c332a521" siteMapList="PKS Left Navigation Items" isMobileView="false" />

Hope this helps.

 

 

Apr 13, 2009 at 11:11 PM
paragk,

That did the trick.  Thanks : )