Visualizzazione dei risultati da 1 a 7 su 7
  1. #1

    Runtime Error >> cioè??? :(

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




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




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

    Mi viene restituita questa pagina di errore anche richiamando una pagina completamente vuota... cosa significa e come faccio ad ovviare?

    Grazie in anticipo, confido in voi

  2. #2
    questo è un'errore frequentissimo e come dico sempre basta leggere il messaggio dove ti viene spiegato il motivo.

    cmq devi mettere <customErrors mode="Off"/>

  3. #3
    Puoi dirmi dove devo andare a settarlo? :tongue:

  4. #4
    Utente di HTML.it L'avatar di Francis87
    Registrato dal
    Jun 2003
    Messaggi
    5,970
    è più ke scritto

    nel file web.config!
    Heaven's closed. Hell sold out.

    Linux 2.6.26-2-amd64
    Debian squeeze

  5. #5
    L'avevo capito... ma dov'è il web.config?

  6. #6
    RTFM

    fai un file di testo .txt con quel codice li.
    lo rinomini in

    web.config

    e lo metti nella root della tua applicazione

    :di56:

  7. #7
    Ringrazio tutti per l'amichevole aiuto.

    Il problema era però relativo ai permessi dell'utente ASPNET... gli ho dato i permessi di lettura ed esecuzione ed ora funziona.

    Questo è un accorgimento cui sono pervenuto da solo... è giusto?

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.