重装sql server 2005 遇到的问题Performance Monitor Counter Requirement

sql server 2005 重装时,出现了安装向导检测完以后就没下一步了,里面有Performance Monitor Counter Requirement (Error)提示,在随带的ReadmeSQL2005.htm文档中看到Side-by-Side Installations下面 有如下说明:

2.5.1 System Configuration Checker Fails with "Performance Monitor Counter Check Failed" Message

System Configuration Checker (SCC) verifies the value of the Performance Monitor Counter registry key before SQL Server installation begins. If SCC cannot verify the existing registry key, or if SCC cannot run the Lodctr.exe system program, the SCC check fails, and Setup is blocked. To complete setup, you must manually increment the registry key.

Caution:
Incorrectly editing the registry can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from editing the registry incorrectly can be resolved. Before editing the registry, back up any valuable data. For information about how to back up, restore, and edit the registry, see Microsoft Knowledge Base article 256986 .

To manually increment the counter registry key:
  1. On the taskbar, click Start, click Run, type regedit.exe in the Run text box, and then click OK.

  2. Navigate to the following registry key: [HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Perflib]. Look up the following keys:

    • "Last Counter"=dword:00000ed4 (5276)

    • "Last Help"=dword:00000ed5 (5277)

  3. Verify the values. The Last Counter value from the previous step (5276) must be equal to the maximum value of the Counter key from Perflib/009 in the following registry key, and the Last Help value from the previous step (5277) must be equal to the maximum value of the Help key from Perflib/009 in the following registry key: [HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Perflib/009].

    Note:
    "009" is the key used for the English (United States) language.

  4. If necessary, modify the value for the Last Counter and Last Help values in the /Perflib key. Right-click Last Counter or Last Help in the right pane, select Modify, click Base = Decimal, set the value in the Value data field, and then click OK. Repeat for the other key, if necessary, and then close the registry editor.

  5. Run SQL Server 2005 Setup again.

看了半天没看懂,照着描述打开注册表,在009下面的两项与perflib下面的值相同,也没大小之分啊?无奈网上一搜,终于找到前人的答案了,原来是从perflib下面的两个项004,009中找对应的项,比较其值最大的用啊。下面是原文引用:

       在开始菜单中点“运行”,输入“regedit”进入注册表,找到HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / Windows NT / CurrentVersion / Perflib,下面有004和009两项。双击004下面的Counter,在数值数据最底下倒数第二行的一个数字,记住这个数字。然后双击009下面的Counter,同样记住数值数据最底下倒数第二行的数字,然后点击Perflib下的Last Counter,改为十进制显示,将004和009下面的较大的数据写道这里面。同样的方法,把Help中较大的数值写道Last Help中,然后退出,重新安装就可以了!

 引文来源:http://www.knowsky.com/345211.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值