开发者

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.

  1. You have an improper ASP.NET version selected in IIS so it cannnot get to your settings
  2. You have a malformed item in your web.config so the structure isn't correct
  3. Your custom errors section is commented out.....
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜