The configuration section for Logging cannot be found in the configuration source
来源:互联网 发布:开农村淘宝服务站 编辑:程序博客网 时间:2024/05/21 09:02
背景描述:
一个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
- The configuration section for Logging cannot be found in the configuration source
- ADO.NET Entity framework 连接MySql 提示The specified store provider cannot be found in the configuration
- No configuration found for the specified action: ''in namespace: '/'
- No configuration found for the specified action: '/' in namespace
- No configuration found for the specified action: 'user' in namespace: ''
- The requested page cannot be accessed because the related configuration data for the page is invalid
- No configuration found for the specified action
- No configuration found for the specified action:
- The specified named connection is either not found in the configuration, not intended to be used
- Cannot update VMware Tools correctly :the configuration program is to be executed in a virtual match
- The builder launch configuration could not be found
- The builder launch configuration could not be found
- Action ***cannot be found in the namespace
- action cannot be found in the namespace/
- 警告: No configuration found for the specified action: '/myNameSpace/login.action' in names
- 警告: No configuration found for the specified action: '/myNameSpace/login.action' in names
- No configuration found for the specified action: 'xxx/xxx.action' in namespace: ''. Form action def
- 警告: No configuration found for the specified action: '/myNameSpace/login.action' in names
- 问题总结
- aside标签
- uva 10562
- 快速高斯模糊算法
- 需求分析中减少客户摩擦的若干法则
- The configuration section for Logging cannot be found in the configuration source
- MVC 设计模式
- cygwin下设置中文
- View与ViewGroup绘制过程,手势监听顺序与使用
- 01.JAVA性能调优参考
- 关于Direct3D11中字体的思考
- 多态性——vptr和vtable
- Hibernate Session篇--Hibernate的缓存及对象的状态
- Hibernate事务管理