Solved

Sharepoint 2007 -- Content Query Webpart problem

Posted on 2010-11-24
4
893 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 500 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 500 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

809 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