The request could not be submitted for background processing

K

Kalpesh

Hi All,

I am using .net crystal reports to develop the reports. The version of
crystal report assemblies is 10.2.3600.0. When i run the reports i got
following error.

#region Retry Report Data into Dataset
if (criteria == "")
{
dsregional = new DataSet();
dsregional = doa.GetDSForReport(criteria,reporttype);
}
else
{
dsregional = new DataSet();
dsregional = doa.GetDSForReport("AND " +
criteria,reporttype);
}
#endregion

#region PUSH dataset to Crystal Report
if (dsregional.Tables[0].Rows.Count >= 1)
{
// if report type is details
if (ddReportType.SelectedItem.Value == "D")
{
cptRegionRating.Report.FileName =
"RatingCptRegionalDetails.rpt";
}

else
// report type is summary
{
cptRegionRating.Report.FileName =
"RatingCptRegionalSummery.rpt";
}
dsregional.Tables[0].TableName =
"CptRatingDistribution";

cptRegionRating.ReportDocument.SetDataSource(dsregional);
cptRegionRating.DataBind();

cptRegionRating.ReportDocument.SetParameterValue("param_rating_version",product_version);

cptRegionRating.ReportDocument.SetParameterValue("param_base_currency",base_currency);


cptRegionRating.ReportDocument.ExportToHttpResponse(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat,
Response, false, "");
cptRegionRating.Dispose();
}
else
{
Flash = "There is nothing to display";
}
#endregion

An exception of type
'CrystalDecisions.CrystalReports.Engine.InternalException' occurred in
CrystalDecisions.ReportAppServer.DataSetConversion.dll but was not
handled in user code

Additional information:
Error in File
C:\DOCUME~1\KALPES~1.BEL\LOCALS~1\Temp\RatingCptRegionalSummery
{42BA5AC4-3DBE-41E0-BE27-62858B730D28}.rpt:
The request could not be submitted for background processing.


***************

The following information about the error was automatically captured:

Date and Time: 7/28/2006 10:38:16 AM
Machine Name: KRT026
Remote Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1; SV1; .NET CLR 2.0.50727)
Remote User:
Remote Address: 127.0.0.1
Remote Host: 127.0.0.1
Current URL:
http://localhost:8000/Credit.Web/reports/RatingCptRegionalReport.aspx
Referring URL:
http://localhost:8000/Credit.Web/reports/RatingCptRegionalReport.aspx
..NET Runtime Version: 2.0.50727.42
Application Domain: dbbf37b6-1-127985368533839012

Application Build: development

Exception Type:
CrystalDecisions.CrystalReports.Engine.InternalException
Exception Message:
Error in File
C:\DOCUME~1\KALPES~1.BEL\LOCALS~1\Temp\RatingCptRegionalSummery
{A6EC13B3-2F27-44D4-B32E-B9F21C4762BD}.rpt:
The request could not be submitted for background processing.
Exception Source:
CrystalDecisions.ReportAppServer.DataSetConversion
Exception Target Site: Boolean ThrowDotNetException(System.Exception)

Exception Location:
Credit.Web\reports\RatingCptRegionalReport.aspx.cs:308[17]
Exception Details:

CrystalDecisions.CrystalReports.Engine.InternalException:
Error in File
C:\DOCUME~1\KALPES~1.BEL\LOCALS~1\Temp\RatingCptRegionalSummery
{A6EC13B3-2F27-44D4-B32E-B9F21C4762BD}.rpt:
The request could not be submitted for background processing. --->
System.Runtime.InteropServices.COMException (0x800002AD):
Error in File
C:\DOCUME~1\KALPES~1.BEL\LOCALS~1\Temp\RatingCptRegionalSummery
{A6EC13B3-2F27-44D4-B32E-B9F21C4762BD}.rpt:
The request could not be submitted for background processing.
at
CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions
pExportOptions, RequestContext pRequestContext)
at
CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext
reqContext)
--- End of inner exception stack trace ---
at
CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception
e)
at
CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext
reqContext)
at
CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext
reqContext)
at
CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions
options)
at
CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportOptions
options, HttpResponse response, Boolean asAttachment, String
attachmentName)
at
CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportFormatType
formatType, HttpResponse response, Boolean asAttachment, String
attachmentName)
at RatingCptRegionalReport.btnGo_Click(Object sender, EventArgs e)
in
D:\Work\Credit\Code\Kalypto.Credit.Web\reports\RatingCptRegionalReport.aspx.cs:line
308
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument)
at
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection
postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)



HTTP Headers
------------

Cache-Control: no-cache
Connection: Keep-Alive
Content-Length: 3158
Content-Type: multipart/form-data;
boundary=---------------------------7d6342ce0522
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, application/vnd. [truncated]
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Cookie: ASP.NET_SessionId=ear5r355eznuuz33ngctss2p
Host: localhost:8000
Referer:
http://localhost:8000/Credit.Web/reports/RatingCptRegionalReport.aspx
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
..NET CLR 2.0.50727)


Query String
------------



Form Variables
--------------

__VIEWSTATE:
/wEPDwUKLTYwNjkzNzM2NQ9kFgJmD2QWAgIDD2QWAmYPZBYkAgEPDxYCHgRUZXh0BQ9JbnRlcm5hbCBSYXRpbmdkZAIDDxAPFgYe
[truncated]
ctl00$Content$ddRating: 0
ctl00$Content$ddRegion: 00
ctl00$Content$ddExpNature: 0
ctl00$Content$ddGroupBy: KCR_RATING_INTERNAL_SCALE_ID
ctl00$Content$ddReportType: D
ctl00$Content$btnGo: Generate
__EVENTVALIDATION:
/wEWKwKHod23CwK/lo6RDQK4lq6RDQK4lqKRDQK4luqSDQLr7o+wBALw+e2bDgKG16nFCgK6qqDwBQKfxYbbDwLVkMKGCAK3lqKR
[truncated]


Session
-------

UserName:
UserId: 1
____CrystalDecisions.Web.CrystalReportSource.DUMMY_SESSION_STATE_KEY:
True


Application
-----------

Expecting solution

Warm Regards,

Kalpesh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top