警告:未处理TypeInitializationException
在vs调试WCF服务时出现错误:
“System.TypeInitializationException”类型的未经处理的异常在 System.ServiceModel.dll 中发生 其他信息: “System.ServiceModel.Diagnostics.TraceUtility”的类型初始值设定项引发异常。
解决方法:
在配置文件App.config添加标签<system.serviceModel></system.serviceModel>
警告:未处理TypeInitializationException

相关文章: