Can't see line graph for Performance Counters
rjcantrell
Posts: 4
I'm using the trial version of ANTS Profiler 4 on Windows XP SP3 to profile an ASP .NET 2.0 webapp running locally in either IIS or VS 2005's WebDev server app, and while I do see the execution times/counts of methods, I don't see the line graph that's supposed to represent CPU Usage (default) or the other performance counters chosen in the tool's UI.
Does this hook into Windows' performance counters? Is there any way to troubleshoot this and make sure it's properly using that service? (For reference, I don't think I have any sort of firewall/security app that would prevent this)
Any help you could provide would be greatly appreciated. Thanks!
Does this hook into Windows' performance counters? Is there any way to troubleshoot this and make sure it's properly using that service? (For reference, I don't think I have any sort of firewall/security app that would prevent this)
Any help you could provide would be greatly appreciated. Thanks!
Comments
Alternatively - check out this article which may help:
http://www.red-gate.com/supportcenter/C ... wledgebase\ANTS_Profiler\KB200810000316.htm
Stephen
I tried to find more information on what "lodctr" does, and came across this link about manually rebuilding one's performance counters: http://support.microsoft.com/kb/300956
Also, I have the export from "lodctr /S:[filename" (the opposite of "lodctr /R:[filename]"), which should show my current perf object values. Would it be helpful to see that here?
Finally, my user account is a member of Administrators, but just to be sure, I gave it the two permissions you mentioned, to no avail. the profiler should run as me and not need a service account to be added as well, correct?
%systemroot%\system32\lodctr /R:"%systemroot%\microsoft.net\framework\v2.0.50727\corperfmonsymbols.ini"
Hope it helps!
Googling the above error text hasn't yet yielded any results, but I'd be happy to hear your thoughts.
UPDATE: When SHOWPERF does load (after clicking through the error message), I can attempt to type the computer name ("." or "//[hostname]"), and I get the error "Unable to connect to Local Machine key on selected computer". Does this ring a bell for anyone? (Google fails here, too)
UPDATE 2: I know it's not registry permissions keeping SHOWPERF from working, as my user account is in the Administrators group. Also, to be thorough, I entered regedit and manually added Full Control of the Local Machine key to my user account.