我的一台2003的服务器上,已经打了sp1,安装了framework   2.0和语言包,但是运行一段时间以后就频繁的报错。IIS就不能用了  
   
  错误1:  
  错误应用程序   w3wp.exe,版本   6.0.3790.1830,错误模块   ntdll.dll,版本   5.2.3790.1830,错误地址   0x000327f9。  
   
  错误2:  
  Faulting   application   w3wp.exe,   version   6.0.3790.1830,   stamp   42435be1,   faulting   module   mscorwks.dll,   version   2.0.50727.42,   stamp   4333e7ec,   debug?   0,   fault   address   0x0000b054.  
   
  错误3:  
  .NET   Runtime   version   2.0.50727.42   -   执行引擎错误(7A05E2B3)   (80131506)  
   
  错误4:  
  The   following   exception   was   thrown   by   the   web   event   provider   'EventLogProvider'   in   the   application   '/'   (in   an   application   lifetime   a   maximum   of   one   exception   will   be   logged   per   provider   instance):  
   
  System.AccessViolationException:   尝试读取或写入受保护的内存。这通常指示其他内存已损坏。  
        在   System.Web.UnsafeNativeMethods.RaiseEventlogEvent(Int32   eventType,   String[]   dataFields,   Int32   size)  
        在   System.Web.Management.EventLogWebEventProvider.ProcessEvent(WebBaseEvent   eventRaised)  
        在   System.Web.Management.WebBaseEvent.RaiseInternal(WebBaseEvent   eventRaised,   ArrayList   firingRuleInfos,   Int32   index0,   Int32   index1)   
    
    
    修改如下文件
%WINDIR%\Microsoft.NET\Framework\v2.0.50727
<configuration>
    <runtime>
        <legacyUnhandledExceptionPolicy enabled="true" />
    </runtime>
</configuration>