Jump to content


Photo

Web.config


  • Faça o login para participar
4 replies to this topic

#1 w@shin ! ! !

w@shin ! ! !

    Normal

  • Usuários
  • 109 posts
  • Sexo:Não informado
  • Interesses:Hardware , Dream weaver , flash e Corel Draw . . .

Posted 31/12/2005, 16:36

Olá pessoal estou começando agora a mexer com ASP/ASP.net 2.0 e fiz uma página .aspx só com uma frase e duas text box e nada programado,´está dando o seguinte erro:]

Server Error in '/' Application.
--------------------------------------------------------------------------------

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>


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 <customErrors> configuration tag to point to a custom error page URL.


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

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>


Peço uma força de vcs, para resolver esse problema... Valeu

#2 Washington Morais

Washington Morais

    Novato no fórum

  • Usuários
  • 16 posts
  • Sexo:Não informado
  • Localidade:Belo Horizonte

Posted 05/01/2006, 08:52

Olá...

Na verdade o "erro" que você está visualizando não é um erro, mas sim um aviso para que você altere o seu arquivo web.config para que você veja efetivamente o erro que está dando em seu website.

Faça o seguinte:

1. Abra o seu arquivo web.config;
2. Localiza a seguinte linha no mesmo: customErrors mode
3. Verifique se o valor está setado para "Off" e caso não esteja, altere o valor.

Provavelmente o valor que está no seu arquivo deve ser RemoteOnly.

Bem, a sua linha deve ficar como a que segue:
<customErrors mode="Off"/>

Observe que o web.config é CaseSensitive, ou seja, se você escrever "Off" com letra minúscula, será gerado um outro erro, ok? Portanto certifique que a palavra esteja "Off".

Feito isso, rode novamente sua aplicação e o erro será exibido pra vc.

Abraços...

:)
_________________________________________
Washington Morais
Desenvolvedor .NET
BHS (www.bhs.com.br)

Visitem DotNetRaptors

#3 w@shin ! ! !

w@shin ! ! !

    Normal

  • Usuários
  • 109 posts
  • Sexo:Não informado
  • Interesses:Hardware , Dream weaver , flash e Corel Draw . . .

Posted 06/01/2006, 17:06

Partial Class Default3
Inherits System.Web.UI.Page


Estou com um problemas nesta linha.... Estou usando o vwd 2005

#4 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 22/11/2017, 02:31

Viagra Generika Information Generic Methotrexate Overseas Pharmacy Singulair Cena online pharmacy Prednisone Without. Prescription Penegra Cytotec Diu Pharmacie En Ligne
Viagra 800mg Reviews viagra Black Cialis 800 Mg Best Prices Kamagra Stoke On Trent Cialis Laboratoire
Cialis With Dapoxetine viagra Cephalexin Free Shipping

#5 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 27/11/2017, 16:34

Buy Priligy 30 Mg Cialis 20 Mg 30 St Propecia Generic Comparison viagra Levitra 10 Mg 12 Stuck




1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq