473,704 Members | 5,606 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Solution: Error executing child request for [page name]

For those encountering the 'Error executing child request for...'
error, the following may bring some light on the problem. It is
possible that the page you are transfering/executing to is re-invoking
your handler and producing a recursive relationship.

The following describes an example of the recursive relationship.

_______________ _______________ __
//snippet from web.config
<httpHandlers >
<add verb="*" path="*.aspx"
type="[namespace.hande rclassname],[assmeblyname]"

//snippet from the handler specified above
context.Server. Transfer(somepa ge.aspx)
_______________ _______________ __

If your application uses similar config/code logic, then you may
encounter the problem as the transfer may be re-invoking the handler.

I suspect that my statements are correct only because I personally ran
into the problem and by changing the page name to end in something
other than 'aspx' (in my case) solved my problem. However, I can not
say for sure that this 'recursive relationship' is actually the
problem. My originally thinking was that the handler could only be
invoked by 'external' requests and not 'internal' requests initiated by
Server.Transfer/Execute, and therefore, the recursion could not be the
problem. But, maybe there is no distinction between external and
internal requests???

Sorry I can't be more definite!

Could someone from Microsoft confirm/deny this?

Nov 19 '05 #1
0 1884

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Bryan Tang | last post by:
I built an ASP to search the content in index server. It is ok if search in English. Whenever I search in Chinese, I will got the following error message, CreateRecordset ?u?~ '80004005' £gLak?u¢DXao?u?~ /search/query.asp, |C203
by: Patrick Masson | last post by:
Hello, Our configuration : Apache 2.0.53 PHP 5.0.4 PC Windows 2000 MATLAB 6.1 We work on a consulting project in France which involves MATLAB Web server,
by: Daniel Groh | last post by:
Hi, I've written a C# Server.Transfer from WebForm1.aspx to WebForm2.aspx In both i'm using the same user control but with different params, for example; In the user control: if(Request.ServerVariables==Server.MapPath("WebForm1.aspx")){ lblTitle.Text = "Page 1";
by: Tim C. | last post by:
I get the error "error executing child request" when I use the Server.Transfer method to invoke a second aspx page. The following code is executed in a LinkButton click eventhandler on Page1.aspx. Server.Transfer("Page2.aspx",True) This code is virtually identical to the examples in chapter 4 (p. 196) of Microsoft's _Developing Web Applications_ 2nd edition, by Jeff Web. For what I'm
by: Earl Teigrob | last post by:
I did a ton of searching to try and find a simple solution to this issue and finally wrote my own, which I am sharing with everyone. In my searching, I did find a very complete and robust solution at http://weblogs.asp.net/asmith/archive/2003/09/15/27684.aspx but it was far more complex then I needed. (I got lost trying to figure it all out). Therefore, here goes my simple "web dialog box with parent event handler fireing" solution. ...
by: EagleRed | last post by:
I am developing an ASP.NET 2.0 application using a master page. I have a DataList control on the master page that has a datasource this is an ArrayList of objects that have a CmdURL property. This property contains a string that hold the name of the page to which control is redirected, e.g. MyPage.aspx. In this scenario when the user clicks on the DataList item the handler either executes a Server.Transfer or a Response.Redirect. The...
by: Gorkana | last post by:
When doing Server.Transfer I am getting the following error 'Error executing child request ' after I make the change in the web.config debug="true" to debug="false". When set to true the transfer works without issues but when false the error occures. In some of the cases I have managed to alter existing code to use Redirect but in some cases this is not practical without recoding a large number of pages that create a child object to be used...
by: rico.fabrini | last post by:
Hello Everyone, I've suddenly started running into the error "error executing child request for Page.aspx" when doing a Server.Transfer("Page.aspx"); That's on a Win2003 Server machine. This same code works fine on another Win2003 Server machine, and a
by: David C | last post by:
We have a user getting an error message as follows: Error executing child request for handler 'ASP.frmpropertyclosings_aspx'. The line in the code-behind page that is causing the error is below. If Not Page.PreviousPage Is Nothing Then I cannot figure out why this error is occurring and wondered if anybody had any ideas. Below is the stack trace. Thanks.
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.