-1

suddently my website (asp.net-mvc iis) is down with error "Service unavailable". when i go to check the event viewer i see this error:

Source: VsJitDebugger

Error: An unhandled exception ('') occurred in w3wp.exe [5208]. Just-In-Time debugging this exception failed with the following error: Debugger could not be started because no user is logged on.

i tried starting and stopping the service but didn't seem to fix anything.

Is this an application bug or an enviroment issue? Can someone point me in the right direction on how to debug this. Site works fine locally (of course)

4

4 に答える 4

1

ボックスを再起動すると問題が解決することは既にご存じでしょうが、実際には IIS を再起動するだけでよいことを知りたいと思われるかもしれません。

コマンド ラインを管理モードで開き、iisreset と入力します。

再起動する必要はありません。

于 2016-05-23T10:12:22.263 に答える
0

I would first check the application code.

The symptoms you describe can result from an application issue.

If you have an app that has an endless loop, IIS will restart the app and resubmit the request, resulting in another endless loop. IIS will eventually shutdown w3wp.exe because of that, and you will get 503 service unavailable.

于 2011-04-25T14:19:00.243 に答える
0

サイトの web.config ファイルをチェックして、system.web/compilation@debug="true" かどうかを確認してください。サイトがデバッグ モードの場合は、その属性を false に設定して、問題が解決するかどうかを確認してください。

于 2011-04-25T13:32:54.333 に答える
-1

この問題の原因となったアプリでスタックオーバーフロー例外が見つかりました。新しいバージョンをプッシュしてボックスを再起動し、問題を修正する必要がありました。

于 2011-04-25T16:08:59.990 に答える