Runtime Error ao acessar paginas .ASPX

Ao acessar uma página .ASPX ou .ASMX (seja ASP.NET, VB.NET ou C#) aparece um erro igual ao abaixo:

Runtime Error

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 <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".

<!-- Web.Config Configuration File -->

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

Neste caso, siga alguns passos abaixo para solucionar o problema:

  • Verifique se o web.config está corretamente escrito;
  • Verifique se o item <customErrors mode=”Off”> está ativado e o item <debug> está como True;
  • Verifique se foi solicitado a criação de um diretorio virtual ou aplicação para o diretorio da sua aplicação.

Com as configurações acima, caso ocorra alguma falha, o erro será mostrado na tela.

Sem mesmo assim o problema não puder ser solucionado, efetue a abertura de um chamado com nosso Suporte.

Essa Base de conhecimento é útil? Útil Não Útil 0 de 0 pessoas disseram que esse artigo foi útil.