Visualizzazione dei risultati da 1 a 8 su 8

Discussione: Errore Asp.net

  1. #1
    Utente di HTML.it
    Registrato dal
    Dec 2003
    Messaggi
    28

    Errore Asp.net

    QUALCUNO MI SA DIRE CHE DIAVOLO DI ERRORE E' QUESTO?
    MI CAPITA NELLE PAGINE DINAMICHE ASP.NET CON CONNESSIONE A DB ACCESS

    GRAZIE! TAKESHI



    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>

  2. #2
    errore classico se cercavi lo avresti trovato.

    cmq devi cambiare la stringa nel web.config in <customErrors mode="Off"/>

    elimina la cache e rientra nel sito

  3. #3
    Utente di HTML.it
    Registrato dal
    Dec 2003
    Messaggi
    28
    scusami ma asp.net è la prima volta che lo uso!
    quindi se la stringa originale era questa:

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <system.web>
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
    </configuration>

    quella corretta è questa:


    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <system.web>
    <customErrors mode="Off" />
    </system.web>
    </configuration>

    Ho provato a sostituire ma il msg di errore è rimasto. la cache era pulita.

  4. #4
    Utente di HTML.it
    Registrato dal
    Dec 2003
    Messaggi
    28
    eh no, l'errore persiste.

    non puo' esserci qualche altra ragione?

    Questa la segnalazione di errore che mi hanno detto si presenta quando l'applicazione viene eseguita in locale.


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

    Server cannot access application directory 'D:\domini\SoloIP\'. The directory does not exist or is not accessible because of security settings.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: Server cannot access application directory 'D:\domini\SoloIP\'. The directory does not exist or is not accessible because of security settings.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:


    [HttpException (0x80004005): Server cannot access application directory 'D:\domini\SoloIP\'. The directory does not exist or is not accessible because of security settings.]
    System.Web.HttpRuntime.EnsureAccessToApplicationDi rectory() +72
    System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +263

    [HttpException (0x80004005): ASP.NET Initialization Error]
    System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +965
    System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +128




    --------------------------------------------------------------------Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

  5. #5
    l'errore con cui hai aperto la discussione lo hai risolto, ora hai questo errore che dipende forse dal tuo codice.

    che cosa è questa cosa:
    'D:\domini\SoloIP'

  6. #6
    Utente di HTML.it
    Registrato dal
    Dec 2003
    Messaggi
    28
    e' il percorso nel server su cui sta l'applicazione che sta in D:\domini\SoloIP\qualitymanagement

    il programma sara' accessibile dall'indirizzo ip / qualitymanagement/index...

  7. #7
    Utente di HTML.it
    Registrato dal
    Dec 2003
    Messaggi
    28
    pero' a me mi viene visualizzato sempre l'errore del primo post. anzi, l'errore lato server dell'ultimo post risale a ieri prima delle modifiche che mi hai consigliato

  8. #8
    Utente di HTML.it
    Registrato dal
    Sep 2002
    Messaggi
    4,127
    puoi modificare le impostazioni sul server??
    forse devi andare in IIS e modificare le impostazioni di lettura/scrittura sulla cartella oppure creare 1 dir virtuale

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 © 2026 vBulletin Solutions, Inc. All rights reserved.