Solved

Enabling SharePoint Server Publishing Infrastructure

Posted on 2010-09-01
14
2,976 Views
Last Modified: 2012-08-13
Hi,

I am trying to start the Server #publishing Infrastructure in the Site Collection Features but I am getting the error below:

Error
Failed to instantiate file "ContentQueryMain.xsl" from module "XSLStyleSheets": The specified list does not exist.

Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: 44f1b3f0-17b3-48fa-bd0d-736caadec2de

Date and Time: 01/09/2010 19:44:02

Thanks

ICTMAN
0
Comment
Question by:ictman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
  • 3
14 Comments
 
LVL 15

Expert Comment

by:melli111
ID: 33580477
From this link here:  http://social.technet.microsoft.com/Forums/en-US/sharepoint2010general/thread/0e7d0e52-c798-4d4d-a552-505e362c7b6a#0e7d0e52-c798-4d4d-a552-505e362c7b6a
First, please go to the C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES\PublishingResources, check whether the contentquerymain.xsl existed.
 
Second, open your SharePoint site, click all site content, then click style library, then click XSL style sheets, make sure contentquerymain.xsl exists.
 
If the contentquerymain.xsl file doesn’t exist, try to run setup to repair the files that are needed for the specified product. Running Setup in repair mode only affects the program files and does not repair your server configuration or any sites.
 
For more information about how to run setup with repair, please refer to the following article:
 
Setup command-line reference (SharePoint Server 2010)
http://technet.microsoft.com/en-us/library/cc262897.aspx 
0
 

Author Comment

by:ictman
ID: 33581836
I have tried the above but to no avail. It does not bring the style library back.
0
 
LVL 15

Expert Comment

by:melli111
ID: 33585938
Have you tried using stsadm to deactivate the feature, then uninstall the feature, then install the feature, then activate?
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

Author Comment

by:ictman
ID: 33587435
How would i do that ?
0
 
LVL 15

Expert Comment

by:melli111
ID: 33587935
First open up the Deactivate and the Activate file and change the %sitecollection% to the name of your site collection.
Then change the file extension to .cmd
Put these on your sharepoint server and run them using the sharepoint system account logon.
Run them in the following order (important):
  1. PublishingResourcesDeactivateFeature
  2. PublishingResourcesUninstallFeature
  3. PublishingResourcesInstallFeature
  4. PublishingResourcesActivateFeature
PublishingResourcesDeactivateFea.txt
PublishingResourcesUninstalllFea.txt
PublishingResourcesInstallFeatur.txt
PublishingResourcesActivateFeatu.txt
0
 
LVL 4

Expert Comment

by:Pstry
ID: 33594944
There is no need to reactivate features.

The actual reason is: someone removed 'Style Library' library. Please recreate it with original name. This is a regular library:

- go to the site actions
- choose 'New Document Library'
- enter "Style Library"
- confirm

Publishing Infrastructure should activate without problems.
0
 

Author Comment

by:ictman
ID: 33596647
I have still got the same error Do i need to add any files into the newly created Style Library?
0
 
LVL 4

Expert Comment

by:Pstry
ID: 33596672

Library does not need to have any files. Make sure that you created valid library in the root site (go to the "View All Site Content" and post screenshot).
0
 

Author Comment

by:ictman
ID: 33596703
Please see attached.
quicklaunch.docx
0
 
LVL 15

Accepted Solution

by:
melli111 earned 250 total points
ID: 33596804
The error he's getting states that it's trying to "instantiate file "ContentQueryMain.xsl"" from the library ....the library needs the files.  Which running the .cmd files should create these.
0
 

Author Comment

by:ictman
ID: 33596911
Sorry i dont understand running the .cmd files

Where do i find them?
0
 
LVL 4

Assisted Solution

by:Pstry
Pstry earned 250 total points
ID: 33596938
There are two possibilities:

- you did not add the library to the root web (it exists in some subweb)
- make sure that url of this library is "Style Library" (NOT e.g. "StyleLibrary" or "Style Library1")

The second one is very likely. If so - use SharePoint Designer to change the URL of the library (no way to do it from UI). It may exist folder named "Style Library" - remove it first (ensure its empty).
0
 
LVL 15

Expert Comment

by:melli111
ID: 33596943
They are the .txt files I attached to the message above from 09/02/10.  When you download them follow the instructions in that posting.  Changing the file extension to .cmd instead of .txt will make them .cmd files (ee doesn't allow attaching .cmd files - that's why I had to attach them that way).  
0
 

Author Comment

by:ictman
ID: 33597055
Thank you very much there was a folder named Style Library deleted that then re-created the document library and imported that .xls file


Cheers!!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

733 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