SharePoint Thoughts

Ramblings About SharePoint and Related Technologies

“Microsoft.SharePoint.SPException: One or more field types are not installed properly.” Using SPQuery

Have you run into this error?

 

“Microsoft.SharePoint.SPException: One or more field types are not installed properly.” ?

 

Well I did, I was banging my head into the wall, until I realized that the fields had been renamed at some point. Since the new name of the column was be referenced in the code using

SPListItem["FieldNameNew"]

When running a SPQuery. This caused the SPException to be thrown. To solve this, you should use the GUID of the column, or the previous field name. The lesson is when you change your column names, remember that its more of a vanity change, and the real field name stays the same.

 

No comments

No comments yet. Be the first.

Leave a reply