Modify the CallStack in Configure used by the website to True, and we will receive more error messages.
Application scenarios:
When I create a Lookup column in the list, only an error is prompted. Follow the above configuration to get the following detailed error information
Value cannot be null.
Parameter name: g at System. Guid .. ctor (String g)
At Microsoft. SharePoint. Utilities. SPUtility. ParseGuid (String strId)
At Microsoft. SharePoint. ApplicationPages. LookupFieldEditor. ShouldBeCountRelated (SPField field, Guid ownerListId)
At Microsoft. SharePoint. ApplicationPages. LookupFieldEditor. PopulateShowFieldDropDown (DropDownList showField, SPList lookupTolist, Guid ownerListId, String strSelectedField, String [] excludedShowFields)
At Microsoft. SharePoint. ApplicationPages. LookupFieldEditor. PopulateShowFieldDropDown (DropDownList showField, SPList lookupTolist, Guid OwnerListId, String strSelectedField)
At Microsoft. SharePoint. ApplicationPages. LookupFieldEditor. InitializeWithField (SPField field)
At Microsoft. SharePoint. ApplicationPages. FieldCustomizationPage. OnLoad (EventArgs e)
At Microsoft. SharePoint. ApplicationPages. FieldNewPage. OnLoad (EventArgs e)
At System. Web. UI. Control. LoadRecursive ()
At System. Web. UI. Page. ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)