Problema con la Pubblicazione Web

mercoledì 14 dicembre 2005 - 20.20

peppuccio71 Profilo | Newbie

Salve,
ho scritto la mia prima piccola apllicazione ASP. Vorrei Pubblicarla sul mio spazio web ARUBA sul quale ho acquistato fra l'altro uno spazio MSSQL.
Attualmente il localhost tutto funziona bene
Quali sono gli accorgimenti necessari per far funzionare tutto correttamente ?
Quali sono le modifiche da fare nel web.config ? (Qui ho le idee un pò confuse)
Grazie anticpatamente.

GvnnRules Profilo | Senior Member

A dir la verità anche io ho le idee un pò confuse ;)
Allora quello che ti posso dire si stare attento su aruba è che se devi fare degli upload devi scrivere i file nella cartella public, perrò le tue indicazioni sono un pò generiche, se spieghi meglio quali sono gli errori che hai magari troviamo la soluzione ;)


Peace
Gvnn

peppuccio71 Profilo | Newbie

Allora,
ho provato a pubblicare, ma quando richiamo la pagina asp http://www.artemediainformatica.it/webform1.aspx
viene fuori questo :

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>

Grazie

totti240282 Profilo | Guru

abilita il debug nell'applicazione cosi vediamo l'errore.

C'è solo un capitano !!!!!!

peppuccio71 Profilo | Newbie

Perdona l'ignotanza,
come faccio ad attivare il debug ?

GvnnRules Profilo | Senior Member

>Perdona l'ignotanza,
>come faccio ad attivare il debug ?
>
>

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>

Peace
Gvnn

peppuccio71 Profilo | Newbie

Adesso quando lancio nel browser

http://www.artemediainformatica.it/app/webform1.aspx

Viene fuori


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


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




peppuccio71 Profilo | Newbie

Allora ho risolto cosi, però non so se tutto questo è corretto:

1) ho publlicato la Dll generata dal progetto .net nella cartella BIN del mio domionio
2) il file web.config pubblicato nella root del dminio
3) le pagine asp in una nuova cartella chiamata app
Richiamando il link della pagina asp tutto funziona correttamente ivi compresa la connessione
al mssql su aruba

amedeo Profilo | Newbie

Ho lo stesso problema, mi dici quale dll hai pubblicato?

Grazie Amedeo

aryx82 Profilo | Newbie

Al momento ho lo stesso problema. Il mio sito da lo stesso errore ma non so da cosa provenga. Mi potete dire come fate a fare la connessione al db di Aruba? grazie
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