gpt4 book ai didi

visual-studio-2010 - “DefaultAppPool”与万维网发布服务发生致命通信错误

转载 作者:行者123 更新时间:2023-12-01 19:17:24 26 4
gpt4 key购买 nike

我每次访问网站时都会收到事件日志条目:

Event Type: ErrorEvent Source:   VsJITDebuggerEvent Category: NoneEvent ID:   4096User:       NT AUTHORITY\NETWORK SERVICEComputer:   COMPUTER-02Description:An unhandled Microsoft .NET Framework exception occurred in w3wp.exe [2908]. Just-In-Time debugging this exception failed with the following error: Debugger could not be started because no user is logged on.Check the documentation index for 'Just-in-time debugging, errors' for more information.Data:0000: 02 00 5c 80               ..\    

系统日志

Event Type: ErrorEvent Source:   W3SVCEvent Category: NoneEvent ID:   1002Date:       28/03/2011Time:       17:49:28User:       N/AComputer:   COMPUTER-02Description:Application pool 'DefaultAppPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool.

应用日志

Event Type: WarningEvent Source:   W3SVCEvent Category: NoneEvent ID:   1011Date:       28/03/2011Time:       17:49:28User:       N/AComputer:   COMPUTER-02Description:A process serving application pool 'DefaultAppPool' suffered a fatal communication error with the World Wide Web Publishing Service. The process id was '3724'. The data field contains the error number. Data:0000: 6d 00 07 80               m..    

我也听从了Microsoft's Support site的建议没有运气。网络服务帐户在访问注册表时没有任何问题。

我需要在 IIS6(而不是 IIS Express 7.5)中运行该站点,因为该站点运行 ASP 和 ASP.NET 我需要通配符映射以在 ASP 中进行身份验证。

我已经完全没有想法了,因为该网站在 ASP.NET 3.5(CLR v2 ...)中很好,但是这次升级因调试而完全搞砸了。

任何帮助将不胜感激。

最佳答案

您将需要 WinDbg(Windows 调试工具)和 DebugDiag。

  1. 安装 DebugDiag 和 WinDbg
  2. 确保您已将相关框架的 SOS.dll 复制到 WinDbg 目录。
  3. 添加规则以捕获 IIS/COM+ 进程
  4. 在第一次出现异常时,创建一个完整的用户转储。限制为 10
  5. 打开网站并查看 DebugDiag,您应该会发现它开始进行完全转储。
  6. 获得一些内存转储后,加载 WinDbg 并单击"file"->“打开故障转储”并加载其中一个内存转储。
  7. 输入.load sos
  8. 键入 !clrstack
  9. 您将获得错误的堆栈跟踪信息,例如:
0:016> .load sos0:016> !clrstackPDB symbol for clr.dll not loadedOS Thread Id: 0xa60 (16)Child SP IP       Call Site01d2eb5c 7c81a251 [HelperMethodFrame: 01d2eb5c] System.Diagnostics.Debugger.LaunchInternal()01d2ebac 7a0e0166 System.Diagnostics.Debugger.Launch()*** WARNING: Unable to verify checksum for mscorlib.ni.dll*** ERROR: Module load completed but symbols could not be loaded for mscorlib.ni.dll01d2ebd8 04470176 ebiz.Global.Application_Start(System.Object, System.EventArgs)01d2f1f8 791421bb [DebuggerU2MCatchHandlerFrame: 01d2f1f8] 01d2f1c4 791421bb [CustomGCFrame: 01d2f1c4] 01d2f198 791421bb [GCFrame: 01d2f198] 01d2f17c 791421bb [GCFrame: 01d2f17c] 01d2f3a0 791421bb [HelperMethodFrame_PROTECTOBJ: 01d2f3a0] System.RuntimeMethodHandle._InvokeMethodFast(System.IRuntimeMethodInfo, System.Object, System.Object[], System.SignatureStruct ByRef, System.Reflection.MethodAttributes, System.RuntimeType)01d2f41c 79b3d689 System.RuntimeMethodHandle.InvokeMethodFast(System.IRuntimeMethodInfo, System.Object, System.Object[], System.Signature, System.Reflection.MethodAttributes, System.RuntimeType)01d2f470 79b3d37c System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, Boolean)01d2f4ac 79b3bfed System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)01d2f4d0 79b43284 System.Reflection.MethodBase.Invoke(System.Object, System.Object[])01d2f4dc 67894f4d System.Web.HttpApplication.InvokeMethodWithAssert(System.Reflection.MethodInfo, Int32, System.Object, System.EventArgs)*** WARNING: Unable to verify checksum for System.Web.ni.dll*** ERROR: Module load completed but symbols could not be loaded for System.Web.ni.dll01d2f500 678951cb System.Web.HttpApplication.ProcessSpecialRequest(System.Web.HttpContext, System.Reflection.MethodInfo, Int32, System.Object, System.EventArgs, System.Web.SessionState.HttpSessionState)01d2f550 67b34175 System.Web.HttpApplicationFactory.FireApplicationOnStart(System.Web.HttpContext)01d2f564 672bfe1c System.Web.HttpApplicationFactory.EnsureAppStartCalled(System.Web.HttpContext)01d2f59c 672bfd3d System.Web.HttpApplicationFactory.GetApplicationInstance(System.Web.HttpContext)01d2f5ac 672fbf28 System.Web.HttpRuntime.ProcessRequestInternal(System.Web.HttpWorkerRequest)01d2f5e0 672fbccd System.Web.HttpRuntime.ProcessRequestNoDemand(System.Web.HttpWorkerRequest)01d2f5f0 672fb2cd System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr, Int32)01d2f5f4 6791c30c [InlinedCallFrame: 01d2f5f4] 01d2f668 6791c30c DomainNeutralILStubClass.IL_STUB_COMtoCLR(Int32, Int32, IntPtr)01d2f7fc 791425a1 [GCFrame: 01d2f7fc] 01d2f86c 791425a1 [ContextTransitionFrame: 01d2f86c] 01d2f8a0 791425a1 [GCFrame: 01d2f8a0] 01d2f9f8 791425a1 [ComMethodFrame: 01d2f9f8] 

无论如何,对我来说,您可以看到 Debugger.Launch() 就在顶部,低看,我的代码包含它。似乎 IIS 不喜欢那样如果这是您的第一行代码,则完全没有!

关于visual-studio-2010 - “DefaultAppPool”与万维网发布服务发生致命通信错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5462528/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com