Visualizzazione dei risultati da 1 a 8 su 8

Discussione: Hosting Aruba Windows

  1. #1

    Hosting Aruba Windows

    Sapete mica se l'hosting Windows di Aruba supporta l'ASP .NET? :master:
    Perchè io ho provato la prima pagina in ASP .NET e... guardate voi stessi che cosa scrive il server: ( VVoVe: )
    http://www.roondar.net/public/beta/a...rimaprova.aspx

    S W I N U B

  2. #2
    devi mettere ad off quella riga che ti dice nel web.config

  3. #3
    Originariamente inviato da Daniele80
    devi mettere ad off quella riga che ti dice nel web.config
    Ma l'ho detto, sono un novizio... che vol dì "mettere ad off" ?
    S W I N U B

  4. #4
    Utente di HTML.it
    Registrato dal
    Sep 2002
    Messaggi
    4,127
    già ke ti scrive quella pagina è un buon segnale : supporta il .net
    puoi fare, x vedere l'errore, o come ti dice dani oppure aggiungere alla direttiva page debug ="true"

  5. #5
    Ehm avevo cancellato la pagina per sbaglio... ora l'ho rimessa

    dovrei mettere:
    codice:
    <% debug = "true" %>
    ?
    S W I N U B

  6. #6
    Comunque a me mostra questo:
    codice:
    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".
    S W I N U B

  7. #7
    Utente di HTML.it
    Registrato dal
    Sep 2002
    Messaggi
    4,127
    in cima alla pagina, prima riga ..
    non hai una cosa del genere
    <% Page Language="VB oppure C#" %>
    ecco deve essere
    <% Page Language="VB oppure c#" Debug="True" %>

  8. #8
    Posto tutto completo:
    codice:
    <% Page Language="VB" Debug="True" %>
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    
    <body bgcolor="#FFFFFF" text="#000000">
    Benvenuti nella mia prima prova in Asp .NET!
    
    
    Oggi è <%=FormatDateTime(Date, vbLongDate)%>
    
    <% strInput = Request.ServerVariables("SCRIPT_NAME")%>
    <% If day(date)="5" Then%>Oggi è Giovedì!
    <% elseIf day(date)="2" Then %> Oggi è Lunedì!
    <% end if %>
    <% response.write strInput%>
    </body>
    </html>
    A questo codice il server scrive:

    codice:
    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>
    All'indirizzo http://www.roondar.net/public/beta/a...rimaprova.aspx
    S W I N U B

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