title: Web.config isn't showing errors remotely even with customErrors="Off" (on ubuntu/mono)
body: <p>Here is my Web.config file:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
      &lt;system.web&gt;
          &lt;customErrors mode="Off" /&gt;    
          &lt;compilation debug="true" strict="false" explicit="true /&gt;    
          &lt;pages&gt;
            &lt;namespaces&gt;
              &lt;clear /&gt;
              &lt;add namespace="System" /&gt;
              &lt;add namespace="System.Collections" /&gt;
              &lt;add namespace="System.Collections.Generic" /&gt;
              &lt;add namespace="System.Collections.Specialized" /&gt;
              &lt;add namespace="System.Configuration" /&gt;
              &lt;add namespace="System.Text" /&gt;
              &lt;add namespace="System.Text.RegularExpressions" /&gt;
              &lt;add namespace="System.Web" /&gt;
              &lt;add namespace="System.Web.Caching" /&gt;
              &lt;add namespace="System.Web.SessionState" /&gt;
              &lt;add namespace="System.Web.Security" /&gt;
              &lt;add namespace="System.Web.Profile" /&gt;
              &lt;add namespace="System.Web.UI" /&gt;
              &lt;add namespace="System.Web.UI.WebControls" /&gt;
              &lt;add namespace="System.Web.UI.WebControls.WebParts" /&gt;
              &lt;add namespace="System.Web.UI.HtmlControls" /&gt;
            &lt;/namespaces&gt;
            &lt;controls&gt;
              &lt;add src ="~/controls/maleBed.ascx" tagPrefix ="mycontrol" tagName ="male"/&gt;
              &lt;add src ="~/controls/femaleBed.ascx" tagPrefix ="mycontrol" tagName ="female"/&gt;
            &lt;/controls&gt;
          &lt;/pages&gt;
      &lt;/system.web&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Even with customErrors mode set to Off (and its definitely a capital "O") its still showing me the default errors page telling me to set this property before I can see that actual error remotely.</p>
  
  <p>I don't have a machine.config file, and I've also set this customErrors mode="Off" in the Web.Debug.config and the Web.Release.config.</p>
  
  <p>Any ideas anyone?</p>
  
  <p>Thank you very much.</p>
  
  <p><strong>Edit - what its showing:</strong></p>
  
  <pre><code>Server Error in '/' Application
  
  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.
  
  Details: To enable the details of this specific error message to be viewable on remote machines, please create a &lt;customErrors&gt; tag within a "web.config" configuration file located in the root directory of the current web application. This &lt;customErrors&gt; tag should then have its "mode" attribute set to "Off".
  
  &lt;!-- Web.Config Configuration File --&gt;
  
  &lt;configuration&gt;
      &lt;system.web&gt;
          &lt;customErrors mode="Off"/&gt;
      &lt;/system.web&gt;
  &lt;/configuration&gt;
  
  
  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 &lt;customErrors&gt; configuration tag to point to a custom error page URL.
  
  &lt;!-- Web.Config Configuration File --&gt;
  
  &lt;configuration&gt;
      &lt;system.web&gt;
          &lt;customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/&gt;
      &lt;/system.web&gt;
  &lt;/configuration&gt;
  </code></pre>