Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Collecting performance counter data

105 views
Skip to first unread message

Joe Kinsella

unread,
Mar 4, 2003, 9:44:47 AM3/4/03
to
I have a C# application that is collecting performance counters from a
series of Exchange 2000 servers setup in a cluster. The applications works
fine until a failover occurs on the cluster. At this time, I start getting
an InvalidOperationException with the text "Could not Read Category Index:
xxxxx" when I call
System.Diagnostics.PerformanceCounterCategory.GetInstanceNames().

Oddly enough, this occurs whenever I fetch counter objects such as
MSExchangeMTA or MSExchangeIS - but not base OS objects such as Memory or
Processor.

I very much doubt this is a .Net bug - but I sure could use some suggestions
on why it might be behaving this way.

Thanks in advance.

Joe

Joe Kinsella

unread,
Mar 4, 2003, 11:30:57 AM3/4/03
to
I did forget to mention one odd fact. After failover I can fetch these very
same counters that I cannot fetch in .Net via perfmon. And if I restart my
application, I can also begin collecting data from these counters.

"Joe Kinsella" <jkin...@silverbacktech.com> wrote in message
news:O9DB3vl4...@TK2MSFTNGP10.phx.gbl...

[MSFT]Allen

unread,
Mar 5, 2003, 2:37:10 AM3/5/03
to
Hi Joe,

Thank you for this valuable information. It sounds like a bug. I'll channel
it to a right place for further investigation.

Thanks,
-Allen

Disclaimer:
This posting is provided "AS IS" with no warranties, and confers no rights.
Got .Net? http://www.gotdotnet.com

--------------------
| Reply-To: "Joe Kinsella" <jkin...@silverbacktech.com>
| From: "Joe Kinsella" <jkin...@silverbacktech.com>
| References: <O9DB3vl4...@TK2MSFTNGP10.phx.gbl>
| Subject: Re: Collecting performance counter data
| Date: Tue, 4 Mar 2003 11:30:57 -0500
| Lines: 31

0 new messages