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 1 2924
Try setting EnableViewStateMac to false or see if this helps: http://support.microsoft.com/kb/320439
sheuertz wrote:
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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Tlink |
last post by:
I am using server.transfer from within vb.net, which is called from asp.net
I find that I can move to correct page the first time the server.transfer is
executed but all subsequent attempts cause a...
|
by: Harsh Thakur |
last post by:
Hi,
I'd like to know the performance related differences between
Response.Redirect and Server.Transfer.
I'd like to redirect the user to a different page.
I can either do a...
|
by: Mr Wizard |
last post by:
I am going through the front controller http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns/html/ImpFrontControllerInASP.asp and all works well except when the server.transfer...
|
by: Cathie |
last post by:
Hi guys,
I want to do a Server.Transfer to get to a second page, so that I may
retrieve variables I have set in the first page. I'm doing that with the
usual Server.Transfer("pagename", true). ...
|
by: Pete |
last post by:
Hi all...
I sincerly hope one of the MS guys can clear this up for me...
First some background...
Ok, I have a web site which is fully translatable into several
languages. All the strings...
|
by: Keith Patrick |
last post by:
I have an app where a Shockwave splash animation starts off my app and then
sets its parent iframe's src to the value of a default page "BasicReports".
BasicReports has a link to another report...
|
by: Alan Silver |
last post by:
Hello,
Sorry if this is a stupid question, but I can't really see much
difference between these tow methods according to the scant info in the
SDK.
Could anyone enlighten me? TIA
--
Alan...
|
by: P K |
last post by:
I am using server.transfer for a website being developed in vs.net 2005
And I need to get the posted values after server.transfer. For this I set
the second parameter "true" in the transfer...
|
by: =?Utf-8?B?YWxiZXJ0b3Nvcmlh?= |
last post by:
Hi,
I'm using Threads, and when I try to do Server.Transfer, I recieved an
error. (child object does not exist...)
My Code:
Dim t As New Thread(AddressOf Hilo)
Private Sub Hilo()...
|
by: Rina0 |
last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
|
by: erikbower65 |
last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps:
1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal.
2. Connect to...
|
by: linyimin |
last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
|
by: erikbower65 |
last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA:
1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
|
by: kcodez |
last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
|
by: DJRhino1175 |
last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this -
If...
|
by: DJRhino |
last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer)
If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _
310030356 Or 310030359 Or 310030362 Or...
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
|
by: Mushico |
last post by:
How to calculate date of retirement from date of birth
| | |