即使在web.config中打开了详细错误,也可以从.NET Framework重写<customErrors mode =“Off”/>消息
这是可能的重写.NET Framework错误: Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. … <!– Web.Config […]