This question seems to get asked about every three years and has yet to be answered, but perhaps the third time will be charmed:
I want to use the ODP.NET, Managed Driver, performance counters to monitor what's happening on our servers. I can see them fine in the list of available counters in the Windows Performance Monitor, but nothing happens when I select them and try to add them to the performance graph. The list of active counters remains the same as before I added them. I do have my application configured to enable the performance counters with the following in my web and app configs:
<oracle.dataaccess.client>
<settings>
<add name="PerformanceCounters" value="4095"/>
</settings>
</oracle.dataaccess.client>
although I would think this shouldn't make a difference for just adding them to perfmon. I can also see that they're enabled when I run lodctr /q:
[ODP.NET, Managed Driver] Performance Counters (Enabled)
DLL Name: netfxperf.dll
Open Procedure: OpenPerformanceData
Collect Procedure: CollectPerformanceData
Close Procedure: ClosePerformanceData
First Counter ID: 0x00002114 (8468)
Last Counter ID: 0x0000212C (8492)
First Help ID: 0x00002115 (8469)
Last Help ID: 0x0000212D (8493)
As other postings have suggested, I also tried running perfmon in 32-bit mode (using "mmc /32 perfmon.msc"), but that didn't have any affect. This happens on both my 64-bit Windows 8 desktop machine and the 64-bit Windows 2012 Server that I actually wan't to monitor.
I'm really at a loss here and hope that someone can suggest some way of actually having these performance counters active in perfmon. Thanks.