Please Help, ASP.Net Performance counter

I have a lot of problem with ASP.Net Apps performance counter in my project. I make a program that can monitor performance in every ASP.Net Application that wanted by a user with URL address as the parameter.

1. I have difficulties to get the "virtual directory" from a specified URL Address as "instance name" parameter in ASP.Net Performance counter.

2. when I try to test my performance counter to get performance data from some ASP.Net application with this code :
PerformanceCounter PC = new PerformanceCounter("ASP.Net Apps v1.1.432", "Request Total"," _lm_w3svc_1_root_PerfMeas");
it return error telling that no instance name "_lm_w3svc_1_root_PerfMeas". But when I run this code from the "PerfMeas Application" in can run nicely.

if you af any reference about this problem please inform me.
[834 byte] By [saktya] at [2007-11-19 14:33:59]