zoukankan      html  css  js  c++  java
  • The configuration section for Logging cannot be found in the configuration source 分类: .NET 2013-08-08 17:02 680人阅读 评论(0) 收藏

    背景描述:

    一个C/S的程序,在调用一个B/S项目中的WebSerivce时,报错:

    The configuration section for Logging cannot be found in the configuration source

    经过搜索,得知B/S项目的配置文件有问题。


    解决方法:

    在B/S项目的配置文件Web.config中的节点<configSections>加入下面的内容

    <configSections>
        <section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
      </configSections>


    参考资料:http://entlib.codeplex.com/discussions/263361


    版权声明:本文为博主原创文章,未经博主允许不得转载。

  • 相关阅读:
    os模块
    函数练习
    集合 去重
    作业二:购物车程序
    作业一: 三级菜单
    字典练习
    字典
    切片
    冒泡练习
    判断整型数据奇偶数
  • 原文地址:https://www.cnblogs.com/configman/p/4657561.html
Copyright © 2011-2022 走看看