Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
JavaScriptアラートは廃止されたため、モーダルボックスを使用したくありません. ブラウザのコード ビハインドで発生するランタイム エラーを表示するにはどうすればよいですか。
これを入れてくださいweb.config:
web.config
<?xml version="1.0"?> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration>
編集
構成エラーではなく、アプリケーションの論理エラーであるエラーを確認したい場合は、ログを保持する必要があります。