Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it L'avatar di Sergix
    Registrato dal
    Apr 2003
    Messaggi
    110

    Errore banale su WEB.CONFIG... (Come fare?)

    So che è una domanda banale, ho inserito il mio sito in ASP.NET su server, ho provato ad aprire la prima pagina, che si chiama login.aspx, il server mi restituisce questo errore derivante dal file Web.Config

    ----------------------------------------------------------------------------

    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>



    ----------------------------------------------------------------------------
    Premetto che ho settato il customErrors in mode="Off" (Maiuscolo e minuscolo).
    Su questo server IIS funziona bene...
    sarà una boiata... qualcuno potrebbe dirmi cosa devo settare sul WEB.CONFIG?
    www.sc2med.com
    ---------------
    Partners:
    www.advgroup.it

  2. #2
    Moderatore di ASP.net L'avatar di djciko
    Registrato dal
    Nov 2002
    Messaggi
    6,887
    fai quello che ti sta suggerendo di fare...nel Wconfig che sta nella root, crea quel tag. di solito si risolve cosi'....

  3. #3
    Utente di HTML.it L'avatar di Sergix
    Registrato dal
    Apr 2003
    Messaggi
    110

    ok

    grazie mille djciko per la risposta... ho generato una virtual directory ed è andato a posto..
    comunque grazie lo stesso
    www.sc2med.com
    ---------------
    Partners:
    www.advgroup.it

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.