troubleshooting Question

Crystal Reports using ASP.Net 2.0, IE 6, The request could not be submitted for background processing.

Avatar of basharat_rehman
basharat_rehman asked on
.NET ProgrammingCrystal ReportsASP.NET
1 Comment1 Solution1152 ViewsLast Modified:
I am working on a web site using ASP.Net 2.0. The IDE is VS.Net 2005. The appilcation contains reports which are developed in crystal reports version 9.1.5000.0. Now when I run the reports through web site, it generates an error:
Error in File C:\Documents and Settings\Administrator\Local Settings\Temp\temp_13600be5-8b63-429b-8cbb-b5260481feb2.rpt:
The request could not be submitted for background processing.
The Dataset Table is assigned to the datasource of crystal reports. Can anybody know whats the exact reason of this issue ? The code is given below:
public class ctrlAsBuiltTallyReport : System.Web.UI.UserControl
			string QSPrjId;
			string QSSectionId;
			protected CrystalDecisions.Web.CrystalReportViewer CrystalReportViewer1;
			PipeTracking_GI.Crystal.CRSAsBuilt oRpt = new PipeTracking_GI.Crystal.CRSAsBuilt();
           		protected System.Web.UI.WebControls.ImageButton Imagebutton3;
			protected System.Web.UI.WebControls.ImageButton ImageButton1;
			protected System.Web.UI.WebControls.ImageButton ImageButton2; 
			SessionDetails Session_Properties=new SessionDetails();
			private void Page_Load(object sender, System.EventArgs e)
				DataSet ds = new DataSet(); 
				QSPrjId = Request.QueryString["PrjId"];
				QSSectionId = Request.QueryString["SectionId"];
				Projects proj;
				CargoBarge _Cargo;
				Section _Section=null;
				ds = InstalledPipes.Get_DSAsBuilt_BLL(Convert.ToInt32(QSPrjId),Convert.ToInt32(QSSectionId));
                oRpt.SetParameterValue("Report Header", "As Built Tally Report");
                oRpt.SetParameterValue("Client", proj.ProjClient);
                oRpt.SetParameterValue("Project Name", proj.ProjName);
                oRpt.SetParameterValue("Project description", proj.ProjDesc);
                oRpt.SetParameterValue("Project number", proj.ProjNumber);
                oRpt.SetParameterValue("Section", _Section.SectionNo);
                oRpt.SetParameterValue("Location", proj.ProjLocation);
                oRpt.SetParameterValue("Contractor", "Global Industries");
                oRpt.SetParameterValue("Barge ID", _Cargo.LayBarge);
                DataColumn dc = new DataColumn("Name");
				CrystalReportViewer1.Visible = true; 

Open in new window

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros