473,404 Members | 2,174 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,404 software developers and data experts.

HttpModule Error event doesn't fire!!

Hi,

I have implemented global exception handler using http module by
intercepting the Error event.

The code works fine on my machine but the error event fails to fire
when deployed on the test servers.

The assembly containing the http module code has full control
permissions to everyone.

Interestingly, when I tried global.asax for the same purpose, the
Application_Error event didn't fire either.

I am using custom http handlers to create a custom '.page' extension as
opposed to the default '.aspx' extension.

Could some one shed some light on this particular behaviour as I think
it's pretty straightforward.

Thanks in advance.

Keshav

Jul 29 '06 #1
2 1594

kg****@gmail.com wrote:
Hi,

I have implemented global exception handler using http module by
intercepting the Error event.

The code works fine on my machine but the error event fails to fire
when deployed on the test servers.

The assembly containing the http module code has full control
permissions to everyone.

Interestingly, when I tried global.asax for the same purpose, the
Application_Error event didn't fire either.

I am using custom http handlers to create a custom '.page' extension as
opposed to the default '.aspx' extension.

Could some one shed some light on this particular behaviour as I think
it's pretty straightforward.

Thanks in advance.

Keshav
I would like to add that I have added the http module in web.config
under system.web/httpmodules.

Jul 30 '06 #2
Sorted!! There was a deployment issue and the logging functionality was
erroring!!

kg****@gmail.com wrote:
kg****@gmail.com wrote:
Hi,

I have implemented global exception handler using http module by
intercepting the Error event.

The code works fine on my machine but the error event fails to fire
when deployed on the test servers.

The assembly containing the http module code has full control
permissions to everyone.

Interestingly, when I tried global.asax for the same purpose, the
Application_Error event didn't fire either.

I am using custom http handlers to create a custom '.page' extension as
opposed to the default '.aspx' extension.

Could some one shed some light on this particular behaviour as I think
it's pretty straightforward.

Thanks in advance.

Keshav

I would like to add that I have added the http module in web.config
under system.web/httpmodules.
Jul 31 '06 #3

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

Similar topics

1
by: senglory | last post by:
Code ------------------- using System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; namespace DEMONS {
0
by: bruce | last post by:
ASP.NET app running for about a year with no problem and suddenly this week it's giving error message. The same as the one decribed by another user. Even stranger is that we only have this problem...
1
by: maheshvd | last post by:
Hi all, If I change the selected value of a dropdown server control on client side, is there any way to force the serverside Selectedindexchanged event? (if the user clicks on the dropdown and...
0
by: Charles Law | last post by:
Is there a way to get the MouseEnter event to fire for a user control that inherits from UpDownBase? The event is hidden, and does not fire when the mouse enters the control. TIA Charles
0
by: John | last post by:
I am writing a custom httpmodule, I can catch BeginRequest, EndRequest event, But I can not catch Error event, I tried throwing an error from my Web Service, creating a security exception (by...
1
by: =?Utf-8?B?U3Bhcmt5IDcxNzc=?= | last post by:
Hi, I am facing one deployment issue, I have 3 aspx pages one for Login, other for search request form and the third for displaying the results. After it was working fine locally I deployed it on...
1
by: John Dalberg | last post by:
What causes a server event to fire when something happens on the client? Say a user changed the gridview's page index, the server side PageIndexChanged event is fires. What makes...
0
by: manywolf | last post by:
I have an aspx page that fires the page load event twice for every load. I tried every fix that was suggested in all the posts on this and other forums. None changed the behavior. After one post that...
4
by: gamesforums | last post by:
Hi! I have some code within the Application_Start event in Global.asax that runs a sqlscript against my sql server to check the databas version. My problem is that sometimes the...
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: 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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
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,...
0
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...
0
isladogs
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...

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.