Forgot to post my environment information:
OS: Windows 2003 EE R2 w/ All Windows Update patches
..Net Framework: 2.0
Memory: 2GB
[quoted text, click to view] "Ashkan Daie" <adaie@nospam.com> wrote in message
news:OyVFx4WFGHA.3308@TK2MSFTNGP10.phx.gbl...
> 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(String name, Object
> defaultVa
> lue, Boolean doNotExpand, Boolean checkSecurity)
> at Microsoft.Win32.RegistryKey.GetValue(String name)
> at System.Diagnostics.PerformanceMonitor.GetData(String item)
> at System.Diagnostics.PerformanceCounterLib.GetPerformanceData(String
> item)
> at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
> at System.Diagnostics.PerformanceCounterLib.CategoryExists(String
> machine, St
> ring category)
> at System.Diagnostics.PerformanceCounterCategory.Create(String
> categoryName,
> String categoryHelp, PerformanceCounterCategoryType categoryType,
> CounterCreatio
> nDataCollection counterData)
> at System.Diagnostics.PerformanceCounterInstaller.Install(IDictionary
> stateSa
> ver)
> at System.Configuration.Install.Installer.Install(IDictionary
> stateSaver)
> at
> Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.ReflectionIns
> taller`1.Install(IDictionary stateSaver) in
> C:\Develop\GameFly\MultiDC\EntLib\sr
> c\Common\Instrumentation\ReflectionInstaller.cs:line 33
> at System.Configuration.Install.Installer.Install(IDictionary
> stateSaver)
> at System.Configuration.Install.Installer.Install(IDictionary
> stateSaver)
> at System.Configuration.Install.AssemblyInstaller.Install(IDictionary
> savedSt
> ate)
> at System.Configuration.Install.Installer.Install(IDictionary
> stateSaver)
> at System.Configuration.Install.TransactedInstaller.Install(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
>