Hi All,
When trying to install a performance counter via InstallUtil I get the
following exception:
Creating performance counter category Enterprise Library Caching.
An exception occurred during the Install phase.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException'
was
thrown.
at Microsoft.Win32.RegistryKey.InternalGetValue(Strin g name, Object
defaultVa
lue, Boolean doNotExpand, Boolean checkSecurity)
at Microsoft.Win32.RegistryKey.GetValue(String name)
at System.Diagnostics.PerformanceMonitor.GetData(Stri ng item)
at System.Diagnostics.PerformanceCounterLib.GetPerfor manceData(String
item)
at System.Diagnostics.PerformanceCounterLib.get_Categ oryTable()
at System.Diagnostics.PerformanceCounterLib.CategoryE xists(String
machine, St
ring category)
at System.Diagnostics.PerformanceCounterCategory.Crea te(String
categoryName,
String categoryHelp, PerformanceCounterCategoryType categoryType,
CounterCreatio
nDataCollection counterData)
at System.Diagnostics.PerformanceCounterInstaller.Ins tall(IDictionary
stateSa
ver)
at System.Configuration.Install.Installer.Install(IDi ctionary stateSaver)
at
Microsoft.Practices.EnterpriseLibrary.Common.Instr umentation.ReflectionIns
taller`1.Install(IDictionary stateSaver) in
C:\Develop\GameFly\MultiDC\EntLib\sr
c\Common\Instrumentation\ReflectionInstaller.cs:li ne 33
at System.Configuration.Install.Installer.Install(IDi ctionary stateSaver)
at System.Configuration.Install.Installer.Install(IDi ctionary stateSaver)
at System.Configuration.Install.AssemblyInstaller.Ins tall(IDictionary
savedSt
ate)
at System.Configuration.Install.Installer.Install(IDi ctionary stateSaver)
at System.Configuration.Install.TransactedInstaller.I nstall(IDictionary
saved
State)
I also get a System.OutOfMemoryException when expanding the Performance
Counters node in Visual Studio 2005 Server Explorer.
Thanks in advance for your help,
Ashkan