5

I have a Classic ASP/VBScript site running on IIS 6, and a program called SmarterStats (found via an earlier question) providing various stats and info from the server logs. This is an internal site, and we do use integrated authentication (AUTH_TYPE = Negotiate).

I'm looking at the report on response codes, and it says that in the last 7 days there have been 255 responses with a 5xx error code... naturally not the most useful stat I could get back.

I have a custom error page for 500 and 500.100 errors that logs the specifics for me to follow up on - and that log is virtually empty. I've tested with an intentionally broken page, and a standard user account, and it is working as expected - custom message, log entry made. (and checked with "friendly error messages" on and off - works either way)

The only entry I have in the log is a single entry for an error -2147024843 (authentication related, took too long to get a response), and that's it... what other errors could be happening and how can I find/track them?

Should I route all the different types of 5xx errors through my custom page? Or is there something else I should be doing?


Resolution: I'm going to go with running all 5xx errors through the custom page. For reasons that leave me totally baffled, the errors have stopped... I've not changed anything, no one has changed anything on that server - but the errors have stopped. Go figure.

4

2 に答える 2

2

It seems like logging all 5xx errors via your custom page might be a good idea. Your logging seems to be working, but SmarterStats seems like it might be giving you bogus data?

于 2011-06-11T03:37:26.887 に答える
1

どのバージョンのSmarterStatsを使用していますか?

Report Items > Server Responses > 5xx - Server Errors私のホスティングプロバイダーにはバージョン5.2があり、ナビゲーションツリーに移動すると、5xxエラーが発生したページの詳細なリストを確認できます。表示されるレポートには、エラーコードを生成したページを一覧表示するテーブルがあるため、それらのページを調べて、エラーの原因を確認できます。

サイトによっては、エラーは完全に正常な場合があります。たとえば、特定の状況で5xxエラーをスローするように実際に指定する標準化されたHTTPプロトコルを実装するカスタムHTTPハンドラーがいくつかあります。

これは、公開Webサイトの内部のみのサイトには当てはまらないはずですが、不適切に記述されたクローラーがエラーを生成するような方法でページにアクセスする場合があります。

于 2011-06-14T11:55:39.407 に答える