Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 12
  1. #1

    [ASP.NET] web config e aruba ...

    Ciao hoo uplodato il mio spazio web di aruba a 2003 ma non va un c....o!!

    In locale uso web matrix e funziona tutto, in remoto mi da l' errore seguente ...

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




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


    Chiaramente il file web config esiste e mi sembra sia settato opportunamente, cosa diavolo devo fare?

  2. #2
    ho lo stesso problema io ma su un'altro hosting a questo punto non so forse non ci hanno abilitato cio' che inr ealta' vendono..mah o siamo noi a sbagliare?

  3. #3
    io ho risolto, il web.config è case sensitive, quindi anche un minimo errore sintattico e non va una mazza!!

    :-)

    adesso mi daerrore il server smtp, mi dice che è irraggiungibile ...

  4. #4

    Re: [ASP.NET] web config e aruba ...

    Originariamente inviato da raffaeu
    Ciao hoo uplodato il mio spazio web di aruba a 2003 ma non va un c....o!!

    In locale uso web matrix e funziona tutto, in remoto mi da l' errore seguente ...

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




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


    Chiaramente il file web config esiste e mi sembra sia settato opportunamente, cosa diavolo devo fare?

    devi mettere <customErrors mode="Off"/> nel web.config

  5. #5
    adesso funziona ma se uso l' smtp di aruba mi da questo errore

    codice:
    <%@ Page Language="C#" Debug="true" %>
    <script runat="server">
    
        void Page_Load(object sender, EventArgs e){
            System.Web.Mail.MailMessage mail = new System.Web.Mail.MailMessage();
            mail.To = "raffaeu@raffaeu.com";
            mail.From = "pippo@pippo.com";
            mail.Subject = "ciao";
            mail.Body = "ciao";
            System.Web.Mail.SmtpMail.SmtpServer = "smtp.raffaeu.com";
            System.Web.Mail.SmtpMail.Send(mail);
            Response.Write ("testo=Your message was succesful sended.");
        }
    </script>
    Mi dice

    System.Runtime.InteropServices.COMException: The server rejected one or more recipient addresses. The server response was: 553 sorry, you need to supply the correct username and password for SMTP-AUTH (#5.7.1)


    Se invece uso l' smtp di dove lavoro, funzia, cosa manca? forse è sbagliato l' smtp?

  6. #6
    Originariamente inviato da raffaeu
    Mi dice
    System.Runtime.InteropServices.COMException: The server rejected one or more recipient addresses. The server response was: 553 sorry, you need to supply the correct username and password for SMTP-AUTH (#5.7.1)
    Se invece uso l' smtp di dove lavoro, funzia, cosa manca? forse è sbagliato l' smtp?
    No semplicemente ti dice che per poter inviare con l'SMTP di aruba devi loggarti con username e password. Evidentemente l'hanno fatto apposta e devi richiedere questa attivazione (sia chiaro.. è una mia supposizione non conosco le config di aruba).

  7. #7
    Zofm scusa ma li ho fregati, se usi mail.aruba.it non ha blocchi e mandi senza problemi.


  8. #8

  9. #9
    Perfetto risolto ci sono stato dietro la bellezza di due giorni, comunque non è giusto mi hanno quasi obbligato ad uplodare il mio web site e adesso gira sotto 2003 e mi sto rifacendo tutto ...
    Supporto tecnico = 0

    Vabbè!!

    Un' ultima cosa la collection Request.QueryString, esiste in C# o era solo di VBscript per ASp 3?


  10. #10
    Originariamente inviato da raffaeu
    Un' ultima cosa la collection Request.QueryString, esiste in C# o era solo di VBscript per ASp 3?
    Si si, come no? Stai attento però alle maiuscole/minuscole :bubu:

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 © 2026 vBulletin Solutions, Inc. All rights reserved.