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(dsreg ional);
cptRegionRating.DataBind();
cptRegionRating.ReportDocument.SetParameterValue(" param_rating_version",product_version);
cptRegionRating.ReportDocument.SetParameterValue(" param_base_currency",base_currency);
cptRegionRating.ReportDocument.ExportToHttpRespons e(CrystalDecisions.Shared.ExportFormatType.Portabl eDocFormat,
Response, false, "");
cptRegionRating.Dispose();
}
else
{
Flash = "There is nothing to display";
}
#endregion
An exception of type
'CrystalDecisions.CrystalReports.Engine.InternalEx ception' 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\RatingCptRe gionalSummery
{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/rep...nalReport.aspx
Referring URL:
http://localhost:8000/Credit.Web/rep...nalReport.aspx
..NET Runtime Version: 2.0.50727.42
Application Domain: dbbf37b6-1-127985368533839012
Application Build: development
Exception Type:
CrystalDecisions.CrystalReports.Engine.InternalExc eption
Exception Message:
Error in File
C:\DOCUME~1\KALPES~1.BEL\LOCALS~1\Temp\RatingCptRe gionalSummery
{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.InternalExc eption:
Error in File
C:\DOCUME~1\KALPES~1.BEL\LOCALS~1\Temp\RatingCptRe gionalSummery
{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\RatingCptRe gionalSummery
{A6EC13B3-2F27-44D4-B32E-B9F21C4762BD}.rpt:
The request could not be submitted for background processing.
at
CrystalDecisions.ReportAppServer.Controllers.Repor tSourceClass.Export(ExportOptions
pExportOptions, RequestContext pRequestContext)
at
CrystalDecisions.ReportSource.EromReportSourceBase .ExportToStream(ExportRequestContext
reqContext)
--- End of inner exception stack trace ---
at
CrystalDecisions.ReportAppServer.ConvertDotNetToEr om.ThrowDotNetException(Exception
e)
at
CrystalDecisions.ReportSource.EromReportSourceBase .ExportToStream(ExportRequestContext
reqContext)
at
CrystalDecisions.CrystalReports.Engine.FormatEngin e.ExportToStream(ExportRequestContext
reqContext)
at
CrystalDecisions.CrystalReports.Engine.ReportDocum ent.ExportToStream(ExportOptions
options)
at
CrystalDecisions.CrystalReports.Engine.ReportDocum ent.ExportToHttpResponse(ExportOptions
options, HttpResponse response, Boolean asAttachment, String
attachmentName)
at
CrystalDecisions.CrystalReports.Engine.ReportDocum ent.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\Rat ingCptRegionalReport.aspx.cs:line
308
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEven t(String
eventArgument)
at
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String
eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler
sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection
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/rep...nalReport.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:
/wEPDwUKLTYwNjkzNzM2NQ9kFgJmD2QWAgIDD2QWAmYPZBYkAgE PDxYCHgRUZXh0BQ9JbnRlcm5hbCBSYXRpbmdkZAIDDxAPFgYe
[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+e2bDgKG16 nFCgK6qqDwBQKfxYbbDwLVkMKGCAK3lqKR
[truncated]
Session
-------
UserName:
UserId: 1
____CrystalDecisions.Web.CrystalReportSource.DUMMY _SESSION_STATE_KEY:
True
Application
-----------
Expecting solution
Warm Regards,
Kalpesh