S
sathya
hi,
i have problem in httphandler, my problem is that when i am trying to
use server.execute(/default.aspx) i am getting error....
[servor error in child request /default.aspx]
Here i am trying to redirect from home.aspx to default.aspx file which
in sharepoint.I have give a copy of my code below..
public class UrlMap : System.Web.UI.Page,IHttpHandler,
IRequiresSessionState
{
public new bool IsReusable { get { return false; } }
public new void ProcessRequest(HttpContext context)
{
string requestedUrl = context.Request.Url.ToString();
if(requestedUrl.IndexOf("/Home.aspx")!=-1)
{
context.Server.Execute("/Default.aspx");
}
}
}
The same code is working fine when i am using
server.Transfer("/Default.aspx")...
Please anyone can help how to rectify this problem...
It is very urgent...
mail Adresss : (e-mail address removed)
bye
sathya narayanan
i have problem in httphandler, my problem is that when i am trying to
use server.execute(/default.aspx) i am getting error....
[servor error in child request /default.aspx]
Here i am trying to redirect from home.aspx to default.aspx file which
in sharepoint.I have give a copy of my code below..
public class UrlMap : System.Web.UI.Page,IHttpHandler,
IRequiresSessionState
{
public new bool IsReusable { get { return false; } }
public new void ProcessRequest(HttpContext context)
{
string requestedUrl = context.Request.Url.ToString();
if(requestedUrl.IndexOf("/Home.aspx")!=-1)
{
context.Server.Execute("/Default.aspx");
}
}
}
The same code is working fine when i am using
server.Transfer("/Default.aspx")...
Please anyone can help how to rectify this problem...
It is very urgent...
mail Adresss : (e-mail address removed)
bye
sathya narayanan