Hi,
I developed a Web application and followed the instructions to deploy it on another server using the Web Setup project.
The server I deployed it on was a Windows 2000 Advanced Server with the Final .NET Framework installed (no Visual Studio .NET).
I ran it on the other server and it all seemed to work fine until I tried to set the ReportSource of a crystal report viewer. Web forms load etc..
I went through the files and found that setting the ReportSource of the CrystalReportViewer was causing it to have the error (displayed in full below).
Here is the line of code:
CrystalReportViewer1.ReportSource = cr;
If I comment that line of code out, the CrystalReportViewer will appear as a grey box as usual.
The same code will work fine on my local machine where I developed it. Is it because I deployed it that it's not working? I included both "Content" and "Primary Output" for each project.
Any help would be appreciated. Thanks in advance.
Here is the error:
Error executing child request for Report_1_Crystal.aspx.
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 Report_1_Crystal.aspx.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Error executing child request for Report_1_Crystal.aspx.]
System.Web.HttpServerUtility.ExecuteInternal(String path, TextWriter writer, Boolean preserveForm) +1688
System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm) +24
System.Web.HttpServerUtility.Transfer(String path) +77
RxSalesData.Forms.Report.Report_1_Form.btnSubmitClick(Object sender, EventArgs e)
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +58
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1263
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET Version:1.0.3705.0
I developed a Web application and followed the instructions to deploy it on another server using the Web Setup project.
The server I deployed it on was a Windows 2000 Advanced Server with the Final .NET Framework installed (no Visual Studio .NET).
I ran it on the other server and it all seemed to work fine until I tried to set the ReportSource of a crystal report viewer. Web forms load etc..
I went through the files and found that setting the ReportSource of the CrystalReportViewer was causing it to have the error (displayed in full below).
Here is the line of code:
CrystalReportViewer1.ReportSource = cr;
If I comment that line of code out, the CrystalReportViewer will appear as a grey box as usual.
The same code will work fine on my local machine where I developed it. Is it because I deployed it that it's not working? I included both "Content" and "Primary Output" for each project.
Any help would be appreciated. Thanks in advance.
Here is the error:
Error executing child request for Report_1_Crystal.aspx.
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 Report_1_Crystal.aspx.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Error executing child request for Report_1_Crystal.aspx.]
System.Web.HttpServerUtility.ExecuteInternal(String path, TextWriter writer, Boolean preserveForm) +1688
System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm) +24
System.Web.HttpServerUtility.Transfer(String path) +77
RxSalesData.Forms.Report.Report_1_Form.btnSubmitClick(Object sender, EventArgs e)
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +58
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1263
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET Version:1.0.3705.0