zoukankan      html  css  js  c++  java
  • .Net Runtime 2.0 Error, Event ID 5000

    Symptoms

    Running an application based on .Net framework 2.0 fails. The following error is logged in the Application Log:

    "Event Type: Error
    Event Source: .NET Runtime 2.0 Error Reporting
    Event Category: None
    Event ID: 5000
    Date: 01/01/2008
    Time: 14:28:13
    User: N/A
    Computer: T1MSG
    Description: EventType clr20r3, P1 adcopc.exe, P2 0.0.0.0, P3 4407bfd1, P4 mscorlib, P5 2.0.0.0, P6 4333ab80, P7 bd0, P8 59, P9 system.formatexception, P10 NIL."

    Cause

    This problem occurs because the default policy for unhandled exceptions has changed in the Microsoft .NET Framework 2.0. By default, the policy for unhandled exceptions is to end the worker process.

    In the .NET Framework versions 1.1 and 1.0, unhandled exceptions on managed threads are ignored. Unless you attached a debugger to catch the exception, you would not realize that anything was wrong.

    ASP.NET uses the default policy for unhandled exceptions in the .NET Framework 2.0. When an unhandled exception is thrown, the ASP.NET-based application unexpectedly quits.

    This behavior does not apply to exceptions that occur in the context of a request. These kinds of exceptions are still handled and wrapped by an HttpException object. Exceptions that occur in the context of a request do not cause the worker process to end. However, unhandled exceptions outside the context of a request, such as exceptions on a timer thread or in a callback function, cause the worker process to end.

    Resolution

    See Unhandled exceptions cause ASP.NET-based applications to unexpectedly quit in the .NET Framework 2.0.

     

  • 相关阅读:
    Python httpServer服务器(初级)
    分布式服务管理zookeeper的java api
    基于netty的异步http请求
    for之Python vs C#
    表单验证
    contact表单错误解决记录
    表单
    Django后台管理界面
    正则表达式替换和不包含指定字符串
    Django模型-数据库操作
  • 原文地址:https://www.cnblogs.com/liuliu/p/1669687.html
Copyright © 2011-2022 走看看