Skip to Content
0
Aug 30, 2023 at 10:32 AM

Errors calling Crystal reports from dotnet

187 Views Last edit Sep 03, 2023 at 03:27 AM 4 rev

Currently have a dot net application that calls crystal reports. Sage 100 standard calls the crystal reports but crystal reports opens and automatically closes. Checked windows eventviewer and the error is a dot net application error to crystal reports call error. Have resintalled the Sage application and crystal reports 32 bit. Currently installed DotNet Framework 4.8.1.

Any advice is appreciated.

Following eventviewer error:

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.AccessViolationException

at CrystalDecisions.ReportAppServer.Controllers.ISCRAdvancedReportSource.GetDocument()

at CrystalDecisions.ReportSource.EromReportSourceBase.ApplyLogon(CrystalDecisions.Shared.TableLogOnInfos)

at CrystalDecisions.ReportSource.EromReportSourceBase.GetTotaller(CrystalDecisions.Shared.TotallerRequestContext)

at CrystalDecisions.Windows.Forms.MainReportDocument.GetGroupTreeFromEngine(CrystalDecisions.Shared.TotallerRequestContext)

at CrystalDecisions.Windows.Forms.ViewerDocument.GetGroupTree(CrystalDecisions.Shared.TotallerRequestContext)

at CrystalDecisions.Windows.Forms.ReportDocumentBase.UpdateGroupTree(Int32)

at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetGroupTree()

at CrystalDecisions.Windows.Forms.ReportGroupTree.backgroundWorker_DoWork(System.Object, System.ComponentModel.DoWorkEventArgs)

at System.ComponentModel.BackgroundWorker.OnDoWork(System.ComponentModel.DoWorkEventArgs)

at System.ComponentModel.BackgroundWorker.WorkerThreadStart(System.Object)

at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr, System.Object[], System.Object, System.Object[] ByRef)

at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessageSink)

at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()

at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(System.Object)

at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)

at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)

at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)

at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()

at System.Threading.ThreadPoolWorkQueue.Dispatch()

at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()