重裝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: <?xml:namespace prefix = ddue ns = "http://ddue.schemas.microsoft.com/authoring/2003/5" />
  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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章