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
![]()
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
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" ?Originariamente inviato da Daniele80
devi mettere ad off quella riga che ti dice nel web.config![]()
S W I N U B
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"
Ehm avevo cancellato la pagina per sbaglio...ora l'ho rimessa
dovrei mettere:
?codice:<% debug = "true" %>
S W I N U B
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
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" %>
Posto tutto completo:
A questo codice il server scrive: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>
All'indirizzo http://www.roondar.net/public/beta/a...rimaprova.aspxcodice: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>
S W I N U B