PRB: "Error Executing Child Request" Error Message When You Use Server.Transfer or Server.Execute in ASP.NET Page

Article translations Article translations
Article ID: 320439 - View products that this article applies to.
This article was previously published under Q320439
Expand all | Collapse all

SYMPTOMS

When you try to use the Server.Transfer or the Server.Execute method in your ASP.NET page to transfer control from an ASP.NET page to an Active Server Pages (ASP) page, you may receive the following error message:
Error executing child request for PageName.asp.
where PageName.asp is the name of your ASP page.

CAUSE

Microsoft Internet Information Services (IIS) dispatches the Server.Transfer or the Server.Execute request to the appropriate Internet Server Application Programming Interface (ISAPI) extension based on the extension of the requesting file. For example, a request for an .aspx page is dispatched to the Aspnet_isapi.dll ISAPI extension.

After the request is dispatched to appropriate ISAPI extension, the ISAPI extension cannot call another ISAPI extension. You receive the error message that is listed in the "Symptoms" section because the Aspnet_isapi.dll file, which handles requests to ASP.NET pages, cannot forward the request to the Asp.dll file, which handles requests to ASP pages.

RESOLUTION

To resolve this problem, use the Response.Redirect method to redirect the request from an ASP.NET page to an ASP page.

STATUS

This behavior is by design.

Properties

Article ID: 320439 - Last Review: February 23, 2007 - Revision: 2.6
APPLIES TO
  • Microsoft ASP.NET 1.1
  • Microsoft ASP.NET 1.0
  • Microsoft Active Server Pages 3.0
Keywords: 
kbhttpruntime kbprb KB320439

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com