修改网站集中使用的Configure中的CallStack为True,我们将会得到更多的错误提示信息。

【SharePoint】修改configure配置获取更多信息

应用场景

我在列表中创建Lookup类型的列时,仅仅提示error。按照以上配置修改后得到以下详细的错误信息

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)

相关文章:

  • 2022-03-03
  • 2022-12-23
  • 2022-12-23
  • 2022-02-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-21
  • 2021-11-11
  • 2022-12-23
  • 2021-05-19
  • 2022-12-23
  • 2021-08-23
  • 2022-01-23
相关资源
相似解决方案