Solved

One or more fields are not installed properly

Posted on 2011-03-25
3
434 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
ID: 35216614
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
ID: 35216621
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
ID: 35217088
please provide the exact error message and ULS logs.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

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 …
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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).

863 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

27 Experts available now in Live!

Get 1:1 Help Now