probabilmente non stai testando direttamente sul server...ma su un client della tua intranet, ed agli utenti in remoto non e' permesso vedere l'errore 'nel suo vero aspetto'...

prova a fare quello che dice.

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

dovrebbe risolversi, o meglio, dovrebbe farti vedere l'errore.

"To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off". "