Wednesday, December 23, 2009

Fix "One or more field types are not installed properly. Go to the list settings page to delete these fields." Error in SharePoint CAML Query

Problem: I got this error when trying to retrieve list items using CAML SPQuery.

Root Cause: There was a field "Artifact ID" in the list, but the internal name was "Artifact",  so it resulted error! Adjusting the internal name in the Query XML fixed the problem.

In an another case,  Got this error:
"The following exception was thrown when trying to enumerate the collection: "One or more field
 types are not installed properly. Go to the list settings page to delete these fields."

One or more field types are not installed properly. Go to the list settings page to delete these fields.

This is because: XML is case sensitive, Field name was entered as "NotificationTo " instead of "NotificationTo" (Note the extra space!)

So the catch is: Always use Internal Name of the field and bear in mind, its case sensitive (E.g. NotificationTo and notificationto are not same!)



You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


Check out these SharePoint products:

No comments :

Post a Comment

Please Login and comment to get your questions answered!


You might also like:

Related Posts Plugin for WordPress, Blogger...