# Unable to save site as template “unexpected error has occurred”

- Link: https://sharepointtechnicalsupport.com/2015/07/20/unable-to-save-site-as-template-unexpected-error-has-occurred/
- Published: 2015-07-20T09:17:09+05:30
- Author: Deviprasad Panda

**Unable to save site as template**

### Unable to save site as template

 User has raised the problem ticket by mentioning facing problem while save site
as template, additionally the templates are getting saved in the solution gallery
but not able to activate it also.

#### **Error Message**

    ```wp-block-code
    An unexpected error has occurred.
    Troubleshoot issues with Microsoft SharePoint Foundation
    Correlation ID: acd95f50-4049-4625-9682-aa93aded118f
    ```

#### **Troubleshooting**

Further debugging in the SP ULS logs and we found some strange facts which are based
on event receivers- please refer below

    ```wp-block-code
    SPSolutionExporter: Microsoft.SharePoint.SPException: Feature definition with Id 77658379-50ff-4e1e-a431-5652bee07a87 failed validation
    Looking for ‘ReceiverAssembly’ attribute in manifest root node for solution
    Looking for ‘ReceiverClass’ attribute in manifest root node for solution
    The ‘Format’ attribute is invalid – The value ‘CheckBoxes’ is invalid according to its datatype
    ```

I debug further to find out where the problem. I downloaded the saved wsp’s from**_/\
_catalogs/solutions/Forms/AllItems.aspx_** to my desktop. Renamed it to _**.cab**_.
Extracted all the contents and found some interesting facts along with **_manifest.
xml_** file like List Instances, Modules, Property bags, web template. Inside List
Instances, I found _**ElementsFields.xml**_ Once I opened the above xml file, search
for the check boxes and found the following

[⌊save as template⌉⌊save as template⌉[

 Further exploration on this, it seems that the checkbox attribute is invalid and
needs to be modified.

#### **Resolution**

Remove that affected column / remove the affected content type – does not require
IISRESET also.

### Share this:

 * [  X ](https://sharepointtechnicalsupport.com/2015/07/20/unable-to-save-site-as-template-unexpected-error-has-occurred/?share=twitter)
 * [  Facebook ](https://sharepointtechnicalsupport.com/2015/07/20/unable-to-save-site-as-template-unexpected-error-has-occurred/?share=facebook)
 * [  WhatsApp ](https://sharepointtechnicalsupport.com/2015/07/20/unable-to-save-site-as-template-unexpected-error-has-occurred/?share=jetpack-whatsapp)
 * [  Email ](https://sharepointtechnicalsupport.com/2015/07/20/unable-to-save-site-as-template-unexpected-error-has-occurred/?subject=%5BShared%20Post%5D%20Unable%20to%20save%20site%20as%20template%20%22unexpected%20error%20has%20occurred%22&body=https%3A%2F%2Fsharepointtechnicalsupport.com%2F2015%2F07%2F20%2Funable-to-save-site-as-template-unexpected-error-has-occurred%2F&share=email)
 * [  Telegram ](https://sharepointtechnicalsupport.com/2015/07/20/unable-to-save-site-as-template-unexpected-error-has-occurred/?share=telegram)
 * [  LinkedIn ](https://sharepointtechnicalsupport.com/2015/07/20/unable-to-save-site-as-template-unexpected-error-has-occurred/?share=linkedin)
 * [  Tumblr ](https://sharepointtechnicalsupport.com/2015/07/20/unable-to-save-site-as-template-unexpected-error-has-occurred/?share=tumblr)
 * [  Pinterest ](https://sharepointtechnicalsupport.com/2015/07/20/unable-to-save-site-as-template-unexpected-error-has-occurred/?share=pinterest)

### Like this:

Like Loading…

### _Related_
