KevM
unread,Oct 14, 2009, 11:46:27 AM10/14/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to masstransit-discuss
FYI - Recently grabbed latest of MassTransit and now I am seeing these
Errors in my log.
ERROR 10:41:54 Unable to create performance counter category
System.Security.SecurityException: Requested registry access is not
allowed.
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean
writable)
at System.Diagnostics.PerformanceCounterLib.CreateRegistryEntry
(String categoryName, PerformanceCounterCategoryType categoryType,
CounterCreationDataCollection creationData, Boolean& iniRegistered)
at System.Diagnostics.PerformanceCounterLib.RegisterCategory(String
categoryName, PerformanceCounterCategoryType categoryType, String
categoryHelp, CounterCreationDataCollection creationData)
at System.Diagnostics.PerformanceCounterCategory.Create(String
categoryName, String categoryHelp, PerformanceCounterCategoryType
categoryType, CounterCreationDataCollection counterData)
at
MassTransit.Monitoring.ServiceBusPerformanceCounters.InitiatizeCategory
() in c:\projects\masstransit\src\MassTransit\Monitoring
\ServiceBusPerformanceCounters.cs:line 152
The Zone of the assembly that failed was: MyComputer
ERROR 10:41:54 Unable to create performance counter
System.InvalidOperationException: The requested Performance Counter is
not a custom counter, it has to be initialized as ReadOnly.
at System.Diagnostics.PerformanceCounter.Initialize()
at System.Diagnostics.PerformanceCounter..ctor(String categoryName,
String counterName, String instanceName, Boolean readOnly)
at MassTransit.Monitoring.InstancePerformanceCounter..ctor(String
name, String categoryName, String instanceName) in c:\projects
\masstransit\src\MassTransit\Monitoring\InstancePerformanceCounter.cs
:line 26
at
MassTransit.Monitoring.ServiceBusInstancePerformanceCounters.CreateCounter
(RuntimePerformanceCounter counter) in c:\projects\masstransit\src
\MassTransit\Monitoring\ServiceBusInstancePerformanceCounters.cs:line
151
*** Repeats quite a few times ***