How to display error messages related to my code on Windows using IIS
This article has been created by an automatic translation software. You can view the article source here.
fr:Comment afficher les messages d'erreur liés à mon code sous Windows via IIS
he:כיצד להציג את הקוד שלי באמצעות הודעות שגיאה הקשורות IIS Windows
ro:Cum pentru a afişa codul meu prin mesajele de eroare legate de IIS Windows
ru:Как отобразить мой код с помощью сообщений об ошибках, связанных с IIS Windows
pl:Jak wyświetlić mój kod za pośrednictwem wiadomości błąd związany z IIS w systemie Windows
ja:IIS Windows 関連のエラー メッセージによって私のコードを表示する方法
ar:كيفية عرض رمز بلادي عبر رسائل الخطأ المتعلقة IIS Windows
zh:如何显示我的代码通过 IIS Windows 相关错误消息
de:Wie mein Code per Windows IIS-bezogene Fehlermeldungen angezeigt
nl:Hoe u kunt mijn code via IIS Windows-gerelateerde foutmeldingen weergeven
it:Come visualizzare il codice tramite i messaggi di errore relativi a Windows IIS
pt:Como exibir meu código através de mensagens de erro relacionadas ao IIS Windows
es:Cómo mostrar mi código a través de mensajes de error relacionados con el IIS de Windows
en:How to display my code via IIS Windows-related error messages
Introduction
It can be handy, in case you encounter any errors, to display the information related to them to find their origin (configuration du Server, erreurs dans le code, ...).
Procedure
It is not possible to set these options from the Plesk interface.
Therefore, you will need to appeal to the web.config file you must then file to the root of your Web directory. Here are its contents :
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.web>
<customErrors mode="Off" />
</system.web>
<system.webServer>
<httpErrors errorMode="Detailed" />
</system.webServer>
</configuration>
Enable comment auto-refresher