none
Sharepoint 2016 Error while creating Site Template RRS feed

  • Allgemeine Diskussion

  • Hi,

    we have an SharePoint 2016 Development Site (RTM + June CU) and want to create a template of a Site. Every Service is running fine. But while creating the Site template (excluding Content) we get an error:

    sorry,
    something went wrong

    An unexpected error has
    occurred.

    Correlation ID:
    209e919d-4223-b098-8360-33d7c6d35e11

    Date
    and Time: 7/20/2016 11:49:05 AM

    From ULS Logs i get following Entries:

    [Forced due to logging gap, cached @ 07/20/2016 11:49:05.12, Original Level: Verbose] Entering Monitored Scope ({0}). Parent={1}

    [Forced due to logging gap, cached @ 07/20/2016 11:49:05.22, Original Level: Verbose] Solution Deployment : Deleting temporary directory {0}

    1)

    Microsoft.SharePoint.SPException: Feature definition with Id f593cefe-15d9-4b69-a987-a3117f67aa27 failed validation, file 'CbI IS Controlling TemplateListInstances\ElementsFields.xml', line 1027, character 265: The 'ListInternal' attribute is not allowed.   

    at Microsoft.SharePoint.Administration.SPSolutionPackage.FeatureXmlValidationCallback.XmlValidationCallBack(Object sender, ValidationEventArgs evtargs)   

    at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(String code, String arg)   

    at System.Xml.Schema.XmlSchemaValidator.ValidateAttribute(String lName, String ns, XmlValueGetter attributeValueGetter, String attributeStringValue, XmlSchemaInfo schemaInfo)   

    at System.Xml.Schema.XmlSchemaValidator.ValidateAttribute(String localName, String namespaceUri, XmlValueGetter attributeValue, XmlSchemaInfo schemaInfo)   

    at System.Xml.XsdValidatingReader.ValidateAttributes()   

    at System.Xml.XsdValidatingReader.ProcessElementEvent()   

    at System.Xml.XsdValidatingReader.Read()   

    at System.Xml.XmlReader.MoveToContent()   

    at System.Xml.XmlReader.IsStartElement()   

    at Microsoft.SharePoint.Utilities.SPUtility.XsdValidateXml(XmlTextReader xmlStreamReader, String friendlyName, String pathXsdFile, String tagExpectedRootNode, Int32 desiredPathVersion, ValidationEventHandler xsdValEventHandler)   

    at Microsoft.SharePoint.Administration.SPSolutionPackage.SolutionFile.ValidateFeatureXmlFile(String rootTagElement)   

    at Microsoft.SharePoint.Administration.SPSolutionPackage.AddFeatureElementsCore(XmlNodeList nodeList, String strFeatureDirRelativeToCabFile, Guid featureId, Dictionary`2 filesAdded)   

    at Microsoft.SharePoint.Administration.SPSolutionPackage.AddFeatureElements(XmlNode root, String strFeatureDirRelativeToCabFile, String strFeatureXmlFilename, Guid featureId)   

    at Microsoft.SharePoint.Administration.SPSolutionPackage.WspSolutionFeature.ProcessFeatureXml()   

    at Microsoft.SharePoint.Administration.SPSolutionPackage.InitSolutionFeatures(XmlNode root)   

    at Microsoft.SharePoint.Administration.SPSolutionPackage.ProcessSolutionManifest()   

    at Microsoft.SharePoint.Administration.SPSolutionPackage.Load()   

    at Microsoft.SharePoint.Administration.SPSolutionLanguagePack.CreateSolutionPackage(SPRequest request, String name, String signature, Byte[] fileBytes)   

    at Microsoft.SharePoint.SPUserSolutionCollection.<>c__DisplayClass4.<AddOrUpgrade>b__0()   

    at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)   

    at Microsoft.SharePoint.SPUserSolutionCollection.AddOrUpgrade(SPListItem item, SPUserSolution existingSolution)   

    at Microsoft.SharePoint.SPUserSolutionCollection.Add(Int32 solutionGalleryItemId)   

    at Microsoft.SharePoint.SPSolutionExporter.ExportWebToGallery(SPWeb web, String solutionFileName, String title, String description, ExportMode exportMode, Boolean includeContent, String workflowTemplateName, String destinationListUrl, Action`1 solutionPostProcessor, Boolean activateSolution)

    2)

    System.InvalidOperationException: Error copying temporary solution file to solutions gallery: _catalogs/solutions/CbI IS Controlling Template4.wsp  

    at Microsoft.SharePoint.SPSolutionExporter.ExportWebToGallery(SPWeb web, String solutionFileName, String title, String description, ExportMode exportMode, Boolean includeContent, String workflowTemplateName, String destinationListUrl, Action`1 solutionPostProcessor, Boolean activateSolution)   

    at Microsoft.SharePoint.ApplicationPages.SaveAsTemplatePage.BtnSaveAsTemplate_Click(Object sender, EventArgs e)   

    at System.Web.UI.WebControls.Button.OnClick(EventArgs e)   

    at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   

    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    3)

    Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.InvalidOperationException: Error copying temporary solution file to solutions gallery: _catalogs/solutions/CbI IS Controlling Template4.wsp   

    at Microsoft.SharePoint.SPSolutionExporter.ExportWebToGallery(SPWeb web, String solutionFileName, String title, String description, ExportMode exportMode, Boolean includeContent, String workflowTemplateName, String destinationListUrl, Action`1 solutionPostProcessor, Boolean activateSolution)   

    at Microsoft.SharePoint.ApplicationPages.SaveAsTemplatePage.BtnSaveAsTemplate_Click(Object sender, EventArgs e)   

    at System.Web.UI.WebControls.Button.OnClick(EventArgs e)   

    at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   

    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)

    4)

    SPOIncidentsDetectionJob.GetSPOIncidentBitStatus: spoIncidentJob was null. Accessing the cached bit of the SPOIncidentsDetectionJob

    5)

    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)

    6)

    Leaving Monitored Scope: (Request (POST:http://devredandblue.htsit.net/teams/cbi-iscontrolling/_layouts/15/savetmpl.aspx)) Execution Time=16693.8094548659; CPU Milliseconds=8349; SQL Query Count=4317; Parent=None

    Thanks for help!

    Steffen

    • Typ geändert Teodora MilushevaModerator Freitag, 22. Juli 2016 07:39 Die Threads die keine Aktivität haben, werden als Diskussion geändert. Das machen wir, um die Suche in dem Forum zu verbessern. Sie können den Typ jede Zeit ändern.
    Mittwoch, 20. Juli 2016 10:02

Alle Antworten