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

    errore in remoto - help principiante

    sto provando uno starter kit
    ho installato tutto correttamente e in locale funziona tutto.
    ho fatto copia web sul mio sito www.miosito.it con hostin di Aruba abilitato al MS SQL ma mi da sempre questo errore:

    --- premesa , ho gia' sostiutito il web.config con la stringa che mi suggerisce e ho anche creato una pagina .htm vuota.

    ma l'errore rimane .

    ho salvato il tutto in una sottocartella: www.miosito.it/prova
    devo cambiare qualche impostazione salvandolo fuori dalla directory principale?

    ecco l' errore:

    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
    Beh è molto semplice, ti sta dicendo che l' applicazione web va in errore e che devi impostare il web.config per far si che tu possa visualizzare l' errore in esecuzione.
    Quindi imposta il web.config in quel modo e vedi come mai va in errore.

  3. #3
    Utente di HTML.it L'avatar di Holin
    Registrato dal
    Oct 2007
    Messaggi
    64
    metti solo <customErrors mode="On" /> in questo modo asp.net ti dovrebbe dare la pagina contenente l'errore e tutto lo stack dell'eccezione che si è generata e non è stata gestita..


  4. #4
    ok..grazie mille fatto er problema risolto...
    o meglio... ora ho un nuovo problema....
    ma c'e' gia' una discussione aperta per quelli...
    se avete soluzioni anche li...

    grazie

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.