- 24 Apr 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Blueprint Administrator fails to install on Windows 10
- Updated on 24 Apr 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Problem:
When installing the Blueprint 5.2 Administrator on a Windows 10 workstation I see the below error in the Sequencer.log file.
[2017/01/01 17:36:30 P1C0C D001 T001 e Sequencer] Exception...
1) Exception Information
=============================================
Exception Type: System.InvalidOperationException
Message: Cannot load Counter Name data because an invalid index '' was read from the registry.
HelpLink: NULL
Source: System
HResult: -2146233079
StackTrace Information
=============================================
at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
at System.Diagnostics.PerformanceCounterLib.get_NameTable()
at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
at System.Diagnostics.PerformanceCounterLib.CategoryExists(String machine, String category)
at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName, String machineName)
at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName)
at PharosSystems.Library.PerformanceStats.InstallCounters(String categoryName, String categoryHelp)
at PharosSystems.Blueprint.Services.ProjectInstaller.OnInstall()
at PharosSystems.Core.BaseAssemblyInstaller.Install(IDictionary stateSaver)
Resolution:
Running the below command in an elevated command prompt populates the registry keys Counter and Help in path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009\
C:\windows\SysWOW64> lodctr /r
Result: Info: Successfully rebuilt performance counter setting from system backup store