Custom Error mode in Web.Config File
I have deployed my application on server and Now I am getting 开发者_运维问答this error:
To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL.
~~~ I have defined custom error pages for my applicatio.
Typically there is one of three causes, but we would have to see a web.config to get detail.
- You have an improper ASP.NET version selected in IIS so it cannnot get to your settings
- You have a malformed item in your web.config so the structure isn't correct
- Your custom errors section is commented out.....
精彩评论