G
Guest
Hi,
I'm developing a reporting app that works as a subordinate to other apps,
ie, users still see the menu structure for the app they're working in, but
generate their report in my app.
When the user selects the menu option for my report, they go through a
session transfer page, and they are Response.Redirect'ed to my app. This
works fine. However, on the index.aspx page of my app, when they click a
report, or generate a new report, they receive:
Error executing child request for "./Report.aspx".
If they keep this same window open, and just navigate back to the index.aspx
page, they can click the report and it will continue without problem. But,
if they close the window and open a new one, the same issue occurs.
I've been trying for days to figure out why this is happening. I added the
"./" to make sure it's looking in the correct directory, but to no avail.
Also, instead of just Server.Transfer, I tried
HttpContext.Current.Server.Transfer, which also did not help. I've tried
Response.Redirect, but that gives me a different problem, and never works, at
all.
If anyone knows the reason for this, and a solution, it would be greatly
appreciated.
---Code---
if(((Label)Page.FindControl(cId)).Text != "*")
{
Session["Advanced"] = "F";
HttpContext.Current.Server.Transfer("./DataSources.aspx",true);
}
else
{
Session["Advanced"] = "T";
HttpContext.Current.Server.Transfer("./Advanced.aspx",true);
}
---End---
Thanks
I'm developing a reporting app that works as a subordinate to other apps,
ie, users still see the menu structure for the app they're working in, but
generate their report in my app.
When the user selects the menu option for my report, they go through a
session transfer page, and they are Response.Redirect'ed to my app. This
works fine. However, on the index.aspx page of my app, when they click a
report, or generate a new report, they receive:
Error executing child request for "./Report.aspx".
If they keep this same window open, and just navigate back to the index.aspx
page, they can click the report and it will continue without problem. But,
if they close the window and open a new one, the same issue occurs.
I've been trying for days to figure out why this is happening. I added the
"./" to make sure it's looking in the correct directory, but to no avail.
Also, instead of just Server.Transfer, I tried
HttpContext.Current.Server.Transfer, which also did not help. I've tried
Response.Redirect, but that gives me a different problem, and never works, at
all.
If anyone knows the reason for this, and a solution, it would be greatly
appreciated.
---Code---
if(((Label)Page.FindControl(cId)).Text != "*")
{
Session["Advanced"] = "F";
HttpContext.Current.Server.Transfer("./DataSources.aspx",true);
}
else
{
Session["Advanced"] = "T";
HttpContext.Current.Server.Transfer("./Advanced.aspx",true);
}
---End---
Thanks