Solved

Sharepoint 2007 -- Content Query Webpart problem

Posted on 2010-11-24
4
884 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks for your help!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Sharrepoint 2010 DB size 2 18
SharePoint 2013 for Task Tracking 5 47
Sharepoint to FTP? 3 47
How to code SharePoint 2013 online 4 33
A question that is asked often, is how to generate sequential numbers in InfoPath Forms. The best way to achieve this is to use a SQL database, along with a stored procedure and a web service to connect Forms Services to the DB. The first thing t…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 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

11 Experts available now in Live!

Get 1:1 Help Now