ASP.NET application ends unexpectedly

O

Olivier GIL

Hello,

I wrote an ASP.NET 2.0 application that ends unexpectedly sometimes,
generally when I launch resource consuming methods like intensive database
accesses.

No application error is generated, and no event is logged on Windows event
log.

I tried to use ProcessModelInfo.GetCurrentProcessInfo in my Application_End
handler to get the ShutdownReason, but the code throws then an HttpException
saying that the process metrics are only available if ASP process model is
enabled.

Though, ASP process model seems to be active on my machine.config as it is
enabled by default :

<section name="processModel"
type="System.Web.Configuration.ProcessModelSection, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
allowDefinition="MachineOnly" allowLocation="false" />

<processModel autoConfig="true" />

I use .NET 2.0 and IIS 5.1 (XP Pro version).

How can I trace the reason why my application end ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,828
Latest member
LauraCastr

Latest Threads

Top