我已經將工作應用程序上傳到我的託管Web服務器,並且我正在工作的一個頁面會引發錯誤。在我的web.config我已經設置是這樣的:ASP.NET Web.config調試
....
<customErrors mode="Off" defaultRedirect="errorpage.htm">
<error statusCode="403" redirect="bannedaddress.htm" />
<error statusCode="404" redirect="filenotfound.htm" />
</customErrors>
<compilation debug="true" targetFramework="4.0">
....
,我重定向即使的customErrors模式設置爲關閉,以errorpage.htm。我無法找到有關日誌文件中的錯誤(除發生之外)的任何信息。
問題是:我應該改變什麼來調試應用程序?