Tag: custom error pages

如何在MVC3中获取trace.axd的自定义错误页面?

我的MVC3应用程序显示403,404和500状态代码的自定义错误页面,但浏览到trace.axd会显示以下YSOD: Server Error in ‘/’ Application. Trace Error Description: Trace.axd is not enabled in the configuration file for this application. Note: Trace is never enabled when Details: To enable trace.axd, please create a tag within the configuration file located in the root directory of the current web application. This tag should then have its “enabled” […]