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

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

应用场景

我在列表中创建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)

posted @ 2011-04-02 11:57  风影极光  阅读(376)  评论(0编辑  收藏  举报