protected void Page_Load(object sender, EventArgs e)
{
ProcessInfo foo = ProcessModelInfo.GetCurrentProcessInfo();
Response.Write(foo.RequestCount.ToString());
}
the code above generates the following error :
Process metrics are available only when the ASP.NET process model is enabled. When running on versions of IIS 6 or newer in worker process isolation mode, this feature is not supported.
what is the reason for this error?