Pagina de tratamento de Erros
Bom Dia Pessoal
Estou tendo que fazer uma pagina em Asp.net para tratamento de erros amigavel para usuários ja coloquei no web.config
<system.web>
<!--
In the example below, the "Replace" transform will replace the entire
<customErrors> section of your web.config file.
Note that because there is only one customErrors section under the
<system.web> node, there is no need to use the "xdt:Locator" attribute. -->
<customErrors defaultRedirect="TrataErro.aspx"
mode="RemoteOnly" xdt:Transform="Replace">
<error statusCode="500" redirect="TrataErro.aspx"/>
</customErrors>
</system.web>
Estou empacado nesse ponto não sei o que colocar exatamente nas pagina para apresentar o erro.
Discussão (3)
Carregando comentários...