serkan sendur 821 Postaholic Banned Featured Poster
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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.