Solved

One or more fields are not installed properly

Posted on 2011-03-25
3
419 Views
Last Modified: 2012-06-27
I tried this query with CAML editor, and it shows me that error, I know the column exist, and that its written correctly

<Query><Where><And><Eq><FieldRef Name="Item_x0020_Language" /><Value Type="Choice">Nederlands</Value></Eq></And></Where><OrderBy><FieldRef Name="Created" Ascending="False" /></OrderBy></Query>
0
Comment
Question by:Simbios
3 Comments
 
LVL 31

Expert Comment

by:Jamie McAllister MVP
Comment Utility
You usually get that error when the CAML query is malformed, or the parser doesn't like something else about it.

If you're using this with SPQuery I'd lose the <Query> tags.

Also I'm seeing <And> elements but only a single equals clause inside (AND would expect two), so that's probably the culprit.
0
 
LVL 3

Accepted Solution

by:
Nomoho earned 500 total points
Comment Utility
Hello,

Try to remove one field from the query to see if it is:
Created or Item_x0020_Language which is wrong.

When you found which one (or two) of these field is wrong, find its real name and correct it.
Sometimes you must add "ows_ " at the beginning of the field names to use them in CAML query.

0
 
LVL 5

Expert Comment

by:navdeepmadan
Comment Utility
please provide the exact error message and ULS logs.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I have just recently built a new SharePoint 2007 farm on a complete Windows 2008 R2 server platform and part of my standard build procedure is to implement a warm up routine, usually in the form of a script that is scheduled every morning to launch …
When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

762 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

6 Experts available now in Live!

Get 1:1 Help Now