Caricare un web site su server windows aruba

mercoledì 24 agosto 2011 - 01.38
Tag Elenco Tags  C#  |  .NET 3.5  |  Visual Studio 2010

ligalive Profilo | Newbie

Salve,
ho creato un web site con visual studio. ora vorrei metterlo su aruba. volevo sapere se qualcuno può dirmi come fare. Da premettere che io ho copiato tutti i file tramite ftp ma al momento di caricare una pagina mi da un errore sul web.config, forse devo configurarlo meglio o mettere i file in qualche cartella particolare. non so, perché ho sempre usato php e quindi server linux.

L'errore in questione è:

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>

spero che possiate aiutarmi.grazie.ciao

Gho5t Profilo | Junior Member

Ciao,
questo messaggio significa che c'è un errore nella tua applicazione, ma che non lo puoi vedere perché hai disabilitato da Web.Config la visualizzazione degli errori...

Per abilitare la visualizzazione degli errori devi aggiungere, all'interno del Web.Config e dentro al tag <system.web>, questa stringa: "<customErrors mode="Off"/>"

te lo dice proprio il messaggio di errore che hai postato come deve essere
<configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration>
Se un uomo non è disposto a correre qualche rischio per le sue idee, o le sue idee non valgono nulla o non vale nulla lui
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