The configuration section for Logging cannot be found in the configuration source 分类: .NET 2013-08-08 17:02 680人阅读 评论(0) 收藏
2013-08-08 17:02
232 查看
背景描述:
一个C/S的程序,在调用一个B/S项目中的WebSerivce时,报错:
The configuration section for Logging cannot be found in the configuration source
经过搜索,得知B/S项目的配置文件有问题。
解决方法:
在B/S项目的配置文件Web.config中的节点<configSections>加入下面的内容
参考资料:http://entlib.codeplex.com/discussions/263361
一个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
相关文章推荐
- C# 4.0 新特性dynamic、可选参数、命名参数等 分类: .NET 2013-07-26 11:15 414人阅读 评论(0) 收藏
- 删除IE下所有临时文件 分类: .NET 2012-05-02 13:45 390人阅读 评论(0) 收藏
- c# 将日志文件显示在WebBrowser控件中 分类: .NET 2012-12-18 16:03 781人阅读 评论(0) 收藏
- winform 判断鼠标在一段时间内是否移动 分类: .NET 2012-04-06 15:40 1236人阅读 评论(2) 收藏
- WebClient修改远程文件时:“远程服务器返回错误: (501) 未实现”的错误 分类: .NET 2012-11-17 16:01 3846人阅读 评论(0) 收藏
- c# 日志 分类: .NET 2012-12-17 14:16 1182人阅读 评论(0) 收藏
- 在 .NET 中开发基于 Chrome 内核的浏览器-创建一个简单浏览器 分类: C# 2014-10-27 16:27 594人阅读 评论(0) 收藏
- 用WPF控件MediaElement创建简易播放器(视频区域、播放控制区域、播放列表、循环播放) 分类: .NET 2012-08-16 10:47 3638人阅读 评论(0) 收藏
- 在 .NET 中开发基于 Chrome 内核的浏览器-创建一个简单浏览器 分类: C# 2014-10-27 16:27 593人阅读 评论(0) 收藏
- AxWindowsMediaPlayer使用 分类: .NET 2012-03-31 12:50 1644人阅读 评论(0) 收藏
- C#调用其他程序,比如控制别的程序上的按钮 分类: .NET 2012-04-19 16:50 2216人阅读 评论(0) 收藏
- 支持同步滚动的RichTextbox控件 分类: .NET 2013-04-23 13:00 416人阅读 评论(1) 收藏
- 启用事务操作,解决批量插入或更新sqlite,mssql等数据库耗时问题 分类: .NET 2015-06-18 14:39 31人阅读 评论(0) 收藏
- 在文本框的特定位置用*号替换 分类: .NET 2012-04-28 11:13 493人阅读 评论(1) 收藏
- 关于Embedded Resource(嵌入式资源)的理解 分类: .NET 2014-07-22 11:23 767人阅读 评论(0) 收藏
- WPF设置控件的透明度、背景色 分类: .NET 2012-05-28 14:55 6035人阅读 评论(0) 收藏
- 给按钮添加下拉菜单 分类: .NET 2011-07-01 11:34 434人阅读 评论(0) 收藏
- .net获取硬件信息 分类: .NET 2014-02-18 14:13 391人阅读 评论(0) 收藏
- c#操作MySql.Data.DLL 分类: .NET 2013-03-08 15:49 4177人阅读 评论(2) 收藏
- 去除字符串重复数据 分类: python基础学习 2013-08-08 17:43 171人阅读 评论(0) 收藏