none
Creating a Site Collection as a template for other site collection

    Question

  • Hi,

    I have created a publishing site collection and mad a few modifications to tailor the site for various schools.

    We purchased a site theme with pre-defined layouts on the web, and I would like to use this site collection as a template for other sites.  I have about fifty sites that I need to create.

    I have tried backing my site up, and then restoring it to another site collection, but I am having issues with page layouts after the site has been restored.  Note the sites that I am trying to restore to are Host Named Site Collections.

    After I have restored the site, the main page does not display (something went wrong error) and from documentation that I have read from the vendor, advises to go into site settings, content and structure and update the page layouts.  When I try to do this, again I get another 'something went wrong' error.

    When i check the ULS logs, I see this:

    Unable to normalize URL http://boxdev:1111/_catalogs/masterpage/MT-Welcome_3Column.aspx

    the boxdev is the vendors server.  I have attached the log filtered by the correlation ID, if anyone can tell me why this is happening it would be greatly appreciated...

    03/17/2017 16:44:14.48                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  General 7fad       Medium                Unable to locate the xml-definition for CType with SPContentTypeId '0x010100F8EF98760CBA4A94994F13BA881038FA', exception: Microsoft.SharePoint.SPException: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) ---> System.Runtime.InteropServices.COMException: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)     at Microsoft.SharePoint.Library.SPRequest.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)     at Microsoft.SharePoint.Library.SPRequest.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)     at Microsoft.SharePoint.SPContentTypeCollection.FillCollection(SPRequest req, SqlDataReader rdr, Boolean openWeb)         85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.49                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  Database             adhpr                Medium               Entering Monitored Scope (VqueryEngine). Parent=SPRequest.GetListItemDataWithCallback2                85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.50                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  Database             adhpr                Medium               Leaving Monitored Scope: (VqueryEngine) Execution Time=12.2789348925632; CPU Milliseconds=6; SQL Query Count=2; Parent=SPRequest.GetListItemDataWithCallback2   85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.50                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  Monitoring         b4ly        High                Leaving Monitored Scope: (EnsureListItemsData) Execution Time=12.6316333500487; CPU Milliseconds=6; SQL Query Count=2; Parent=Request (GET:http://traz1sp-p-wfe/sites/Jo-Bega/_layouts/15/PageSettings.aspx?Page=17&RootFolder=/sites/Jo-Bega/Pages&Source=/sites/jo-bega/_layouts/15/sitemanager.aspx?SmtContext=SPList:032ec900-a38b-4bba-b5c1-245082a1966f?SPWeb:fbc39855-a748-41c9-ac2c-3cb30b212ec0:&SmtContextExpanded=True&Filter=1&pgsz=100&vrmode=False&CancelSource=/sites/jo-bega/_layouts/15/sitemanager.aspx?SmtContext=SPList:032ec900-a38b-4bba-b5c1-245082a1966f?SPWeb:fbc39855-a748-41c9-ac2c-3cb30b212ec0:&SmtContextExpanded=True&Filter=1&pgsz=100&vrmode=False)             85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.51                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  General 8e2s       Medium                Unknown SPRequest error occurred. More information: 0x8000ffff           85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.51                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  General aix9j       High                SPRequest.GetGlobalContentTypeXml: UserPrincipalName=i:0).w|s-1-5-21-1790185178-1884196932-2322230391-124538, AppPrincipalName= ,bstrUrl=/sites/Jo-Bega ,type=1 ,lcid=0               85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.51                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  General ai1wu    Medium                System.Runtime.InteropServices.COMException: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)), StackTrace:    at Microsoft.SharePoint.SPContentTypeCollection.FillCollection(SPRequest req, SqlDataReader rdr, Boolean openWeb)     at Microsoft.SharePoint.SPContentTypeCollection.FetchCollection(IList`1 exceptions)     at Microsoft.SharePoint.Publishing.PageLayout.get_AssociatedContentType()     at Microsoft.SharePoint.Publishing.PageLayout.get_UIDisplayName()     at Microsoft.SharePoint.Publishing.PageLayoutComparerByUIDisplayName.Compare(PageLayout x, PageLayout y)     at System.Collections.Generic.ArraySortHelper`1.SwapIfGreater(T[] keys, IComparer`1 comparer, Int32 a, Int32 b)     at System.Collections.Generic.ArraySortHelper`1.DepthLimitedQuickSort(T[] keys, Int32 left, Int32 right, IComparer`1 comparer, Int32 depthLimit)     at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)     at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 comparer)     at System.Array.Sort[T](T[] array, IComparer`1 comparer)     at Microsoft.SharePoint.Publishing.PublishingWeb.GetAvailablePageLayouts()     at Microsoft.SharePoint.Publishing.PublishingWeb.GetAvailablePageLayouts(SPContentTypeId associatedContentTypeId)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.GetLayoutsForPage(PublishingPage page, PublishingWeb web)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.GetAvailableLayouts()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.LoadLayoutValues()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.BasePageSettingsPage.LoadValues()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.LoadValues()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.BaseListItemPublishingPage.OnLoad(EventArgs e)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     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 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.51                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  General 7fad       Medium                Unable to locate the xml-definition for CType with SPContentTypeId '0x010100F8EF98760CBA4A94994F13BA881038FA', exception: Microsoft.SharePoint.SPException: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) ---> System.Runtime.InteropServices.COMException: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)     at Microsoft.SharePoint.Library.SPRequest.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)     at Microsoft.SharePoint.Library.SPRequest.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)     at Microsoft.SharePoint.SPContentTypeCollection.FillCollection(SPRequest req, SqlDataReader rdr, Boolean openWeb)         85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.53                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  General aj1ms    Medium                Unable to normalize URL http://themeboxdev:1111/_catalogs/masterpage/MT-Welcome_3Column.aspx. Under some circumstances (i.e. when parsing mailto links during link fixup) this is acceptable.      85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.53                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  General 8e2s       Medium                Unknown SPRequest error occurred. More information: 0x80070057         85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.53                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  General aix9j       High                SPRequest.GetMetadataForUrl: UserPrincipalName=i:0).w|s-1-5-21-1790185178-1884196932-2322230391-124538, AppPrincipalName= ,bstrUrl=http://themeboxdev:1111/_catalogs/masterpage/MT-Welcome_3Column.aspx ,METADATAFLAGS=14392            85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.53                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  General ai1wu    Medium                System.ArgumentException: Value does not fall within the expected range., StackTrace:    at Microsoft.SharePoint.SPWeb.GetFileOrFolderObject(String strUrl)     at Microsoft.SharePoint.Publishing.CommonUtilities.GetFileFromUrl(String url, SPWeb web)     at Microsoft.SharePoint.Publishing.PublishingPage.get_Layout()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.GetLayoutsForPage(PublishingPage page, PublishingWeb web)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.GetAvailableLayouts()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.LoadLayoutValues()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.BasePageSettingsPage.LoadValues()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.LoadValues()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.BaseListItemPublishingPage.OnLoad(EventArgs e)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     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 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.53                 w3wp.exe (0x2BB4)        0x1DC8 Web Content Management         Publishing           6wyd                Monitorable       GetFileFromUrl: ArgumentException when attempting get file Url http://themeboxdev:1111/_catalogs/masterpage/MT-Welcome_3Column.aspx Value does not fall within the expected range.    at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)     at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)     at Microsoft.SharePoint.SPWeb.GetFileOrFolderObject(String strUrl)     at Microsoft.SharePoint.Publishing.CommonUtilities.GetFileFromUrl(String url, SPWeb web)             85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.53                 w3wp.exe (0x2BB4)        0x1DC8 Web Content Management         Publishing           a29j                Unexpected       PageSettingsPage: layout url invalid         85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.53                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  General aj1ms    Medium                Unable to normalize URL http://themeboxdev:1111/_catalogs/masterpage/MT-Welcome_3Column.aspx. Under some circumstances (i.e. when parsing mailto links during link fixup) this is acceptable.      85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.53                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  General 8e2s       Medium                Unknown SPRequest error occurred. More information: 0x80070057         85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.53                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  General aix9j       High                SPRequest.GetMetadataForUrl: UserPrincipalName=i:0).w|s-1-5-21-1790185178-1884196932-2322230391-124538, AppPrincipalName= ,bstrUrl=http://themeboxdev:1111/_catalogs/masterpage/MT-Welcome_3Column.aspx ,METADATAFLAGS=14392            85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.53                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  General ai1wu    Medium                System.ArgumentException: Value does not fall within the expected range., StackTrace:    at Microsoft.SharePoint.SPWeb.GetFileOrFolderObject(String strUrl)     at Microsoft.SharePoint.Publishing.CommonUtilities.GetFileFromUrl(String url, SPWeb web)     at Microsoft.SharePoint.Publishing.PublishingPage.get_Layout()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.LoadValues()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.BaseListItemPublishingPage.OnLoad(EventArgs e)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     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 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.53                 w3wp.exe (0x2BB4)        0x1DC8 Web Content Management         Publishing           6wyd                Monitorable       GetFileFromUrl: ArgumentException when attempting get file Url http://themeboxdev:1111/_catalogs/masterpage/MT-Welcome_3Column.aspx Value does not fall within the expected range.    at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)     at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)     at Microsoft.SharePoint.SPWeb.GetFileOrFolderObject(String strUrl)     at Microsoft.SharePoint.Publishing.CommonUtilities.GetFileFromUrl(String url, SPWeb web)             85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.54                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  Asp Runtime      avwhw                Medium               SPRequestModule.ErrorAppHandler Begin           85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.54                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  General 8nca       Medium                Application error when access /_layouts/15/PageSettings.aspx, Error=Value does not fall within the expected range.   at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)     at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)     at Microsoft.SharePoint.SPWeb.GetFileOrFolderObject(String strUrl)     at Microsoft.SharePoint.Publishing.CommonUtilities.GetFileFromUrl(String url, SPWeb web)     at Microsoft.SharePoint.Publishing.PublishingPage.get_Layout()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.LoadValues()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.BaseListItemPublishingPage.OnLoad(EventArgs e)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.54                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  Runtime               tkau                Unexpected       System.ArgumentException: Value does not fall within the expected range.    at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)     at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)     at Microsoft.SharePoint.SPWeb.GetFileOrFolderObject(String strUrl)     at Microsoft.SharePoint.Publishing.CommonUtilities.GetFileFromUrl(String url, SPWeb web)     at Microsoft.SharePoint.Publishing.PublishingPage.get_Layout()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.LoadValues()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.BaseListItemPublishingPage.OnLoad(EventArgs e)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.54                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  General ajlz0       High                Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentException: Value does not fall within the expected range.     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)     at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)     at Microsoft.SharePoint.SPWeb.GetFileOrFolderObject(String strUrl)     at Microsoft.SharePoint.Publishing.CommonUtilities.GetFileFromUrl(String url, SPWeb web)     at Microsoft.SharePoint.Publishing.PublishingPage.get_Layout()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.LoadValues()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.BaseListItemPublishingPage.OnLoad(EventArgs e)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     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 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)        85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.54                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  WOPI    aw5fv    Medium                SPOIncidentsDetectionJob.UpdateErrorTextsIfNeeded: About to call GetSPOIncidentBitStatus      85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.54                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  WOPI    aw5f0    Medium                SPOIncidentsDetectionJob.GetSPOIncidentBitStatus: Just entered this method.   85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.54                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  WOPI    aw5f1    Medium                SPOIncidentsDetectionJob.GetSPOIncidentBitStatus: spoIncidentJob is non null.  85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.54                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  WOPI    aubgp   High                SPOIncidentsDetectionJob.GetSPOIncidentBitStatus: spoIncidentJob was null. Accessing the cached bit of the SPOIncidentsDetectionJob           85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.54                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  WOPI    aw5fz    Medium                SPOIncidentsDetectionJob.UpdateErrorTextsIfNeeded: Some exception in this method.  85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.54                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  WOPI    aubgn   Monitorable                SPOIncidentsDetectionJob.UpdateErrorTextsIfNeeded: System.InvalidOperationException: Nullable object must have a value.     at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)     at Microsoft.SharePoint.Administration.SPOIncidentsDetectionJob.GetSPOIncidentBitStatus()     at Microsoft.SharePoint.Administration.SPOIncidentsDetectionJob.UpdateErrorTextsIfNeeded(String& errorText, String& linkText, String& linkUrl, Boolean& shouldIgnoreLinkValidation) 85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.54                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  General aat87     Monitorable                                85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.54                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  General agxkz     High                calling GetCurrentGenericSetupPath for a versioned path: TEMPLATE\LAYOUTS  85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.54                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  Asp Runtime      avwh5                Medium               SPRequestModule.PreSendRequestHeaders End 85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.54                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  Asp Runtime      avwhx                Medium               SPRequestModule.ErrorAppHandler End               85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.54                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  Asp Runtime      avwia                Medium               SPRequestModule.PostLogRequestHandler Begin              85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.54                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  Asp Runtime      avwib                Medium               SPRequestModule.PostLogRequestHandler End 85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.54                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  Asp Runtime      avwic                Medium               SPRequestModule.EndRequestHandler Begin      85cfde9d-c693-d012-21ef-aec6ea25f65b
    03/17/2017 16:44:14.54                 w3wp.exe (0x2BB4)        0x1DC8 SharePoint Foundation  Micro Trace        uls4                Medium               Micro Trace Tags: 0 avwhy,0 az4z8,0 nasq,0 az4z8,0 avwhz,0 aytib,0 a7r51,0 a1n25,0 a9fy7,0 a9fy6,0 avwh6,0 az4z8,0 agb9s,0 ajd6k,0 ajd6l,0 ajd6m,0 avwh7,0 avwh8,0 avwh0,4 ayswq,0 a0t92,0 a08yd,0 a0t94,0 a0t97,0 a0t98,1 ayswq,3 az4z8,0 avwh1,0 aj1kn,0 avwh2,0 avwh3,0 avwhu,0 avwhv,0 a0t92,0 a0t94,0 a0t97,0 a0t98,0 arc5u,5 ab3dt,0 ajoij,0 ax0ru,0 abnwl,0 ax0ru,0 ajpl9,0 ajpl9,0 ab3dt,1 arc5u,0 ahjkm,0 0,0 0,0 0,0 abnwk,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 abnwk,0 0,0 0,0 abnwk,0 abnwk,0 0,0 0,0 0,0 ahjkm,0 abnwl,0 ajoij,0 az4z8,25 az6gu,0 aytib,0 az4z8,7 adhpr,6 adhpr,0 b4ly,1 a0t92,0 a0t94,0 a0t97,0 a0t98,0 arc5u,4 ab3dt,0 ajoij,0 ax0ru,0 abnwl,0 ax0ru,0 ajpl9,0 ajpl9,0 ab3dt,1 arc5u,0 ahjkm,0 0,0 0,0 0,0 abnwk,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 abnwk,0 0,0 0,0 abnwk,0 abnwk,0 0,0 0,0 0,0 ahjkm,0 abnwl,0 ajoij,0 az4z8,0 8nh6,8 aix9j,0 ai1wu,0 7fad,13 adhpr,12 adhpr,0 b4ly,8 aix9j,0 ai1wu,0 7fad,19 aix9j,0 ai1wu,0 6wyd,0 a29j,0 aix9j,0 ai1wu,0 6wyd,0 avwhw,0 8nca,0 tkau,0 ajlz0,0 aw5fv,0 aw5f0,0 aw5f1,0 aubgp,0 aw5fz,0 aubgn,0 aat87,1 agxkz,0 avwh5,0 avwhx,0 avwia,0 avwib,0 avwic           85cfde9d-c693-d012-21ef-aec6ea25f65b

    Monday, March 20, 2017 1:12 PM

Answers