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
  • 71,848
  • 143
  • 435
  • 658

1 Answers1

3

customErrors is case sensitive.

<system.web>
    <customErrors mode="Off">
    </customErrors>
...
</system.web>
Kaizen Programmer
  • 3,798
  • 1
  • 14
  • 30