IIS 8 - 500服务器错误日志 [英] IIS 8 - 500 server error logs

查看:784
本文介绍了IIS 8 - 500服务器错误日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个桌面应用程序,使到Web服务器上的ASP页的呼叫。 Web服务器正在返回一个500服务器错误,我无法弄清楚如何获得更多的细节。

I have a desktop application that makes a call to an asp page on the web server. The web server is currently returning a 500 server error and I cannot figure out how to get more detail.

有似乎没有在事件查看器什么:的Windows日志 - >应用程序

There doesnt seem to be anything in the Event Viewer: Windows Logs->application.

有没有设置,我可以做或其他地方,我可以找到日志?看起来这将是一个典型的问题,但我找不到这方面的消息。

Is there a setting I can make or another place I can find logs? Seems like this would be a typical issues but I cannot find any information on this.

(另外,堆栈跟踪不会通过来向客户端应用程序)

(Also, the stack trace does not come through to the client application)

推荐答案

您可以启用IIS管理器跟踪记录。它填充创建一堆XML文件可以很容易地通过调查在服务器上安装IE浏览器。 (其他浏览器可能无法处理XSLT样式文件)

You can enable "trace logging" on IIS Manager. It fill create bunch of XML files you can easily investigate using IE installed on the server. (other browsers may fail to process xslt style files)

的Technet :


  1. 打开IIS管理器,然后导航至要管理的级别。有关打开IIS信息Yöneticisi,请参阅IIS 7.0:打开IIS管理器。有关导航在UI位置的信息,请参阅IIS 7.0:导航在IIS管理器

  2. 在连接窗格中,单击网站。

  3. 在功能视图中,选择要启用跟踪日志记录的站点。

  4. 在操作窗格中,配置下,单击失败请求跟踪。

  5. 在编辑网站失败请求跟踪设置对话框中,选择启用,启用记录此网站。

  6. 在目录文本框中,要保存日志文件,或者单击浏览按钮(...)查找计算机上的某个位置键入路径。默认值是的%SystemDrive%\\的Inetpub \\日志\\ FailedReqLogFiles。

  7. 在跟踪文件文本框的最大数量,键入您希望保留跟踪日志文件的最大数量,然后单击确定。

PS:不要打扰IIS 7.0,几乎相同的IIS 8.x的

PS: don't bother IIS 7.0, almost same as IIS 8.x

这篇关于IIS 8 - 500服务器错误日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆