Solved

Sharepoint 2007 -- Content Query Webpart problem

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now