2

I need set CustomErrors on OFF in my web.config in IIS 7.5 for my MVC 3 web app.

Using this code the CustomError are still in default mode.

Could you tell me what I'm ding wrong here? Thansk

 <system.web>
    <customErrors mode="off">
</customErrors>
...

EDIT Solution (case sensitive problem)

 <system.web>
    <customErrors mode="Off">
</customErrors>
...
GibboK
  • 68,054
  • 134
  • 405
  • 638

1 Answers1

3

customErrors is case sensitive.

<system.web>
    <customErrors mode="Off">
    </customErrors>
...
</system.web>
Kaizen Programmer
  • 3,768
  • 1
  • 13
  • 29