Visualizzazione dei risultati da 1 a 5 su 5
  1. #1
    Utente di HTML.it L'avatar di Francis87
    Registrato dal
    Jun 2003
    Messaggi
    5,970

    problemi con il mio nuovo sito

    ciao

    il mio sito è nuovo nuovo (30 min fa è finito su internet ) e ha qualke problemuccio a livello di web.config

    il mio file è questo:

    codice:
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
     <system.web>
      <compilation defaultLanguage="vb" debug="true"> 
       <compiler
        language="VB;VBScript"
        extension=".vb"
        type="Microsoft.VB. VBCodeProvider,System" />
       </compilation>
       <customErrors defaultRedirect="error/error.aspx" mode="RemoteOnly">
        <error statusCode="404" redirect="error/404.aspx" />
        <error statusCode="500" redirect="error/500.aspx" />
       </customErrors>
       <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
       <sessionState 
        mode="InProc"
        stateConnectionString="tcpip=127.0.0.1:42424"
        sqlConnectionString="data source=127.0.0.1;user id=sa;password="
        cookieless="false" 
        timeout="20" 
       />
       <globalization culture="IT-it"
        requestEncoding="latin9"
        responseEncoding="latin9"
       />
       <httpHandlers>
        <add verb="*" path="*.vb" type="System.Web.HttpForbiddenHandler,System.Web" />
        <add verb="*" path="*.mdb" type="System.Web.HttpForbiddenHandler,System.Web" />
        <add verb="*" path="*.tmp" type="System.Web.HttpForbiddenHandler,System.Web" />
       </httpHandlers>
     </system.web>
    </configuration>
    Heaven's closed. Hell sold out.

    Linux 2.6.26-2-amd64
    Debian squeeze

  2. #2
    Utente di HTML.it L'avatar di dwb
    Registrato dal
    Mar 2001
    residenza
    My IDE! :)
    Messaggi
    2,908
    Hai dimenticato di dirci una cosina: il problema qual'è?
    ~Il nome di una variabile deve riflettere il suo scopo e non il suo tipo di dati, NET Framework.

  3. #3
    Utente di HTML.it L'avatar di Francis87
    Registrato dal
    Jun 2003
    Messaggi
    5,970
    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".




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


    Heaven's closed. Hell sold out.

    Linux 2.6.26-2-amd64
    Debian squeeze

  4. #4

  5. #5
    si vede che è il periodo di sto errore ... guarda qualche post più in basso (fram 1.1 urgentissimo)
    http://forum.html.it/forum/showthrea...hreadid=496548

    pure io ho lo stesso problema

    sulla macchina dove pubblico , ho disistallato il framw. 1.0 e ho istallato l'1.1

    senza toccare niente doveva andare e invece....

    sono riuscito a farlo funzionare così
    <system.web>

    <!-- COMPILAZIONE CON DEBUG DINAMICO

    -->
    <compilation defaultLanguage="vb" debug="false" />

    <!-- MESSAGGI DI ERRORE PERSONALIZZATI
    Per abilitare l'utilizzo dei messaggi di errore personalizzati, impostare customErrors mode="On" o "RemoteOnly". Per disabilitare questa funzione, impostare "Off" .
    Aggiungere un tag <error> per ciascun errore da gestire.
    -->
    <customErrors mode="Off"/>




    mettendo debug=false


    comunque mettendo solo Off su customerror non funzionava !
    Frate Priore: "È Lucifero in persona!"
    Trinità: "Lo conosci?"
    Bambino: "Mai sentito nominare, deve essere un professionista dell'est"

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.