Hi,
I get this error when I try to schedule to email Account Balance but when I print preview it seems to be working fine.
B1UP Service Component - error: B1PD - Service: CustomerStatement - Database: SBOCHEVPACPRODUCTION
Service component encountered an error: B1PD - Service: CustomerStatement - Database: SBOCHEVPACPRODUCTION
Start time: 08/10/2016 09:25:00
End time: 08/10/2016 09:25:12
Message: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.Full log: 1/1: Getting report to use. Please wait...
Stacktrace: System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.TypeInitializationException: The type initializer for 'CrystalDecisions.Shared.SharedUtils' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. at CrystalDecisions.Shared.SharedUtils..cctor() --- End of inner exception stack trace --- at CrystalDecisions.Shared.SharedUtils.get_CurrentControl() at CrystalDecisions.Shared.SharedUtils.GetEffectiveCulture() at CrystalDecisions.CrystalReports.Engine.CREngineRes.GetString(String name) at CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime() at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() --- End of inner exception stack trace --- at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() at Boyum.Crystal.Control.CrystalReportController.GetReportDocument(String crystalReportPath, String server, String database, String databaseUsername, String databasePassword, Boolean useIntegratedSecurity, Boolean setCompatibleConnectionAttributes, Boolean verifyDatabase, Dictionary`2 parameters, DatabaseSource databaseSource) in C:\TFS\Boyum\Main\Source\Code\Boyum.Crystal13\Control\CrystalReportController.cs:line 19 at B1Print.Control.ReportExecutionControllerHelper.GetReportToUse(ExecutionSource executionSource, ReportConfigurationLine configurationLine, Dictionary`2 parameters, Dictionary`2 cachedReports, String eventFormType, ExternalFormPrintingData externalFormPrintingData, EventParameters eventParameters) in C:\TFS\B1 Usability Package\Main\Source\Code\Modules\B1PrintAndDelivery\Control\ReportExecutionControllerHelper.cs:line 86 at B1Print.Control.DI.DiReportExecutionController.Execute(String eventFormType, ReportEvent reportEvent, ExternalFormPrintingData externalFormPrintingData, PostExecutionResult postExecutionResult, String runGuid, ExecutionSource executionSource, EventParameters eventParameters) in C:\TFS\B1 Usability Package\Main\Source\Code\Modules\B1PrintAndDelivery\Control\DI\DiReportExecutionController.cs:line 179 at B1Print.Control.DI.DiReportExecutionController.ReactToEvent(String eventFormType, ReportEvent reportEvent, ExternalFormPrintingData externalFormPrintingData, ReportConfiguration overriddenConfigurationToUse, PostExecutionResult postExecutionResult, String runGuid, ExecutionSource executionSource) in C:\TFS\B1 Usability Package\Main\Source\Code\Modules\B1PrintAndDelivery\Control\DI\DiReportExecutionController.cs:line 125 at B1PrintComponent.B1PrintExecuter.WorkerClass.Generer() in C:\TFS\B1 Usability Package\Main\Source\Code\ServerComponent\B1PrintComponent\B1PrintExecuter.cs:line 194
Regards
Comments
2 comments
Hello Jun,
I think the problem is that you need to Install the Crystal Runtime, we have an article with this error message.
https://support.boyum-it.com/hc/en-us/articles/202820278-Could-not-load-file-or-assembly-CrystalDecisions-CrystalReports-Engine-Version-
If the problem persist, please contact your SAP's Parner and provide more information about this.
Hi Yaremi,
This is helpful although we are using Crystal Reports 2013.
For Crystal Reports 2010 and up they can download the runtime here - http://scn.sap.com/docs/DOC-7824
Thanks
JP
Please sign in to leave a comment.