Erore Runtime Error

venerdì 17 marzo 2006 - 11.45

andreacata Profilo | Newbie

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

>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/
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 !
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5