Home Page
Articoli
Tips & Tricks
News
Forum
Archivio Forum
Blogs
Sondaggi
Rss
Video
Utenti
Chi Siamo
Contattaci
Username:
Password:
Login
Registrati ora!
Recupera Password
Home Page
Stanze Forum
ASP.NET 2.0 / 3.5 / 4.0
Erore Runtime Error
venerdì 17 marzo 2006 - 11.45
Elenco Threads
Stanze Forum
Aggiungi ai Preferiti
Cerca nel forum
andreacata
Profilo
| Newbie
1
messaggi | Data Invio:
ven 17 mar 2006 - 11:45
chi può aiutarmi ho publicato la mia applicazione sul server del mio istituto e mi da questo maledetto errore
cosa devo fare????????
ho già provato ad cambiare il "web.config"
in questo modo ma il risultato non cambia!!!!!!
aiuto!!!!!!!!
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
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".
<!-- Web.Config Configuration File -->
<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.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
Brainkiller
Profilo
| Guru
7.999
messaggi | Data Invio:
ven 17 mar 2006 - 11:50
>chi può aiutarmi ho publicato la mia applicazione sul server
>del mio istituto e mi da questo maledetto errore
>cosa devo fare????????
>ho già provato ad cambiare il "web.config"
>in questo modo ma il risultato non cambia!!!!!!
Ciao Andrea,
puoi provare ad aprire il sito direttamente sul server su cui hai rilasciato il tuo progetto ? In ogni caso la soluzione per mostrare a video l'errore è appunto quella di mettere il tag <customErrors mode="Off">
Mi sembra strano che non funzioni, se lo apri direttamente dal server dovresti vederlo.
Ciao
David De Giacomi
Microsoft MVP
http://blogs.dotnethell.it/david/
Torna su
Stanze Forum
Elenco Threads
Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?
Dopo esserti registrato potrai chiedere
aiuto sul nostro
Forum
oppure aiutare gli altri
Consulta le
Stanze
disponibili.
Registrati ora !