none
Creating site collection with CMSPUBLISHING#0 template fails RRS feed

  • Question

  • Wondering whether anyone can shed any light as to how to troubleshoot this issue. I can't seem to create a new site collection using CMSPUBLISHING#0 template - command shown below. Running into this issue in more than one farm both has SharePoint 2013 SP1 applied. Can create site collection with another publishing template from Central Admin (BLANKINTERNET#0). Log shows it creates the site collection but when it tries to apply the site template it runs into the below error and rolls back changes.

    I've updated full ULS log filtered by the correlation ID here - if anyone is interested.

    Any feedback would be greatly appreciated.

    New-SPSite http://WebAppURL/divisions/SiteCollec -OwnerAlias "domain\User" -Name "Group Office" -Template "CMSPUBLISHING#0" -ContentDatabase "DB_SiteCollec"
    **New-SPSite : The web being updated was changed by an external process**.
    At line:1 char:1
    + New-SPSite http://WebAppURL/divisions/SiteCollec -OwnerAlias ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidData: (Microsoft.Share...SPCmdletNewSite:SPCmdletNewSite) [New-SPSite], SPException
        + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSite

    ULS log shows: 

    The feature 'f6924d36-2fa8-4f0b-b16d-06b7250180fa' depends on feature 'aebc918d-b20f-4a11-a1db-9ed84d79c87e' which failed to activate: Microsoft.SharePoint.SPException: The web being updated was changed by an external process. ---> System.Runtime.InteropServices.COMException: The web being updated was changed by an external process.<nativehr>0x81020097</nativehr><nativestack>OWSSVR.DLL: (unresolved symbol, module offset=00000000000F8529)
    at 0x000007FDA9458529 OWSSVR.DLL: (unresolved symbol, module offset=000000000002C021)
    at 0x000007FDA938C021 Microsoft.SharePoint.Library.ni.dll: (unresolved symbol, module offset=00000000000CE89B)
    at 0x000007FDA9AFE89B Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002B48B97)
    at 0x000007FDAE038B97 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002AAD7CE)


    BlueSky2010
    Please help and appreciate others by using forum features: "Propose As Answer", "Vote As Helpful" and "Mark As Answer"

    Monday, April 20, 2015 5:52 PM

Answers

  • CMSPublishing#0 is designed to be used as a template for a sub site in a site collection where Publishing Infrastructure is already enabled.  I don't think it can be used to create the top level site of a Publishing site collection, because it isn't wired up to turn on Publishing Infrastructure.

    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

    • Marked as answer by BlueSky2010 Tuesday, April 21, 2015 6:59 PM
    Monday, April 20, 2015 6:10 PM

All replies

  • CMSPublishing#0 is designed to be used as a template for a sub site in a site collection where Publishing Infrastructure is already enabled.  I don't think it can be used to create the top level site of a Publishing site collection, because it isn't wired up to turn on Publishing Infrastructure.

    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

    • Marked as answer by BlueSky2010 Tuesday, April 21, 2015 6:59 PM
    Monday, April 20, 2015 6:10 PM
  • That's a good information Paul. I'm basically trying to import a publishing subsite to a new site collection. So I was trying to match the source template to the destination. 

    I'll test to see if I can create a subsite with that template. Keep you posted. 

    Thanks again!


    BlueSky2010
    Please help and appreciate others by using forum features: "Propose As Answer", "Vote As Helpful" and "Mark As Answer"

    Monday, April 20, 2015 8:06 PM