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.
新しいドメインを使用しました。サイトが正常に動作するよりもhtmlページのみを設定した場合。しかし、web.config と aspx ページを使用すると、サイトでエラーが発生します。
エラー: HTTP エラー 500.19 - 内部サーバー エラー ページの関連構成データが無効であるため、要求されたページにアクセスできません。
最初に web.config が整形式かどうかを確認し、次に次のスニペットのように customError のモードを off に変更します。
<customErrors mode="off" />
上記は、aspx またはコード ビハインドに関連するエラーの詳細を明らかにします。