PDA

Visualizza la versione completa : The call to Server.Execute failed while loading the page


Ashry
27-02-2006, 12:07
Utilizzo il server execute per fare un include dinamico

<%
ancora=Request.QueryString("anc")
if ancora<>"" then
ancora = "#"&ancora
End if
lingua = Request.QueryString("lingua")
if lingua = "ita" then
Session("LANG") = "ita"
else
if lingua = "eng" then
Session("LANG") = "eng"
End If
End If
If Session("LANG") = "" Then Session("LANG") = "ita"

SEZIONE = Request.QueryString("NAME")
If SEZIONE = "" THEN SEZIONE = "chisiamo"
FILE = Request.QueryString("FILE")
If FILE = "" THEN FILE = "body"
%>

<%server.Execute("/pages/"&SEZIONE&"/"&session("LANG")&"/"&FILE&".asp"&ancora)%>

se non utilizzo le ancore funziona ma quando le uso mi genera questo errore
Server object error 'ASP 0228 : 80004005'

Server.Execute Error

/main.asp, line 69

The call to Server.Execute failed while loading the page.

Mi sapete spiegare da cosa dipende?
Forse non posso usare le ancore con il server.Execute? In tal caso cosa devo fare?
Grazie

fraude
28-02-2006, 16:57
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/92418a99-d447-4be7-abc9-a064939e397b.mspx

Ashry
28-02-2006, 16:59
Grazie ^-^

Loading