B
Brent White
If you need more information, I'd be glad to give it, but I am
developing an ASPX page so that the user can select multiple values for
a specific field, then pass them on (using Crystal Reports 10 on a
separate ASP page). Here is the code behind the button that will
launch the report (is in a file called StateSelect.aspx.vb:
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Button2.Click
Server.Transfer("/NewCrystalReports/genericreport.asp", True)
End Sub
When I launch the ASP page and hit the submit button, I get the
following error in the IE window:
Server Error in '/NEWCrystalReports' Application.
--------------------------------------------------------------------------------
Error executing child request for /NewCrystalReports/genericreport.asp.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Error executing child
request for /NewCrystalReports/genericreport.asp.
Source Error:
Line 40:
Line 41: Protected Sub Button2_Click(ByVal sender As Object, ByVal
e As System.EventArgs) Handles Button2.Click
Line 42:
Server.Transfer("/NewCrystalReports/genericreport.asp", True)
Line 43: End Sub
Line 44: End Class
Source File: c:\inetpub\wwwroot\NEWCrystalReports\StateSelect.aspx.vb
Line: 42
Stack Trace:
[HttpException (0x80004005): Error executing child request for
/NewCrystalReports/genericreport.asp.]
System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler,
TextWriter writer, Boolean preserveForm, String path, String filePath,
String physPath, Exception error, String queryStringOverride) +3137343
System.Web.HttpServerUtility.Execute(String path, TextWriter writer,
Boolean preserveForm) +722
System.Web.HttpServerUtility.Transfer(String path, Boolean
preserveForm) +55
_Default.Button2_Click(Object sender, EventArgs e) in
c:\inetpub\wwwroot\NEWCrystalReports\StateSelect.aspx.vb:42
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument) +78
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
+33
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+5670
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50215.44;
ASP.NET Version:2.0.50215.44
There is this line in the ASPX file itself:
<form method="post" id="form1" runat="server"
action="GenericReport.asp">
The server is running ASP.NET v2 (Windows 2003 Server with IIS 6) and I
am developing in VS .NET 2005.
developing an ASPX page so that the user can select multiple values for
a specific field, then pass them on (using Crystal Reports 10 on a
separate ASP page). Here is the code behind the button that will
launch the report (is in a file called StateSelect.aspx.vb:
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Button2.Click
Server.Transfer("/NewCrystalReports/genericreport.asp", True)
End Sub
When I launch the ASP page and hit the submit button, I get the
following error in the IE window:
Server Error in '/NEWCrystalReports' Application.
--------------------------------------------------------------------------------
Error executing child request for /NewCrystalReports/genericreport.asp.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Error executing child
request for /NewCrystalReports/genericreport.asp.
Source Error:
Line 40:
Line 41: Protected Sub Button2_Click(ByVal sender As Object, ByVal
e As System.EventArgs) Handles Button2.Click
Line 42:
Server.Transfer("/NewCrystalReports/genericreport.asp", True)
Line 43: End Sub
Line 44: End Class
Source File: c:\inetpub\wwwroot\NEWCrystalReports\StateSelect.aspx.vb
Line: 42
Stack Trace:
[HttpException (0x80004005): Error executing child request for
/NewCrystalReports/genericreport.asp.]
System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler,
TextWriter writer, Boolean preserveForm, String path, String filePath,
String physPath, Exception error, String queryStringOverride) +3137343
System.Web.HttpServerUtility.Execute(String path, TextWriter writer,
Boolean preserveForm) +722
System.Web.HttpServerUtility.Transfer(String path, Boolean
preserveForm) +55
_Default.Button2_Click(Object sender, EventArgs e) in
c:\inetpub\wwwroot\NEWCrystalReports\StateSelect.aspx.vb:42
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument) +78
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
+33
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+5670
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50215.44;
ASP.NET Version:2.0.50215.44
There is this line in the ASPX file itself:
<form method="post" id="form1" runat="server"
action="GenericReport.asp">
The server is running ASP.NET v2 (Windows 2003 Server with IIS 6) and I
am developing in VS .NET 2005.