启动windows服务:
Windows 无法启动 xxxx 服务
错误 14001 应用程序无法启动 因为应用程序的并行配置不正确 有关详细信息 请参阅应用程序事件日志 或使用命令行 sxstrace.exe 工具
代码报异常:
启动服务失败,原因为: The type initializer for 'System.ServiceModel.Diagnostics.TraceUtility' threw an exception.
不要怀疑 服务.exe.config 文件配置错误
找了两天才发现是配置文件不认 & 这个符号 (并且符号,键盘7键上面那个符号)
两天啊 ...