Error executing child request [modified] {can anyone help please...}
-
Hi, I am trying to redirect from the current aspx page to an html page using Response.Redirect. But once it comes back to the aspx page the Session Values are destroyed. So I tried the following alternatives... but throwing errors!! 1) string srvname = Request.ServerVariables["SERVER_NAME"].ToString(); Server.Transfer("http://"+ srvname + /Project1/Part2/page2.html",true); Error: {"Invalid path for child request 'http://localhost/Project1/Part2/page2.html'. A virtual path is expected." } 2)Server.Transfer("/Project1/Part2/page2.html,true); Error: {"Error executing child request for ("/Project1/Part2/page2.html" } 3)Response.Redirect("Project1/Part2/page2.html") disposes the Session value once it returns back to the page…. Please help me out.. Thanks in advance Rijz
modified on Wednesday, August 13, 2008 8:33 AM
-
Hi, I am trying to redirect from the current aspx page to an html page using Response.Redirect. But once it comes back to the aspx page the Session Values are destroyed. So I tried the following alternatives... but throwing errors!! 1) string srvname = Request.ServerVariables["SERVER_NAME"].ToString(); Server.Transfer("http://"+ srvname + /Project1/Part2/page2.html",true); Error: {"Invalid path for child request 'http://localhost/Project1/Part2/page2.html'. A virtual path is expected." } 2)Server.Transfer("/Project1/Part2/page2.html,true); Error: {"Error executing child request for ("/Project1/Part2/page2.html" } 3)Response.Redirect("Project1/Part2/page2.html") disposes the Session value once it returns back to the page…. Please help me out.. Thanks in advance Rijz
modified on Wednesday, August 13, 2008 8:33 AM