?
Solved

Sharepoint 2007 -- Content Query Webpart problem

Posted on 2010-11-24
4
Medium Priority
?
938 Views
Last Modified: 2012-05-10
Hi,
We have a page in Sharepoint set up with webparts that query different sites to let users know if they have any items checked out in that site.  The queries are set up the same, but some of them are returning: "There is a problem with the query that this Web Part is issuing. Check the configuration of this Web Part and try again."

I notice that the sites that this query is failing on has different icons.  Attached is a screenshot.  What are these icons, and why is the query not working for these types of sites?  Note that the query executes properly for the Products and Marketing sites, but not for the Customers site (which has a different icon)
Screenshot showing the errors.
Thanks,
Jamie
0
Comment
Question by:jamorlando
  • 2
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
arduk earned 2000 total points
ID: 34209175
From what I can see, the icon that you have against your Customers site is used on sites that have the Office Sharepoint Server Publishing feature activated.

I am basing this on looking at my site structure, and experimentation with activating this feature, so you should confirm that this is the case in your environment as well.

I don't know why this would affect your web parts (I am assuming these are content query web parts? (CQWP)), although it may be worth ensuring that you have the publishing feature activated on the site on which you are using the CQWP - this article http://www.andrewconnell.com/blog/archive/2008/05/19/Using-the-Content-Query-Web-Part-in-nonPublishing-sites.aspx mentions that CQWP is only supported on publishing sites.

This article http://blogs.msdn.com/b/biyengar/archive/2009/05/29/content-query-webpart.aspx also mentions a limit on items in the CQWP - you will need to confirm that you are not exceeding these...

Hope this helps...
0
 

Author Comment

by:jamorlando
ID: 34230230
Awesome answer thanks.
My next question is, is there a way to activate publishing for these two sites that are non-publishing sites?
0
 
LVL 7

Assisted Solution

by:arduk
arduk earned 2000 total points
ID: 34233527
The publishing feature can be turned on by going to Site Actions->All site settings->Site Features (under Site Administration heading)
Click the "Activate" button next to the "Office SharePoint Server Publishing" feature.
If you don't see the feature listed, you may need to activate it at the site collection level first, to ensure that the features are available for each site through the site collection.

As always, I would recommend trying this on test site/site collection first, to confirm that it solves your problem.

Hope this helps...
0
 

Author Comment

by:jamorlando
ID: 34261905
Thanks for your help!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…

615 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