Posts
76
Comments
229
Trackbacks
7
Performance counter "add" button disabled

Several months ago I posted about a NumberOfReclaimedConnections performance counter. 

http://drowningintechnicaldebt.com/blogs/davidstrommer/archive/2006/11/10/Connection-Pool-timeout-expired.aspx

Today while troubleshooting another problem related to connection pooling and the datareader, I noticed that the performance monitor "add" button for the SQL Data Provider counter was disabled.

You must add the following to your app/web config file to enable them:

<system.diagnostics>
  <switches>
    <add name="ConnectionPoolPerformanceCounterDetail"
         value="4"/>
  </switches>
</system.diagnostics>

Activating Off By Default Counters: http://msdn2.microsoft.com/en-us/library/ms254503(vs.80).aspx#ActivatingOffByDefault

Angel Saenz-Badillos on ADO.Net Peformance Counters: http://blogs.msdn.com/angelsb/archive/2004/08/02/206470.aspx

posted on Saturday, May 26, 2007 8:20 PM Print
Comments
Gravatar
# re: Performance counter "add" button disabled
CobbDoreen
12/22/2010 8:11 AM
  
Thanks a lot for the interesting information about this good topic! People know that the custom writing service would suggest the a href="http://www.exclusivepapers.com">essay writing. Moreover, there is a good chance to buy essays for sale and a href="http://www.exclusivepapers.com">custom essay just about this good post.
Gravatar
# re: Performance counter "add" button disabled
trophy hunting
1/9/2012 7:57 AM
  
This blog was very useful to me for giving information you've discussed.
Gravatar
# re: Performance counter "add" button disabled
culinary classes
1/23/2012 9:39 PM
  
Yeah, thanks for your diagnosis. I had the chance to enable it now. Good thing you've noticed it immediately.

Post Comment

Title *
Name *
Email
Url
Comment *  
Please add 8 and 1 and type the answer here: