none
Trying to change Welcome Page, among other settings that are missing RRS feed

  • Question

  • I'm attempting to change a few settings on the site collection level, but the options are missing. A post from this forum suggested the following:

    Step 1:-  Site Actions->Site Settings->Site Collection features->Sharepoint Server Publishing Infrastructure. just Click the  Activate button

    Step 2:-  Site Actions->Site Settings->Manage Site features->Sharepoint Server Publishing . just Click the  Activate button

    Unfortunately, step #1 results in the following error:

    "A duplicate field name "PublishingStartDate" was found.”

    Is anyone aware of what the issue is and how to fix it? Thanks!

    Tuesday, March 21, 2017 9:18 PM

All replies

  • Hi johnwmp,

    You can try use the following PowerShell to activate SharePoint Server Publishing Infrastructure feature:

    Enable-SPFeature -identity publishingsite –url http://yourdomain.com/sites/yourweb -force

    More information, please refer to:

    https://technet.microsoft.com/en-us/library/ff607803.aspx

    Best Regards,

    Lisa Chen


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com


    Wednesday, March 22, 2017 2:37 AM
    Moderator
  • This means that either you created such site column or this is not the first try you are attempting to activate the feature and the feature has been already partly activated.

    What you can try:

    1.  Find the site column called PublishingStartDate under Site Settings>Site Columns. Remove it and try to activate the feature again.

    2. If there are multiple columns like this and/or other things will start throwing errors after you removed the column, you can try removing the site collection and recreating it (better solution but not sure if applicable in your case) or..

    3. Deactivate the feature and activate it again. If deactivate button is not visible, in SharePoint Server you can use Disable-SPFeature, in SharePoint Online use CSOM. Have a look at those:

    https://gallery.technet.microsoft.com/Activate-or-deactivate-a-9fe2fb34 

    https://gallery.technet.microsoft.com/Activate-or-deactivate-a-a7e12c79 

    https://gallery.technet.microsoft.com/Activate-or-deactivate-a-da769f9d

    4. If none of these work, you may need to contact Microsoft Support via Ticket Request in your portal.

    Wednesday, March 22, 2017 10:08 AM
  • Thanks for the reply. I get an error when trying to run that command:

    The term 'Enable-SPFeature' is not recognized as the name
    of a cmdlet, function, script file, or operable program. Check the spelling of
    the name, or if a path was included, verify that the path is correct and try
    again.

    A few places have suggested trying to run this:

     Add-PSSnapin Microsoft.SharePoint.PowerShell

    But then it complains that Microsoft.SharePoint.PowerShell is not installed on my computer; I have .NET installed but it appears that the .dll is not in the GAC. How can I install this?

    EDIT: looks like I do have the .dll files in GAC_MSIL: it's just that PowerShell is not recognizing them. Is this a path issue?
    • Edited by johnwmp Wednesday, March 22, 2017 8:29 PM updated info
    Wednesday, March 22, 2017 4:44 PM
  • Are you working on a SharePoint Server or in SharePoint Online?
    Wednesday, March 22, 2017 9:16 PM
  • Are you working on a SharePoint Server or in SharePoint Online?
    SharePoint Online. Trying Lisa Chen's solution but PowerShell can't seem to find the .dll necessary to run the command.
    Wednesday, March 22, 2017 9:51 PM
  • Enable-SPFeature is not available for SharePoint Online:

    https://technet.microsoft.com/en-us/library/fp161364.aspx?f=255&MSPPError=-2147217396 

    Thursday, March 23, 2017 12:26 PM
  • Enable-SPFeature is not available for SharePoint Online:

    https://technet.microsoft.com/en-us/library/fp161364.aspx?f=255&MSPPError=-2147217396 

    Ok, I did try to run the script you posted here:

    https://gallery.technet.microsoft.com/Activate-or-deactivate-a-a7e12c79

    And it's taking a very long time to execute: I think it's hanging. Do you know if this is normal behavior and should I wait a little longer?

    Thursday, March 23, 2017 3:58 PM
  • It's hanging on deactivation or activation?
    Thursday, March 23, 2017 4:35 PM
  • It's hanging on deactivation or activation?

    Actually, I just checked back and it's enabled! Yay!

    Now when I go to enable SharePoint Server Publshing (which I believe is the next step to getting the welcome page to display) at the Site Level, I get a new error:

    Content type '0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF3900242457EFB8B24247815D688C526CD44D' not found in web '[SITE URL]'.

    Have you seen this before?

    Thursday, March 23, 2017 5:40 PM
  • Yes. This occurs because the feature activation was only partially successful.

    That's the content type:

    <ContentType ID="0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF3900242457EFB8B24247815D688C526CD44D" Group="$Resources:cmscore,group_pagelayoutcontenttypes;" Name="$Resources:cmscore,contenttype_articlepage_name;" Description="$Resources:cmscore,contenttype_articlepage_description;"> <FieldRefs> <FieldRef ID="{3de94b06-4120-41a5-b907-88773e493458}" Name="PublishingPageImage"/> <FieldRef ID="{F55C4D88-1F2E-4ad9-AAA8-819AF4EE7EE8}" Name="PublishingPageContent"/> <FieldRef ID="{B3525EFE-59B5-4f0f-B1E4-6E26CB6EF6AA}" Name="SummaryLinks"/> <FieldRef ID="{D3429CC9-ADC4-439b-84A8-5679070F84CB}" Name="ArticleByLine"/> <FieldRef ID="{71316CEA-40A0-49f3-8659-F0CEFDBDBD4F}" Name="ArticleStartDate"/> <FieldRef ID="{66F500E9-7955-49ab-ABB1-663621727D10}" Name="PublishingImageCaption"/> <FieldRef ID="{a932ec3f-94c1-48b1-b6dc-41aaa6eb7e54}" Name="HeaderStyleDefinitions"/> </FieldRefs> <DocumentTemplate TargetName="/_layouts/CreatePage.aspx" /> </ContentType>

    From: https://msdn.microsoft.com/en-us/library/ff648024.aspx?f=255&MSPPError=-2147217396 

    Friday, March 24, 2017 8:23 AM
  • Yes. This occurs because the feature activation was only partially successful.

    That's the content type:

    <ContentType ID="0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF3900242457EFB8B24247815D688C526CD44D" Group="$Resources:cmscore,group_pagelayoutcontenttypes;" Name="$Resources:cmscore,contenttype_articlepage_name;" Description="$Resources:cmscore,contenttype_articlepage_description;"> <FieldRefs> <FieldRef ID="{3de94b06-4120-41a5-b907-88773e493458}" Name="PublishingPageImage"/> <FieldRef ID="{F55C4D88-1F2E-4ad9-AAA8-819AF4EE7EE8}" Name="PublishingPageContent"/> <FieldRef ID="{B3525EFE-59B5-4f0f-B1E4-6E26CB6EF6AA}" Name="SummaryLinks"/> <FieldRef ID="{D3429CC9-ADC4-439b-84A8-5679070F84CB}" Name="ArticleByLine"/> <FieldRef ID="{71316CEA-40A0-49f3-8659-F0CEFDBDBD4F}" Name="ArticleStartDate"/> <FieldRef ID="{66F500E9-7955-49ab-ABB1-663621727D10}" Name="PublishingImageCaption"/> <FieldRef ID="{a932ec3f-94c1-48b1-b6dc-41aaa6eb7e54}" Name="HeaderStyleDefinitions"/> </FieldRefs> <DocumentTemplate TargetName="/_layouts/CreatePage.aspx" /> </ContentType>

    From: https://msdn.microsoft.com/en-us/library/ff648024.aspx?f=255&MSPPError=-2147217396 

    Is there a way to edit the PublishingContentTypes.xml file on SharePoint Online?
    Friday, March 24, 2017 1:52 PM