Hi,
We migrated our existing application from .NET 3.5 to .NET 4.5 and upgraded crystal runtime environment from visual studio 2008 for visual studio 2012 by following these links
http://downloads.businessobjects.com/akdlm/crnetruntime/clickonce/CRRuntime_32bit_13_0_3.msi.
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_5.exe
After this upgrade in the Application we are getting this error
Load report failed.
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
at SolutionSuite.WebApp.CrystalViewer.LoadReport(Boolean bRefresh)
at SolutionSuite.WebApp.CrystalViewer.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
The maximum report processing jobs limit configured by your system administrator has been reached.
at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
The code in asp.net application is as follows
<CR:CRYSTALREPORTVIEWER id="crvMain" HasPrintButton="False" HasExportButton="False" style="Z-INDEX: 100; LEFT: 8px; POSITION: absolute; TOP: 36px" runat="server"
ToolPanelView="None" BorderColor="Transparent" BorderStyle="None" Height="50px"
Width="350px" HasRefreshButton="True" HasCrystalLogo="False" HasToggleGroupTreeButton="False" meta:resourcekey="crvMainResource1"></CR:CRYSTALREPORTVIEWER>
Private m_oReportDocument As New ReportDocument
Private Sub LoadReport(ByVal bRefresh As Boolean)
'Get the report data
Dim dtReport As DataTable = ReportHelper.GetReportData(Me.CacheKey, bRefresh)
'If there is data to display bind it to the Crystal Viewer
If dtReport.Rows.Count > 0 Then
With m_oReportDocument
.Load(ReportHelper.GetReportPath(Me.ReportId))
.SetDataSource(dtReport)
.PrintOptions.PaperSize = Common.Settings.CrystalPaperSize
End With
crvMain.ReportSource = m_oReportDocument
Else
End If
End Sub
Protected Sub Page_Unload(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Unload
m_oReportDocument.Dispose()
End Sub
We reset the registry value PrintJobLimit from 75 to -1 and that did not resolve the problem. Do we need to buy the full crystal reports package in order to resolve this issue(If thats the case what version of Crystal Reports we need to buy) or there is some thing wrong in the code that's causing this problem because with .NET 3.5 we did not have this problem.