473,785 Members | 2,768 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_Err or 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 1615

kg****@gmail.co m 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_Err or 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.co m wrote:
kg****@gmail.co m 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_Err or 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
1131
by: senglory | last post by:
Code ------------------- using System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; namespace DEMONS {
0
1896
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 from some web clients (desktop browser, IE) , some other people do not have problems at all from theirs desktop. Also, some clients can access the web app but some can't! Some can use IE but not Netscape, some can't with both, but there are...
1
5864
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 selects a value, the codebehind event fires, but if the value is changed via javascript, it doesnt. I tried __doPostBack, but it posts entire form back and fires all the validation check. How can I achieve firing of server side event via javascript?...
0
1083
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
1313
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 login the web service with invalid user name 3 times) Did I do any thing wrong here? (VS2005) Please advice. Thanks in advance. John
1
1358
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 a local server. But after deploying the Submit button event of search request page doesnt get fired on the server, at the same time the login button event is firing for login page on the server. I tried to find out whats wrong using trace and...
1
1492
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 PageIndexChanged fires? Is it a field in the viewstate? Is it a value in the forms collections? I am trying to understand the mechanism of communication between the browser and the server. John Dalberg
0
1610
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 suggested they had an img tag with src="", I decided to look for instances of "src" and one by one start removing that code to see if it changed anything. Below is the one that, when I removed it, although it broke the flash menus and header, solved...
4
6154
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 Application_Start event doesnt fire, it skips it and goes directly to my default.aspx file. I do the following: 1. IISReset.
0
9645
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
9480
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
10325
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
10148
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
10091
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
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4053
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
2
3646
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.