473,721 Members | 2,402 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Very odd beahvior of web application

We have a C# application running under ASP.NET. It wasn't written using any
VS.NET magic; all of the call the System.Web are made explicitly. It uses
..NET 1.1; no other version of the framework is present on the machine.
There are two web.config files: the one at the top level specifies an
HttpModule, one in a subdirectory specifies an HttpHandler.

On some machines only, we see this odd behavior, and only after the app has
been running for some (variable) period of time: the HttpModule stops being
called. All requests for the vdir are still processed by ASP.NET, and URLs
including the subdirectory are still processed by its HttpHandler, but no
requests are processed by the HttpModule. Restarting IIS always fixes the
problem (temporarily).

First, has anyone seen anything like this. or has any ideas what might be
causing it?

Second, does anyone have ideas about how to debug it? We haven't found any
tracing to turn on, or any way to inquire of IIS/ASP.Net what it thinks the
state of the vdir or module is.
Dec 14 '05 #1
4 1110
Your first approach should be combing thru the application event logs to see
if something funny turns up. I suspect your module is failing.

I've never seen this before, but then again, i'm fresh here.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------

"Mike Schilling" <ms************ *@hotmail.com> wrote in message
news:#h******** *****@TK2MSFTNG P12.phx.gbl...
We have a C# application running under ASP.NET. It wasn't written using any VS.NET magic; all of the call the System.Web are made explicitly. It uses
.NET 1.1; no other version of the framework is present on the machine.
There are two web.config files: the one at the top level specifies an
HttpModule, one in a subdirectory specifies an HttpHandler.

On some machines only, we see this odd behavior, and only after the app has been running for some (variable) period of time: the HttpModule stops being called. All requests for the vdir are still processed by ASP.NET, and URLs including the subdirectory are still processed by its HttpHandler, but no
requests are processed by the HttpModule. Restarting IIS always fixes the
problem (temporarily).

First, has anyone seen anything like this. or has any ideas what might be
causing it?

Second, does anyone have ideas about how to debug it? We haven't found any tracing to turn on, or any way to inquire of IIS/ASP.Net what it thinks the state of the vdir or module is.

Dec 14 '05 #2

"Alvin Bruney - ASP.NET MVP" <www.lulu.com/owc> wrote in message
news:eD******** ******@TK2MSFTN GP11.phx.gbl...
Your first approach should be combing thru the application event logs to
see
if something funny turns up. I suspect your module is failing.


We haven't seen anything funny in the logs. What would "failing" mean here?
When a module throws exceptions, that will cause processing to be aborted
for the current message, but as far as I know it has no effect on other
threads. Or do you mean throwing an exception from Init() ?
Dec 14 '05 #3
You'd need to assemble a test case. I suspect your module is dead. Here's
how to test that scenario. First clear your application logs. Add some code
in your module that writes an event to the event log every hour or so. Let
the application run. Examine the logs to see if the messages are continuous.
I suspect they stop after a while. Find out what the while is and if there
are any incidents that cause that action. That would be my first step.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------

"Mike Schilling" <ms************ *@hotmail.com> wrote in message
news:uS******** ******@TK2MSFTN GP09.phx.gbl...

"Alvin Bruney - ASP.NET MVP" <www.lulu.com/owc> wrote in message
news:eD******** ******@TK2MSFTN GP11.phx.gbl...
Your first approach should be combing thru the application event logs to
see
if something funny turns up. I suspect your module is failing.
We haven't seen anything funny in the logs. What would "failing" mean

here? When a module throws exceptions, that will cause processing to be aborted
for the current message, but as far as I know it has no effect on other
threads. Or do you mean throwing an exception from Init() ?

Dec 15 '05 #4

"Alvin Bruney - ASP.NET MVP" <www.lulu.com/owc> wrote in message
news:eO******** ******@TK2MSFTN GP15.phx.gbl...
You'd need to assemble a test case. I suspect your module is dead. Here's
how to test that scenario. First clear your application logs. Add some
code
in your module that writes an event to the event log every hour or so. Let
the application run. Examine the logs to see if the messages are
continuous.
I suspect they stop after a while. Find out what the while is and if there
are any incidents that cause that action. That would be my first step.


Can you give me any hints about what sorts of things can kill modules? My
(possibly naive) view is that a module is an object created by the ASP.NET
runtime in response to configuration, that ASP.NET calls at defined times
during message processing. It doesn't have an associated thread that can
exit; it's called on the message-processing threads, possibly many at one
time. And as a managed object, it can't be manually deallocated. So what
does it mean that the module "dies", and how does that happen?

By the way, we've already put in tracing that shows that Dispose() isn't
being called on it.
Dec 15 '05 #5

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

Similar topics

1
1398
by: Søren Johansen | last post by:
Hi, I am making an application that is beginning to turn quite large. This application has some classes that are known by almost every other class namely CApplication, CProject and the like. So far, I have been passing around references to these classes in the constructors of all the other classes but it is beginning to annoy me to have to do this. I could easily make global variables, it wouldn't be unsafe in the sense that I know...
6
2652
by: Greg | last post by:
I am working on a project that will have about 500,000 records in an XML document. This document will need to be queried with XPath, and records will need to be updated. I was thinking about splitting up the XML into several XML documents (perhaps 50,000 per document) to be more efficient but this will make things a lot more complex because the searching needs to go accross all 500,000 records. Can anyone point me to some best practices...
3
1709
by: Trapulo | last post by:
I've two copy af the same asp.net application. The application enter on sql server, working with two separate databases (on the same sql server instance, of course). The connection is made with integrated security, and the server is a domain controller. If I start only the first application (call the web site), all right. If I start only the second application, all right. If I start an application, and then call a page from the second,...
9
10503
by: Vito DeCarlo | last post by:
I've been having this problem for a few weeks. PLEASE read this post before responding with some simple reason that has nothing to do with my problem. If you need more information, please request it as I'll be checking this post very often. PROBLEM: Occaisionally, our web server begins running ASP.NET pages extremely slowly. Other websites on the server run fine, including ASP pages. It almost seems as if the .NET caching system...
6
8577
by: B B | last post by:
Okay, here is what's happening: I have a reasonably fast laptop (1.4 GHz Mobile M, so comparable to 2.5GHz P4) doing .net development. Running Windows XP pro, SP2 IIS is installed and running fine All SQL Servers I am referring to share a small (10 computers or so) LAN with a 100MB Switch. No other computers on the LAN exhibit this problem.
3
1002
by: schiefaw | last post by:
Hello, I am developing a web application that contains a very complicated and data intensive page. The application has been tested and deployed, but now we are seeing problems. Some form elements (drop-downs) are blanking out during the trip to the server and back. This happens randomly and only on certain computers. We have tried to duplicate the problem on our own machines with no luck. I have watched the problem occur on the...
8
1645
by: pamelafluente | last post by:
Hi, I would like to get some advice. I know enough vb.net on win apps, but I have never worked on web applications and asp.net. I would appreciate if you could indicate the most basic tutorials where to start my journey with ASp net.
50
5722
by: diffuser78 | last post by:
I have just started to learn python. Some said that its slow. Can somebody pin point the issue. Thans
4
1357
by: garyusenet | last post by:
I have a login form, which i have made by simply modifying the standard wizard created form from Visual C# express - when I chose a windows application. I have two buttons on my login form. The first is OK, The second is cancel. For cancel i have the event set to application.exit
0
8851
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
8736
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
9227
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
9138
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
8016
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...
1
6676
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 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...
0
4761
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2584
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2137
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.