The key 'LocalizedPerfCounter' does not exist in the appSettings configuration section.

Exception thrown: 'System.InvalidOperationException' in System.dll ("The key 'LocalizedPerfCounter' does not exist in the appSettings configuration section.")System.InvalidOperationException

KB2783767 补丁引起:http://support.microsoft.com/kb/2783767

解决方案:在config文件中增加<add key="LocalizedPerfCounter" value="true" />

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <add key="LocalizedPerfCounter" value="true" />
  </appSettings>
</configuration>


作者最新文章
css 去掉a标签超链接的虚线框的方法, 何去除超链接点击时的虚线?
C# 创建、保存、写入无 bom 的 utf-8 编码文件
ASP.NET aspx 后台代码执行前台js脚本, 弹出消息, 调用函数
ASP.NET aspx 后台代码控制前台显示、隐藏
js 打印功能