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
Solved

One or more fields are not installed properly

Posted on 2011-03-25
3
453 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

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…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 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