One or more field types are not installed properly. Go to the list settings page to delete these fields in executing CAML queries
-
Monday, August 06, 2012 12:44 PM
Hi,
An issues was reported to me where a developer was trying to use a CAML query and was getting this error:
"One or more field types are not installed properly. Go to the list settings page to delete these fields"Nour
All Replies
-
Tuesday, August 07, 2012 12:32 PMUsually this is when a field specified in the CAML doesn't exist in the site. Please check the field names are correct.
My SharePoint Blog - http://www.davehunter.co.uk/blog Twitter - @davehunter
-
Tuesday, August 07, 2012 12:41 PMcan you please provide the caml query and your list fields..
Hiren Patel | Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.
-
Wednesday, August 08, 2012 7:50 AMyes field names are correct
Nour
-
Wednesday, August 08, 2012 7:51 AM
"<Where><And><Eq><FieldRef Name='الموظف'/><Value Type='User'>" + user[1] +
"</Value></Eq><Geq><FieldRef Name='التاريخ'/><Value Type='DateTime'>" + date +
"</Value></Geq></And></Where>";field1 : الموظف type : user
field2 :التاريخ type : datetime
Nour
-
Thursday, August 09, 2012 5:51 AM
Hello Nour,
Can you please check the internal name of the column of your list as shown below,
is it same as you specified in the caml query?
check the internal name as shown bwlo by go to list settings->select column section and mouse hover on the column that will show the internal name of the field on the status bar and used this internal name in the caml query
Hiren Patel | Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.
- Proposed As Answer by Dhileep Varma Thursday, August 09, 2012 9:31 AM
-
Thursday, August 09, 2012 9:38 AM
Hi Nour,
As mentioned by Hiren, this issue is due to the internal name of the field that was not matched with the FieldRef Name used in the Caml query. You can also get the internal name of the field using the below code.
string str = list.Fields["Display Name"].InternalName;
Use this internal name of the field in the caml query for all the fields used in the query. This will resolve this issue.
Thanks,
Dhileep- Proposed As Answer by Dhileep Varma Tuesday, August 21, 2012 9:51 AM
- Unproposed As Answer by Hemendra AgrawalMicrosoft Community Contributor, Moderator Saturday, March 16, 2013 7:44 AM
-
Friday, August 10, 2012 2:18 AM
This cause of this error are following:
-
CAML Query is not well formed
-
The Fields present in the query is not present in the List on which the query is fired.
Please check the internal name of the Fields for which you are firing the query. Hope this will help.
Sharepoint Sutra
Sharepoint Consultant -
-
Friday, August 31, 2012 10:58 AMSame case happeninig to me, I ve done same in custom list joins .... its working bt in calendar list when i do join and if i try to access one of the projected fields then it gives me problem

