执行子项请求时出错 [英] Error executing child request

查看:81
本文介绍了执行子项请求时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们

单击图像按钮时出现错误,以下是错误:
对/Manager/frmManagerStudentInfo.aspx执行子请求时出错."


然后它指向这一行:
"Server.Transfer("〜/Manager/frmManagerStudentInfo.aspx?EmpRecNumber ="+会话[" EmpRecNumber].ToString());"

帮助...我在这里缺少什么?

Hi Guys

Am having an error when i click my image button,below is the error :
"Error executing child request for /Manager/frmManagerStudentInfo.aspx."


then it points to this line:
" Server.Transfer("~/Manager/frmManagerStudentInfo.aspx?EmpRecNumber=" + Session["EmpRecNumber"].ToString());"

Help...what am i missing here?

推荐答案

请参见此处查找原因 1 和解决方案 2 您的困境:在ASP.NET页中使用Server.Transfer或Server.Execute时出现错误执行子请求"错误消息 [^ ]

问候,

曼弗雷德



1 "Microsoft Internet信息服务(IIS)根据请求文件的扩展名将Server.Transfer或Server.Execute请求调度到相应的Internet服务器应用程序编程接口(ISAPI)扩展名例如,对.aspx页的请求将分派到Aspnet_isapi.dll ISAPI扩展.
将请求分派到适当的ISAPI扩展后,ISAPI扩展不能调用另一个ISAPI扩展.您收到症状"部分中列出的错误消息,因为处理对ASP.NET页的请求的Aspnet_isapi.dll文件无法将请求转发到处理对​​ASP页的请求的Asp.dll文件."/i>

2 要解决此问题,请使用Response.Redirect方法将请求从ASP.NET页重定向到ASP页."
See here for the cause1 and the resolution2 of your predicament: "Error Executing Child Request" Error Message When You Use Server.Transfer or Server.Execute in ASP.NET Page[^]

Regards,

Manfred



1 "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."


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


这篇关于执行子项请求时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆