【问题标题】:ASP.NET exceptions not showing in Application EventLog应用程序事件日志中未显示 ASP.NET 异常
【发布时间】:2014-11-20 16:34:46
【问题描述】:

在我的 Windows 2008 R2 服务器上,每个未捕获的 ASP.NET 异常都会生成一个显示在 Windows 应用程序事件日志中的事件。

在我的 Windows 2012 服务器上,它们都没有。

我能做些什么,纯粹在配置中(不向我的应用程序添加代码),让我的 Windows 2012 服务器显示这些异常?

【问题讨论】:

  • 运行 IIS 应用程序池的帐户是否具有写入事件日志的正确权限?
  • 在 2012 服务器上,它作为 ApplicationPoolIdentity 运行。不够?

标签: asp.net


【解决方案1】:

您的问题很可能与权限有关。如果您对解决方案感到满意,请在此处查看此主题并将其标记为已回答

Writing to an event log in ASP.NET on Windows Server 2008 IIS7

谢谢

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2010-12-09
    • 2015-04-02
    • 2021-04-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多