ASP.NET application ends unexpectedly

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 ?

--
Olivier GIL
LAFON SA
ogil [ Do, 24 Januar 2008 17:31 ] [ ID #1915484 ]

Re: ASP.NET application ends unexpectedly

turn on tracing and post further questions here:

microsoft.public.dotnet.framework.aspnet
Jon Paal [ Do, 24 Januar 2008 18:43 ] [ ID #1915486 ]

Re: ASP.NET application ends unexpectedly

Hi,

How should I turn tracing on ?
--
Olivier GIL
LAFON SA


"Jon Paal [MSMD]" wrote:

> turn on tracing and post further questions here:
>
> microsoft.public.dotnet.framework.aspnet
>
>
>
ogil [ Fr, 25 Januar 2008 09:48 ] [ ID #1916310 ]

Re: ASP.NET application ends unexpectedly

http://www.asp101.com/articles/robert/tracing/default.asp
Jon Paal [ Fr, 25 Januar 2008 16:18 ] [ ID #1916315 ]
Webserver » microsoft.public.inetserver.asp.general » ASP.NET application ends unexpectedly

Vorheriges Thema: Form update inside loop
Nächstes Thema: CreateObject Exception in ASP - Win2003 & IIS6