Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Sharepoint 2007 -- Content Query Webpart problem

Posted on 2010-11-24
4
Medium Priority
?
920 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
[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
  • 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

719 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