473,854 Members | 1,494 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unable to get a WebRequestEvent through the health monitoring API

I am trying to get a custom provider to receive health monitoring events in
vb.net, whidbey beta 1. I have a health monitoring setup like this in my

<healthMonitori ng enabled="true">
<add name="LocalSQL"
type="System.We b.Management.Sq lWebEventProvid er"
connectionStrin gName="connLoca lSQL" />
<add name="CustomPro vider"
type="TestDll.T est.claWebEvent Provider"
<eventMapping s>
<add name="MyEvent"
type="TestDll.T est.claWebEvent "
<!-- Add from Machine.config. comments;
Doesn't work with or without this using a custom class
derived from WebRequestEvent or otherwise.-->
<remove name="Request Processing Events" />
<add name="Request Processing Events"
type="System.We b.Management.We bRequestEvent,S ystem.Web,Versi on=2.0.3600.0,C ulture=neutral, PublicKeyToken= b03f5f7f11d50a3 a" />

<add name="OnCustom"
eventName="MyEv ent"
provider="Custo mProvider" />
<add name="OnRequest "
eventName="Requ est Processing Events"
provider="Custo mProvider"
<add name="OnError"
eventName="All Errors"
provider="Custo mProvider"
</healthMonitorin g>

I can use either my SqlWebEventProv ider or my custom provider and receive
error events (by causing an exception) and my custom event (by instantiating
and raising it).

My problem is that so far I have been unable to receive a WebRequestEvent . I
thought from looking at Machine.config. comments that this would be fired on
request and that all I have to do to receive it is, as with the "All Errors"
event, set up a rule to point it at my provider.

I would appreciate it if someone could explain to me how to use
WebRequestEvent s and the "Request Processing Events" built-in event to
capture request information using the health monitoring framework.

Nov 19 '05 #1
0 1315

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

Similar topics

by: athos | last post by:
Dear guys, Now we are trying to build an Audit-Log module for our projects. The idea is to 1. develop a module that could be used by different projects to save the log, including account management, master data, and transaction data actions. 2. based on the requirement of each project, use SSRS to define different reports showing corresponding logs
by: athos | last post by:
Dear All, I am following the msdn guidelines (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/paght000011.asp) trying the Health Monitoring module. Everything looks fine, webpage prompted out, button clicked, however, no record was logged in table "aspnet_WebEvent_Events"! Then I stepped in to debug, the line testEvent.Raise();
by: russell.lane | last post by:
This is a health monitoring for web applications / web services question. I'm trying to set up health monitoring for web services and a web application. To start very simply, I want to turn on event logging for web requests. To do this I added the following markup to the <system.web> section of the web.config file in the service and application directories: <healthMonitoring enabled="true" heartbeatInterval="0"> <rules> <add...
by: Glyn Simpson, MVP | last post by:
Hi I've got an ASP.NET 2.0 application, and I would like to catch the scenario of when I get a certain number of application errors, I want to restart the application (similar to 'touching' web.config). However, I don't have access to IIS, nor can I FTP in a new web.config file to force the application to restart.I can't see any way at the moment to do this through code, which would be good, as I can then restart it remotely (through...
by: William Sullivan | last post by:
I've got a 2.0 app that is crashing prior to the first page being displayed. I'm getting a "FileNotFoundException" with the message that a module wasn't found. No word on the module that is missing. Using FileMon, I've seen that the worker process is attempting to find the compiled version of the login page (blahblah.aspx.184848484848.compiled), wasn't able to find it anywhere, then looked for and found the webpage...
by: wwwmike | last post by:
My applications (ASP.NET 2.0 /IIS 6) get restarted almost every 20 mintues. When asking my dear provider, he/she replied that I should have a closer look into my source code. Unfortunatelly they did not give me any hints WHERE and WHY I have all these restarts. Granted, I pay 20USD/month and they want for sure not spend hours for detecting my problem. I suspect that my ADO.NET calls to SQL Server have something to do with
by: =?Utf-8?B?RGF2aWQ=?= | last post by:
I am trying to configure health monitoring to but I seem to be missing some events, specifically the request processing events. I am using the following configuration. <healthMonitoring enabled="true"> <rules> <clear/> <add name="All Events" eventName="All Events"
by: brad.serbus | last post by:
I am trying to figure out a way to have health monitoring throw different Event IDs into the event log, and am having a hard time. None of the customization that I have looked through so far has been helpful, yet. As an example, here's a text copy of a typical unhandled exception from the event log: Event Type: Warning Event Source: ASP.NET 2.0.50727.0
by: mmuqu001 | last post by:
Hi All! I am looking for Network and System monitoring tool.I am new bie in this feild.so any suggestion would be welcome 1)Should be compatiable with *nix,FreeBSD,Windows. 2). You are to implement a System Monitoring solution that will do (among others) - Hardware health check: CPU, memory, storage, ... - Software health check: Web Services(Like in house services TerraFly Similar to google maps , textual/imagery requests).
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...
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...
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...
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...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
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...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
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: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.