zoukankan      html  css  js  c++  java
  • Sharepoint2013:在页面上显示错误信息

    在sharepoint2013中我们需要修改以下三处的web.config,以显示错误信息

    1, C:inetpubwwwrootwssVirtualDirectories端口号web.config

    1>将customErrors元素中的mode将成Off

    <customErrors mode="Off" />

    2>将SafeMode中的CallStack改成True

    <SafeMode MaxControls="200" CallStack="true" DirectFileDependencies="10" TotalFileDependencies="250" AllowPageLevelTrace="false">
          <PageParserPaths>
          </PageParserPaths>
    </SafeMode>

    3>,将compliation 中的debug改成 true

    <compilation batch="false" debug="true">

    2  C:Program FilesCommon Filesmicrosoft sharedWeb Server Extensions15TEMPLATEADMINweb.config

    将customErrors 中的mode改成Off

    <customErrors mode="Off" />

    3  C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions15TEMPLATELAYOUTSweb.config

    将customErrors 中的mode改成Off

    <compilation batch="false" />
  • 相关阅读:
    ubuntu下安装常用软件合集
    Ubuntu16升级到18
    VScode安装教程
    查看系统信息脚本
    Excel应用笔记
    后缀数组
    笔记-AHOI2013 差异
    二分图
    动态规划dp
    笔记-CF1354E Graph Coloring
  • 原文地址:https://www.cnblogs.com/dataadapter/p/4560874.html
Copyright © 2011-2022 走看看