One possible reason for 0x81020014 when querying a list for items in SharePoint

If you get that “famous” error: One or more field types are not installed properly. Go to the list settings page to delete these fields.0x81020014 you are given absolutely no hint which field and whats wrong with your SPQuery.Query I’m always using SPBuildInFieldId with the FieldRef-statements for out-of-the-box fields so a typo was not the […]

Disable the document-template for a list via code (DocumentTemplateUrl)

A current requirement was to disable the DocumentTemplateUrl for a SPList-instances. So the “New document” does not appear anymore inside the list. The trick So there is no such property available in the SPList-class which allows us to disable the DocumentTemplateUrl. In order to “get the property” we need to cast the object. // web […]