473,385 Members | 1,483 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

WebRequestEvent not firing

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"
provider="EventLogProvider"
profile="Critical"/>
</rules>
</healthMonitoring>
I get some application events (app starting, stopping) and some audit events
(file & url authorization success) but I'm expecting to get some request
events aswell based on the WebRequestEvent class.

The docs state that this event is raised for every request.

Do I need some extra config to get these events?
Apr 16 '07 #1
4 1652
Hi David,

As for the "WebRequestEvent" event, I have also tested on my side, and did
get the same behavior as what you find. Actually, after some further
research, I think the MSDN document about the "WebRequestEvent" should
means this class is provided as base classes of any request specific event,
and it is left to the developers who will create the concrete sub classes
from it and use in the application. And the following statement:

"The WebRequestEvent is raised at every Web request. "

should means that if you use "WebRequestEvent", you should raise it in each
web request, for example, use HttpModule to raise the certain event. Also,
so far the ASP.NET 2.0 runtime system hasn't implemented any other concrete
event class derived from this "WebRequestEvent" class. The MSDN reference
has provided an example on creating a custom concrete WebRequest event
class:

http://msdn2.microsoft.com/en-us/lib....webrequesteve
nt.aspx

Anyway, I'll help you perform some further research to confirm on this.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.


Apr 17 '07 #2
Thanks Steven. I would be grateful if you could do some more digging. I am
curious about the WebEventCodes.RequestTransactionComplete field and when a
web event with this field would be raised.

http://msdn2.microsoft.com/en-us/lib...te(VS.80).aspx

"Steven Cheng[MSFT]" wrote:
Hi David,

As for the "WebRequestEvent" event, I have also tested on my side, and did
get the same behavior as what you find. Actually, after some further
research, I think the MSDN document about the "WebRequestEvent" should
means this class is provided as base classes of any request specific event,
and it is left to the developers who will create the concrete sub classes
from it and use in the application. And the following statement:

"The WebRequestEvent is raised at every Web request. "

should means that if you use "WebRequestEvent", you should raise it in each
web request, for example, use HttpModule to raise the certain event. Also,
so far the ASP.NET 2.0 runtime system hasn't implemented any other concrete
event class derived from this "WebRequestEvent" class. The MSDN reference
has provided an example on creating a custom concrete WebRequest event
class:

http://msdn2.microsoft.com/en-us/lib....webrequesteve
nt.aspx

Anyway, I'll help you perform some further research to confirm on this.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.


Apr 18 '07 #3
Hi David,

I have discussed this behavior with some other ASPNET engineers. here are
our current conclusion on this:

Based on the search in ASP.NET's source code, we haven't found any place
which raise thise WebRequestEvent instance, and there also hasn't any
concrete implemented class derived from it. Therefore, I think it should be
a document issue of the MSDN reference.

BTW, if you want like, you can create your own WebRequestEvent and raise in
your own code(such as custom httpmodule) as you need.

In addition, for the document issue, I suggest you try submit comments in
the MSDN reference link directly

http://msdn2.microsoft.com/en-us/lib....webrequesteve
nt.aspx

Or post in our product feedback center:

http://connect.microsoft.com/feedbac...spx?SiteID=210

Your feedback and comments are really appreciated!
Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 19 '07 #4
Hi David,

How are you doing on this issue, have you any further questions or does the
information in my last reply still helps a little? If there is anything
else we can help, please feel free to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 23 '07 #5

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

Similar topics

12
by: qaz | last post by:
For some reason my global.asa file is not firing. I have it located in the root of my website (e.g., wwwroot\mywebsite\global.asa) and I have the web site configured as an "application" in IIS. ...
0
by: Ram | last post by:
I have a start page for my application default.htm which contains four frames. header.htm login.aspx rightside.htm footer.htm login.aspx conatins username, password fields and login button....
3
by: Mike | last post by:
Hi, I am adding controls dynamically in a WebForm, but none of these controls' events fire. Here is the class code I am using. I have tried so many things, but nothing works :-( namespace...
0
by: developer | last post by:
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 web.config: <healthMonitoring enabled="true">...
7
by: Denise | last post by:
I just realized the DataTable_RowChanging events were firing when I called Fill method of the DataAdapter! It fires TWICE for each row loaded. I thought these were only supposed to be called when...
5
by: Datagridtextboxcolumn not firing event | last post by:
"PLEASE HELP, I NEED HELP N O W !!!" AddHandler dgtxtboxcolumn.textbox.KeyDown, AddressOf TextBoxKeyPress Private Sub TextBoxKeyPress(ByVal sender as Object, ByVal e as KeyEventArgs) End...
1
by: thedotnetarchitect | last post by:
Can anyone tell me why my page load event is firing more then once? I have a asp.net 2.0 page with four user controls and it seems that the user controls are loading but the page load event seems...
19
by: furiousmojo | last post by:
This is a strange problem. I have a project where the contents of global.asax application_error are not firing. It is an asp.net 2.0 application using web application projects. I have another...
1
by: Diana | last post by:
I've got a database that has been working successfully for a number of years now. I just added a new item - basically a field that becomes visible depending on another field's value. When I was...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.