We have a SharePoint Solution in which the lists (Document Libraries etc) can have one or more custom lookup field to represent LOB data. We were trying to reverse engineer these lists using SPSource, It all works fine as long as the list fields are standard
SharePoint types but fails when SPSource encounters custom lookup field. The error message we get is shown below.
“An exception occured while running SPSource:Field type <custom lookup field type> is not installed properly. Go to the list settings page to delete this field.”
On further investigation the exception occurs while iterating though the “list Fields” in the foreach statement of the method “private
static XmlNode BuildFieldsNode(XmlDocument listSchemaDoc,
SPList list, SPSite site)” of SPSource
The above error occure when we try to access the field that represents the custom lookup in the list.Fields collection.
Apparently in our solution we do similar iteration through list fields without any exception being thrown.
Any suggestion to fix this will be of great help.
Also let us know how we can use SPSource to reverse engineer a remote site.
Thanks & Regards