zoukankan      html  css  js  c++  java
  • 【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)

  • 相关阅读:
    【leetcode】ZigZag——easy
    联合
    AddChildViewController
    imageWithRender(图片的渲染模式)
    13.范型函数的使用:将字典合并到当前字典
    12.代码获取命名空间名称,并创建相应的类(anyClass 应用)
    13.static 面向对象
    11.swift 单例
    swift String 扩展
    swift UIView 扩展
  • 原文地址:https://www.cnblogs.com/mingle/p/2003177.html
Copyright © 2011-2022 走看看