Thursday, August 21, 2008

Content Query Web Part Error

I get the following error when I try to add a ContentByQuery.webpart in my SharePoint site.
"Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator."

I wonder about this error because this error is not coming in another web application on the same system.

So I started investigating what should be the problem.

Means while I come to know that content query webpart is also not available in the “Add webpart Dialog”.

Then I came to know that this Content Query webpart is the part of
“Office SharePoint Server Publishing Infrastructure Feature“

So I resolved the error by activating this feature. This feature is rested in site collection feature.

And Content Query webpart is also available in the webpart pool.

No comments:




Share your SharePoint Experiences with us...
As good as the SharePointKings is, we want to make it even better. One of our most valuable sources of input for our Blog Posts comes from ever enthusiastic Visitors/Readers. We welcome every Visitor/Reader to contribute their experiences with SharePoint. It may be in the form of a code stub, snippet, any tips and trick or any crazy thing you have tried with SharePoint.
Send your Articles to sharepointkings@gmail.com with your Profile Summary. We will Post them. The idea is to act as a bridge between you Readers!!!

If anyone would like to have their advertisement posted on this blog, please send us the requirement details to sharepointkings@gmail.com