Installing SQL Server 2008 RC0 5

Today, I really struggled with MS SQL Server 2008 RC0. I tried to install it on my Microsoft Vista German box without any luck. During System Configuration Check it told me that the performance counter registry hive is corrupted. Looking at the detailed log I found this information: 

Rule Name: PerfMonCounterNotCorruptedCheck
Rule Description: Checks if existing performance counter registry hive is consistent.
Message/Corrective Action: The performance counter registry hive is corrupted. To continue, you
must repair the performance counter registry hive. For more
information, see

Obviously, I checked out the support-site and followed the instructions step by step. Unfortunately, without any luck. As a result, I continued looking for other reasons why the system configuration check could fail. After a couple of minutes I found a post from Rafael Candido which amongst other things linked to another post from Chris Torng on the Connect site from Microsoft.

As written in Rafael’s post, I copied the code snippet into the Forms1.cs file of a newly created Windows.Forms application. Below please find the code I used to evaluate it:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Globalization;

namespace WindowsApplication3
public partial class Form1 : Form
public Form1 ()
InitializeComponent ();

private void Form1_Load (object sender, EventArgs e)
string test = string.Format (“{0,3}”, CultureInfo.InstalledUICulture.Parent.LCID.ToString (“X”)).Replace (” “, “0”);
MessageBox.Show (test);

The result told me to look at Perflib code “007” in the registry (HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflib07). I then copied both registry keys (Counter/Help) from “009” and re-run the system configuration check.

Finally, it succeeded and I was able to install MS SQL Server 2008 RC0.

Leave a comment

Your email address will not be published. Required fields are marked *

5 thoughts on “Installing SQL Server 2008 RC0

  • Unknown

    Thx it worked for me too I am installing Sql Server 2008 on a Danish version of Vista, so I had to build the registry HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflib06.It is annoying that you often get conflicts with MS-products in other native language than english. I spend 2 days on solving this problem, so one again thank you very much.