Jacksonville Developers User Group

Learn new things...write better code.
Welcome to Jacksonville Developers User Group Sign in | Join | Help
in
Home Blogs Forums

David Strommer

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

Cross posted from www.davidstrommer.com

Published Saturday, May 26, 2007 4:20 PM by david.strommer
Filed Under:

Comments

No Comments
Anonymous comments are disabled

This Blog

Post Calendar

<May 2007>
SuMoTuWeThFrSa
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

News

The content on this site represents my thoughts, opinions, and ideas. It does not reflect those of my employer's in any way.

Syndication

Powered by Community Server, by Telligent Systems