473,698 Members | 2,196 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Performance Counters

Hi, I'm using the Microsoft Enterprise Library in my ASP .NET 1.1
application, but only the following app blocks:

Microsoft.Pract ices.Enterprise library.Common
Microsoft.Pract ices.Enterprise library.Configu ration
Microsoft.Pract ices.Enterprise library.Excepti onHandling
Microsoft.Pract ices.Enterprise library.Excepti onHandling.Logg ing
Microsoft.Pract ices.Enterprise library.Logging

I installed my app in a Windows 2000 Server, and I also installed these four
components:
Microsoft.Pract ices.Enterprise library.Common
Microsoft.Pract ices.Enterprise library.Configu ration
Microsoft.Pract ices.Enterprise library.Excepti onHandling
Microsoft.Pract ices.Enterprise library.Logging

So, my app uses an event log entry, and writes it correctly, however I get
two or four error events (plus my app event) almost every time my app writes
to the event log, these are the error events:

Source: Perflib
Description: Access to performance data was denied to ASPNET as attempted
from C:\WINNT\Micros oft.NET\Framewo rk\v1.1.4322\as pnet_wp.exe

Source: Enterprise Library
Description: Failed to create instances of performance counter 'Distributor:
# of Logs Distributed/Sec' - Couldn't get process information from remote
machine.

Source: Enterprise Library
Description: Failed to create instances of performance counter 'Client # of
Logs Written/Sec' - Couldn't get process information from remote machine.

So, the ASPNET account doesn't have permissions to create instances of the
Enterprise Library performance counters, but, what can I do to give it that
permissions? or There is another way to resolve this problem??

Thanks.

--
_______________ ___
Luis Graillet Ramos
Aug 2 '06 #1
0 1886

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4743
by: David Mitchell | last post by:
Hello group, I'm trying to write code to test an application we're developing. This application needs to store its own performance data in the registry, and we'd like to be storing quite a large amount of performance data and updating it fairly quickly. Not surprisingly, we keep coming up with more and more performance data we'd like to be writing to the registry. My job is to come up with a test harness to establish the following:...
0
1169
by: rob_c | last post by:
Hi, I've been working with the EIF for a few days now. One of the default event sinks provided is the WMI. I've played around a bit and can send events to the WMI. My question here centers on performance counters and the WMI. Is there any way to increase a performance counter in the WMI through the EIF or am I barking up the wrong tree (I know that .NET has other classes which allow you to manipulate performance counters)?
2
4895
by: Mark | last post by:
Hi... We're looking at moving an ASP app from IIS 5 to IIS 6. In general things seem to be working okay, but there are some oddities around the edges. One of those unanticipated changes has to do with the new process model and the option to have more than one worker process per web instance. We found that each worker process has its own Application() state and anything your app puts there/uses gets a new copy for every worker...
2
2079
by: Marc Melancon | last post by:
Will the next release of SQL Server 2000 64bit sp provide performance counter? MarcM
0
2061
by: Christopher Attard | last post by:
Hi, I need to create a dialog like the 'Add Counters' dialog box in perfmon. I'm using the System.Diagnostics namespace class in .NET and I've managed to do it. The problem arises when I'm using such dialog box on a non-English Windows OS (I'm currently testing on Spanish WinXP Professional). I'm noticing that on non-English Windows OS there are some categories whose
7
4796
by: James | last post by:
Hi Has anybody had any experience of ASP.Net performance counters not updating. In the performance monitor application when I try to add the groups ASP.NET and ASP.NET Applications the counters all show 0. In addition, ASP.NET Applications does not show any of the ASP.NET instances that are running on the computer. The other counters for example % processor time work fine. The problem machine is a test server running Win2003. ...
19
3149
by: Tom Jastrzebski | last post by:
Hello, I was just testing VB.Net on Framework.Net 2.0 performance when I run into the this problem. This trivial code attached below executed hundreds, if not thousand times faster in VB 6.0 than in .Net environment, under VS 2005 Beta 2. Does anyone have any idea whether this will be addressed in the final release? Thanks, Tomasz
1
2447
by: jvn | last post by:
I am experiencing a particular problem with performance counters. I have created a set of classes, that uses System.Diagnostics.PerformanceCounter to increment custom performance counters (using .Net 2.0) The performance counter categories have been successfully created. When the set of classes are used by a WinForm test harness application, they function as expected, and the performance counters can be seen to be updated by using the...
1
6660
by: Robert Strickland | last post by:
I have a .Net web service (written for 1.1 Framework using C#) running on Windows 2003 with all latest patches. To help monitor the service, the code creates several performance counters. One server (this is a farm) I receive the following exception when trying to create the performance counters. We had an earlier issue where the ASPNET user account did not have the 'Performance Monitor' group. The exception was an access denied when trying...
10
3067
by: Zytan | last post by:
I made a program using the Timer class, and I start the timer with Timer.Start(), but don't stop it with Timer.Stop(), and I assumed this was ok, but, Process Explorer informs me, after running it about 10 or 20 times: --------------------------- Process Explorer --------------------------- The .NET performance counters on this system are corrupt. Run Exctrlst from the Microsoft Windows Resource Kit to repair them.
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8901
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8871
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7739
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.