unable to activate SharePoint Server Publishing feature site level in SharePoint 2013


Recently in a migration project, we faced one issue while trying to activate SharePoint 2013 publishing feature in a subsite. The error comes as:


Sorry, something went wrong
The feature failed to activate because a list at ‘PublishingImages’ already exists in this site. Delete or rename the list and try activating the feature again.
TECHNICAL DETAILS

Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: dd9a469d-9e16-a03f-d3a2-794a2716f9d9

Date and Time: 11/30/2015 12:27:29 AM

Also, you may like to read:
PowerShell to get all Sites and Subsites under Site Collection using PowerShell

Install workflow manager SharePoint 2013 step by step

Enable Breadcrumb in SharePoint 2013 or Implement Classic Breadcrumb in SharePoint 2013

The issue basically comes for us in MOSS 2007 to SharePoint 2013 migrated sites. I got two approaches to solve the issue.

First Approach:
We need to go to the PublishingImages library and rename the document library name to some other from the library settings page.

Then try to activate the publishing feature.

Second Approach:
For few subsites the other approach I have tried is I have activated the Publishing feature by using PowerShell command by using the -Force parameter.

The command is like below:

Enable-SPFeature -Identity PublishingWeb -URL https://SiteURL/ -Force



Hope this will be helpful.

Check out Best Alternative to InfoPath -> Try Now

You May Also like the Following SharePoint Online Tutorials:

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →