Print Page | Close Window

The request could not be submitted for background

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Data Connectivity
Forum Discription: How to connect to data sources and export reports
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=5868
Printed Date: 05 May 2024 at 12:15am


Topic: The request could not be submitted for background
Posted By: hannankhanji
Subject: The request could not be submitted for background
Date Posted: 24 Mar 2009 at 12:42am
Dear All,
i am gettign this very common error "The request could not be submitted for background processing."..
There are many solutions found on net but nothign worked. i have environment like this
VS 2003
Crystal reports 10
Reports are embedded in dll's , reports datasource is dataset generated at runtime.
it is wiered that same report comes once and if u try to generate after some time then it throws me this error.
i tried checking uniqe identifier ,ther are not duplicates, i added "whileprintingrecords" in the formulas but still no success.. so ur help is needed.
thanks


-------------
hhk999



Replies:
Posted By: hilfy
Date Posted: 26 Mar 2009 at 12:42pm
Are you disposing of the report and then recreating it before you run it a second time?
 
The .NET Crystal components are just .NET wrappers for COM components.  COM is notoriously bad for not cleaning up after itself.  So, you have to explicitly do .Dispose() on the reports to clean up the memory that they're using.  You should also explicitly dispose of any report objects before your application closes.
 
-Dell 


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics


Posted By: kalikrishna17
Date Posted: 25 Jul 2012 at 1:36am
Originally posted by hilfy

Are you disposing of the report and then recreating it before you run it a second time?
 
The .NET Crystal components are just .NET wrappers for COM components.  COM is notoriously bad for not cleaning up after itself.  So, you have to explicitly do .Dispose() on the reports to clean up the memory that they're using.  You should also explicitly dispose of any report objects before your application closes.
 
-Dell 



how can i dispose in report document wpf...Thanks in Advance


Posted By: hilfy
Date Posted: 25 Jul 2012 at 3:07am
ReportDocument.Dispose()
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics



Print Page | Close Window