SharePoint 2010 Save site as template error

We are running SharePoint 2010. We have two IIS websites, one for Mysites and the other is our main production site. On the main production site we have a few site collections, one that hosts the metahub, one for project, and our main company site collection. Most everyone works in the main company site collecttion. When I atempt to save a site as a template I receive a generic SharePoint ID error. When I search through the SharePoint Logs I see the message below. The Sp_admin account it is refering to is the SharePoint Farm account. I get the same message when I create a blank site and try to create a template of it. I am able to save templates when I create a new site collection or save a template in the Project site, which is only a week old. I have no idea when this started, but it was definitely working in the past. Our Sharepoint 2010 environment is almost a year old, and had been upgraded (database detach) from SharePoint 2007. We have had Corasworks running on the farm, but I have since uninstalled it.

Feature definition with Id e3d8db97-187c-4e2f-93bd-c8192aae25c0 failed validation, file 'Yankees2ListInstances\ElementsFields.xml', line 149, character 219: The 'NoCrawl' attribute is not allowed. 
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: Microsoft.SharePoint.SPException: Feature definition with Id e3d8db97-187c-4e2f-93bd-c8192aae25c0 failed validation, file 'Yankees2ListInstances\ElementsFields.xml', line 149, character 219: The 'NoCrawl' attribute is not allowed.

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: 

[SPException: Feature definition with Id e3d8db97-187c-4e2f-93bd-c8192aae25c0 failed validation, file 'Yankees2ListInstances\ElementsFields.xml', line 149, character 219: The 'NoCrawl' attribute is not allowed.]
   Microsoft.SharePoint.Administration.SolutionFile.FeatureXmlValidationCallBack(Object sender, ValidationEventArgs evtargs) +21274546
   System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(String code, String arg) +135
   System.Xml.Schema.XmlSchemaValidator.ValidateAttribute(String lName, String ns, XmlValueGetter attributeValueGetter, String attributeStringValue, XmlSchemaInfo schemaInfo) +780
   System.Xml.XsdValidatingReader.ValidateAttributes() +201
   System.Xml.XsdValidatingReader.ProcessElementEvent() +947
   System.Xml.XsdValidatingReader.Read() +276
   System.Xml.XmlReader.MoveToContent() +22
   System.Xml.XmlReader.IsStartElement() +13
   Microsoft.SharePoint.Utilities.SPUtility.XsdValidateXml(XmlTextReader xmlStreamReader, String friendlyName, String pathXsdFile, String tagExpectedRootNode, ValidationEventHandler xsdValEventHandler) +605
   Microsoft.SharePoint.Administration.SolutionFile.ValidateFeatureXmlFile(String rootTagElement) +109
   Microsoft.SharePoint.Administration.SPSolutionPackage.AddFeatureElementsCore(XmlNodeList nodeList, String strFeatureDirRelativeToCabFile, Guid featureId, Dictionary`2 filesAdded) +724
   Microsoft.SharePoint.Administration.SPSolutionPackage.AddFeatureElements(XmlNode root, String strFeatureDirRelativeToCabFile, String strFeatureXmlFilename, Guid featureId) +268
   Microsoft.SharePoint.Administration.WspSolutionFeature.ProcessFeatureXml() +328
   Microsoft.SharePoint.Administration.SPSolutionPackage.InitSolutionFeatures(XmlNode root) +511
   Microsoft.SharePoint.Administration.SPSolutionPackage.ProcessSolutionManifest() +1015
   Microsoft.SharePoint.Administration.SPSolutionPackage.Load() +46
   Microsoft.SharePoint.Administration.SPSolutionLanguagePack.CreateSolutionPackage(SPRequest request, String name, String signature, Byte[] fileBytes) +22639340
   Microsoft.SharePoint.<>c__DisplayClass1.<AddOrUpgrade>b__0() +239
   Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) +27488118
   Microsoft.SharePoint.SPUserSolutionCollection.AddOrUpgrade(SPListItem item, SPUserSolution existingSolution) +449
   Microsoft.SharePoint.SPUserSolutionCollection.Add(Int32 solutionGalleryItemId) +574
   Microsoft.SharePoint.WebControls.SolutionItemButton.ActivateItem() +398
   Microsoft.SharePoint.WebControls.SPLinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +72
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981

Open in new window

When I check out the solution Gallery I see the template I just created. I called it Yankees2 in this example. When I attempt to activate it I get the error below.

Who is Participating?
mvozilaConnect With a Mentor Author Commented:
Made the following change to the  wss.xsd file (c:\Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\XML) on the front end servers and the central admin server. This is from a Microsoft artcile (

Find the following line:

<xs:complexType name="FieldDefinition" mixed="true">

and at the end of all underlying attributes and just before the line:

<xs:anyAttribute namespace="##other" processContents="lax" />

add this line:

<xs:attribute name="NoCrawl" type="TRUEFALSE" />

You have deployed a list with a nocrawl property in it. Can you check if this YankeeListInstance is also in the blank template.
mvozilaAuthor Commented:
I created a blank site from a SharePoint blank template.I then save this template asYankee. IT failed with the first error above. However, it did save the solution gallery and when I activated it I got the second error.

This seemed promising, but unsure what server to do this on. I  tried the central admin server and then one of the front-end servers (I have 2, but disbled the second when I ran the test), but no luck. I also have a seperate search server.
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Can you check if when you are trying to create a list if you have a list template that says yankee.... (in the site settings screens)
mvozilaAuthor Commented:
I do not have a list template with this name.
mvozilaAuthor Commented:
This was the actual solution to the issue I was having.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.