Error creating new site from custom site template

Posted on 2011-10-22
Last Modified: 2013-10-17
I am using SharePoint 2010 and have sucessfully saved a site as a template, however when I try to create a new site using the template I get the error shown in the image attached. Looking at the correlation ID in ULS viewer gives the following error

SPContentTypeElement.ElementActivated(). Skipped activation because of InvalidName: '$Resources:er,ExpenseFormsTitle;'

The ootb templates deploy fine, however custom templates throw up the above error, this error happens when trying to deploy sites from custom templates in any site collection within the farm.

The farm itself is new build of 2010 not an upgrade however the site collections were migrated across from a sharepoint 2010 server which had been upgraded from MOSS 2007

 Error Message
Question by:EmxIT
    LVL 16

    Accepted Solution

    Were you using Report Server in the previous install of SharePoint / site templates? If so, this person had similiar issues:

    $Resources:DataSourceContentTypeName Error

    The bad news is at the bottom - he had to create a new site template as he couldn't remove the corrupt content types from the old site templates:

    However, you still cannot create a new site with your custom template because the previously created template still references the old corrupt content types. You need to now create a new site template. The new template will be clean, and there will be no trace of the corrupt content types.

    Assisted Solution

    Thanks, the solution you linked to wasn't the answer to my problem but it did lead me to the very useful SharePoint Manager 2010 tool.

    I eventually found that the reference content types were not registered correctly because they were part of the FAB40 templates inherited from MOSS 2007. In order to get SharePoint to see them correctly I had to reinstall and deploy the applicationtemplatecore.wsp solution.

    This fixed the content types issue but then created it's own issues when trying to save a site template and was throwing up the error SPException: Error exporting the site field named "Asset". In order to correct this you need to deactivate the TSAtypes feature then reactivate it.

    After doing all this I can now save site templates and then create new sites from them.

    Author Closing Comment

    The solution offered by jessc7 wasn't the solution to my problem but did lead me in the right direction.

    The comment I added was the correct solution to my problem.

    Expert Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
    For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now