aspnet_wp.exe crashing

I am having the following show up in my application event log:

=====================================
Source: .NET Runtime
Event ID: 0
Description:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. The following
information is part of the event: .NET Runtime version 1.1.4322.2032-
aspnet_wp.exe - Common Language Runtime Debugging Services: Application has
generated an exception that could not be handled.

Process id=0xecc (3788), Thread id=0xe20 (3616).

Click OK to terminate the application.
Click CANCEL to debug the application..
=======================================

immediately after that, the next entry in the application log is
Source ASP NET 1.1.4322.0
Event ID: 1000

Description:
aspnet_wp.exe (PID: 3788) stopped unexpectedly.

=========================================

If I restart IIS, it works for a while, maybe a day, then it crashes again.
Any clues ?

Thanks,
Tom
tom [ Fr, 29 April 2005 18:32 ] [ ID #769838 ]

Re: aspnet_wp.exe crashing

Hi Tom:


Unfortunately, there is no easy way to know why the process stopped
unexpectedly.

You'll have to do some digging around. Fortunately there are tools
that can take a snapshot of the process before it terminates and from
there you can look at threads and call stacks to see what it was doing
at the moment it decided it needed to terminate.

See:
Production Debugging for .NET Framework Applications
http://msdn.microsoft.com/library/default.asp?url=/library/e n-us/dnbda/html/DBGrm.asp

Particularity chapter 4 will guide you on how to debug unexpected
process terminations.

HTH,

--
Scott
http://www.OdeToCode.com/blogs/scott/


On Fri, 29 Apr 2005 09:32:09 -0700, Tom
<Tom [at] discussions.microsoft.com> wrote:

>I am having the following show up in my application event log:
>
>=====================================
>Source: .NET Runtime
>Event ID: 0
>Description:
>The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
>found. The local computer may not have the necessary registry information or
>message DLL files to display messages from a remote computer. The following
>information is part of the event: .NET Runtime version 1.1.4322.2032-
>aspnet_wp.exe - Common Language Runtime Debugging Services: Application has
>generated an exception that could not be handled.
>
>Process id=0xecc (3788), Thread id=0xe20 (3616).
>
>Click OK to terminate the application.
>Click CANCEL to debug the application..
>=======================================
>
>immediately after that, the next entry in the application log is
>Source ASP NET 1.1.4322.0
>Event ID: 1000
>
>Description:
>aspnet_wp.exe (PID: 3788) stopped unexpectedly.
>
>=========================================
>
>If I restart IIS, it works for a while, maybe a day, then it crashes again.
>Any clues ?
>
>Thanks,
>Tom
Scott Allen [ Fr, 29 April 2005 19:26 ] [ ID #769856 ]

Re: aspnet_wp.exe crashing

You aren't using try/catch/finally everywhere you should. Trap
your errors...

--
2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx



"Tom" <Tom [at] discussions.microsoft.com> wrote in message
news:86CDC81A-9F81-4482-BAE3-AC038F4E3195 [at] microsoft.com...
>I am having the following show up in my application event log:
>
> =====================================
> Source: .NET Runtime
> Event ID: 0
> Description:
> The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
> found. The local computer may not have the necessary registry information
> or
> message DLL files to display messages from a remote computer. The
> following
> information is part of the event: .NET Runtime version 1.1.4322.2032-
> aspnet_wp.exe - Common Language Runtime Debugging Services: Application
> has
> generated an exception that could not be handled.
>
> Process id=0xecc (3788), Thread id=0xe20 (3616).
>
> Click OK to terminate the application.
> Click CANCEL to debug the application..
> =======================================
>
> immediately after that, the next entry in the application log is
> Source ASP NET 1.1.4322.0
> Event ID: 1000
>
> Description:
> aspnet_wp.exe (PID: 3788) stopped unexpectedly.
>
> =========================================
>
> If I restart IIS, it works for a while, maybe a day, then it crashes
> again.
> Any clues ?
>
> Thanks,
> Tom
Robbe Morris [ Sa, 30 April 2005 03:19 ] [ ID #771206 ]

Re: aspnet_wp.exe crashing

TOm as Robbe adviced try sing TRY/CATCH
It should help where to start from



*** Sent via Developersdex http://www.developersdex.com ***
Patrick Olurotimi Ige [ Sa, 30 April 2005 04:43 ] [ ID #771212 ]

Re: aspnet_wp.exe crashing

It doesn't sound like the problem is a managed exception - generally
something went terribly wrong in native code, or a memory threshold
was exceeded - something along those lines...

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Fri, 29 Apr 2005 21:19:54 -0400, "Robbe Morris [C# MVP]"
<info [at] turnkeytools.com> wrote:

>You aren't using try/catch/finally everywhere you should. Trap
>your errors...
Scott Allen [ Sa, 30 April 2005 21:19 ] [ ID #771282 ]

Re: aspnet_wp.exe crashing

For now I have done the following:
1. Locate machine.config (try
C:\WINNT\Microsoft.NET\Framewo­rk\<VERSION FOLDER>\CONFIG).
2. Open machine.config in Notepad or other text editor.
3. Search for this string: "<processModel"
4. In the processModel element, change userName="machine" to
userName="SYSTEM"


This seems to be working so far....not sure why.


"Scott Allen" wrote:

> It doesn't sound like the problem is a managed exception - generally
> something went terribly wrong in native code, or a memory threshold
> was exceeded - something along those lines...
>
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/
>
> On Fri, 29 Apr 2005 21:19:54 -0400, "Robbe Morris [C# MVP]"
> <info [at] turnkeytools.com> wrote:
>
> >You aren't using try/catch/finally everywhere you should. Trap
> >your errors...
>
>
tom [ Mo, 02 Mai 2005 14:31 ] [ ID #773275 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » aspnet_wp.exe crashing

Vorheriges Thema: custom paging+MS Access Database
Nächstes Thema: How to Edit record in Datagrid