Forum Discussion
Unable to Save Site as Site Template: Unable to convert the HeaderColorIndexInLightMode XML
Steps taken:
- Modified a few site pages to separate the text and the images and published.
- Navigated to site contents > site settings > changed the URL from ending in "settings.aspx" to "savetmpl.aspx" as I have done before from the same site to save it as a site template.
- Filled up the fields for the file name, etc. Made sure to tick the checkbox to include the content and clicked OK.
- Site loads and ends up displaying this:
Unable to convert the HeaderColorIndexInLightMode XML attribute for the WebTemplate XML element for feature {insert GUID} to a positive integer value
Context:
- Also tried to export another site as a site template but same error.
- Tried to import a pre-existing site template (first backup) into a new SharePoint site but same error.
- Double checked and made sure that the following is true before trying to save template again but same error occurred:
- Custom script has been allowed.
- SharePoint Server Publishing Feature remained deactivated.
- No corrupted files in site assets or in the site pages.
- Content Approval Settings: Require content approval for submitted items is still set to NO.
- Tried using another account with global admin role and site owner full control access to do above steps but did not work as well.
Can somebody please help me on this? I'm not sure what else I could do to be able to save this as a template :(
20 Replies
- relsfelicianoBrass Contributor
I tried today on the same tenant and then on another tenant but got the same result.
For some reason, it's pointing to something wrong with header, I assume, but even the other sites on my tenant get the same results when I try to save as template. The GUID also changes every time I get the error so I'm not sure if it's even possible to track the error using that.
Anybody know any sites we can log for a SharePoint bug in Microsoft?
- BN1Copper Contributor
I am experiencing same issue with Project Online save a project site as a template. I tried different tenants and got same issue.
Unable to convert the HeaderColorIndexInLightMode XML attribute for the WebTemplate XML element for feature {badc1293-efc4-40d8-ae6f-f7dac5f97e7e} to a positive integer value.
- nic180Copper Contributor
I am experiencing the same issue since today.
- nic180Copper Contributor
for us, this is fixed now. microsoft obviously did a fix.
after activating the solution catalogue via powershell again, all is up and running - also for modern pages. - 0ct0Copper Contributor
Same issue here - trying to create a template.
- Florian3130Copper Contributor
Same issue here:
Sorry, something went wrong
Unable to convert the HeaderColorIndexInLightMode XML attribute for the WebTemplate XML element for feature {e0919544-150d-4c2f-8b81-e4eaecdfbad4} to a positive integer value.
Technical DetailsTroubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: d19d8ba1-50dd-4000-d908-ee9d7249ae78