OrderJobs.SendOrderConfirmationMail

// Job ID: #4327496
using OOP.BackgroundJobsManager.Jobs;

var orderJobs = Activate<OrderJobs>();
await orderJobs.SendOrderConfirmationMail(
    1864195,
    FromJson<UserDefault>("{\"UserID\":94070,\"BPID\":3,\"SeletedDivision\":[]}"));

Properties

CurrentCulture
"en-IN"
CurrentUICulture
"en-US"
RetryCount
10

State

5/12/2026 1:10:06 PM (+30ms) Failed

An exception occurred during performance of the job.

System.IO.FileNotFoundException

Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

   at OOP.BackgroundTask.Repository.OrderRepository.<DownloadDivisionOrdersAsPDF>d__16.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at OOP.BackgroundTask.Repository.OrderRepository.DownloadDivisionOrdersAsPDF(List`1 POPrintParams, UserDefault UserDefault)
   at OOP.BackgroundTask.Orders.OrderConfirmationMail.<SentOrderConfirmationMail>d__0.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundTask\Orders\OrderConfirmationMail.cs:line 69
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OOP.BackgroundTask.Orders.SentOrderNotification.<SentOrderNotificationEmail>d__2.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundTask\Orders\SentOrderNotification.cs:line 215
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OOP.BackgroundJobsManager.Jobs.OrderJobs.<SendOrderConfirmationMail>d__1.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundJobsManager\Jobs\OrderJobs.cs:line 24
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+16ms Processing

Server:
ooptest:18344
Worker:
9f605823

+1h 49m Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 10 of 10: Could not load file or assembly 'CrystalDecisions…

Enqueue at:
5/12/2026 1:09:54 PM

+94ms Failed

An exception occurred during performance of the job.

System.IO.FileNotFoundException

Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

   at OOP.BackgroundTask.Repository.OrderRepository.<DownloadDivisionOrdersAsPDF>d__16.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at OOP.BackgroundTask.Repository.OrderRepository.DownloadDivisionOrdersAsPDF(List`1 POPrintParams, UserDefault UserDefault)
   at OOP.BackgroundTask.Orders.OrderConfirmationMail.<SentOrderConfirmationMail>d__0.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundTask\Orders\OrderConfirmationMail.cs:line 69
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OOP.BackgroundTask.Orders.SentOrderNotification.<SentOrderNotificationEmail>d__2.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundTask\Orders\SentOrderNotification.cs:line 215
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OOP.BackgroundJobsManager.Jobs.OrderJobs.<SendOrderConfirmationMail>d__1.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundJobsManager\Jobs\OrderJobs.cs:line 24
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

-7m 32.097s Processing

Server:
ooptest:15472
Worker:
c8cffab4

+1h 12m Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 9 of 10: The type initializer for 'CrystalDecisions.Crysta…

Enqueue at:
5/12/2026 11:27:39 AM

+264ms Failed

An exception occurred during performance of the job.

System.TypeInitializationException

The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.

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.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   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 OOPRepository.Utility.CrystalUtility.POPrint(String filepath, Int32 divisionID, Int32 OrderID, String DivisionOrderID, Int32 DistributorBPID, ConnectionInfo connection) in D:\OneDrive - ENES TEXTILE MILLS\GIT_SOURCE\OOP\OOPRepository\Utility\CrystalUtility.cs:line 205
   at OOPRepository.Orders.GetPOPrintReport.<GetPOPrintAsync>d__0.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\GIT_SOURCE\OOP\OOPRepository\Orders\GetPoPrint.cs:line 31
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at OOP.BackgroundTask.Repository.OrderRepository.<DownloadDivisionOrdersAsPDF>d__16.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\GIT_SOURCE\OOP\OOP.BackgroundTask\Repository\OrderRepository.cs:line 786
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at OOP.BackgroundTask.Orders.OrderConfirmationMail.<SentOrderConfirmationMail>d__0.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\GIT_SOURCE\OOP\OOP.BackgroundTask\Orders\OrderConfirmationMail.cs:line 69
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at OOP.BackgroundTask.Orders.SentOrderNotification.<SentOrderNotificationEmail>d__2.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\GIT_SOURCE\OOP\OOP.BackgroundTask\Orders\SentOrderNotification.cs:line 215
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at OOP.BackgroundJobsManager.Jobs.OrderJobs.<SendOrderConfirmationMail>d__1.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\GIT_SOURCE\OOP\OOP.BackgroundJobsManager\Jobs\OrderJobs.cs:line 26
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+133ms Processing

Server:
nsho02swlap22:6908
Worker:
e3369a54

+41m 54.177s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 8 of 10: Could not load file or assembly 'CrystalDecisions…

Enqueue at:
5/12/2026 10:15:29 AM

+33ms Failed

An exception occurred during performance of the job.

System.IO.FileNotFoundException

Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

   at OOP.BackgroundTask.Repository.OrderRepository.<DownloadDivisionOrdersAsPDF>d__16.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at OOP.BackgroundTask.Repository.OrderRepository.DownloadDivisionOrdersAsPDF(List`1 POPrintParams, UserDefault UserDefault)
   at OOP.BackgroundTask.Orders.OrderConfirmationMail.<SentOrderConfirmationMail>d__0.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundTask\Orders\OrderConfirmationMail.cs:line 69
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OOP.BackgroundTask.Orders.SentOrderNotification.<SentOrderNotificationEmail>d__2.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundTask\Orders\SentOrderNotification.cs:line 215
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OOP.BackgroundJobsManager.Jobs.OrderJobs.<SendOrderConfirmationMail>d__1.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundJobsManager\Jobs\OrderJobs.cs:line 24
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

-7m 32.103s Processing

Server:
ooptest:15472
Worker:
489f72e2

+27m 6.430s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 7 of 10: Could not load file or assembly 'CrystalDecisions…

Enqueue at:
5/12/2026 9:37:46 AM

+46ms Failed

An exception occurred during performance of the job.

System.IO.FileNotFoundException

Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

   at OOP.BackgroundTask.Repository.OrderRepository.<DownloadDivisionOrdersAsPDF>d__16.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at OOP.BackgroundTask.Repository.OrderRepository.DownloadDivisionOrdersAsPDF(List`1 POPrintParams, UserDefault UserDefault)
   at OOP.BackgroundTask.Orders.OrderConfirmationMail.<SentOrderConfirmationMail>d__0.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundTask\Orders\OrderConfirmationMail.cs:line 69
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OOP.BackgroundTask.Orders.SentOrderNotification.<SentOrderNotificationEmail>d__2.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundTask\Orders\SentOrderNotification.cs:line 215
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OOP.BackgroundJobsManager.Jobs.OrderJobs.<SendOrderConfirmationMail>d__1.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundJobsManager\Jobs\OrderJobs.cs:line 24
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

-7m 32.103s Processing

Server:
ooptest:15472
Worker:
16644fd4

+13m 34.307s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 6 of 10: Could not load file or assembly 'CrystalDecisions…

Enqueue at:
5/12/2026 9:21:35 AM

+83ms Failed

An exception occurred during performance of the job.

System.IO.FileNotFoundException

Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

   at OOP.BackgroundTask.Repository.OrderRepository.<DownloadDivisionOrdersAsPDF>d__16.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at OOP.BackgroundTask.Repository.OrderRepository.DownloadDivisionOrdersAsPDF(List`1 POPrintParams, UserDefault UserDefault)
   at OOP.BackgroundTask.Orders.OrderConfirmationMail.<SentOrderConfirmationMail>d__0.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundTask\Orders\OrderConfirmationMail.cs:line 69
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OOP.BackgroundTask.Orders.SentOrderNotification.<SentOrderNotificationEmail>d__2.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundTask\Orders\SentOrderNotification.cs:line 215
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OOP.BackgroundJobsManager.Jobs.OrderJobs.<SendOrderConfirmationMail>d__1.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundJobsManager\Jobs\OrderJobs.cs:line 24
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

-7m 31.947s Processing

Server:
ooptest:15472
Worker:
d09f6973

+7m 1.140s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 5 of 10: The type initializer for 'CrystalDecisions.Crysta…

Enqueue at:
5/12/2026 9:15:22 AM

+114ms Failed

An exception occurred during performance of the job.

System.TypeInitializationException

The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.

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.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   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 OOPRepository.Utility.CrystalUtility.POPrint(String filepath, Int32 divisionID, Int32 OrderID, String DivisionOrderID, Int32 DistributorBPID, ConnectionInfo connection) in D:\OneDrive - ENES TEXTILE MILLS\GIT_SOURCE\OOP\OOPRepository\Utility\CrystalUtility.cs:line 205
   at OOPRepository.Orders.GetPOPrintReport.<GetPOPrintAsync>d__0.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\GIT_SOURCE\OOP\OOPRepository\Orders\GetPoPrint.cs:line 31
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at OOP.BackgroundTask.Repository.OrderRepository.<DownloadDivisionOrdersAsPDF>d__16.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\GIT_SOURCE\OOP\OOP.BackgroundTask\Repository\OrderRepository.cs:line 786
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at OOP.BackgroundTask.Orders.OrderConfirmationMail.<SentOrderConfirmationMail>d__0.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\GIT_SOURCE\OOP\OOP.BackgroundTask\Orders\OrderConfirmationMail.cs:line 69
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at OOP.BackgroundTask.Orders.SentOrderNotification.<SentOrderNotificationEmail>d__2.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\GIT_SOURCE\OOP\OOP.BackgroundTask\Orders\SentOrderNotification.cs:line 215
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at OOP.BackgroundJobsManager.Jobs.OrderJobs.<SendOrderConfirmationMail>d__1.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\GIT_SOURCE\OOP\OOP.BackgroundJobsManager\Jobs\OrderJobs.cs:line 26
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+60ms Processing

Server:
nsho02swlap22:6908
Worker:
57242d79

+7m 47.176s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 4 of 10: Could not load file or assembly 'CrystalDecisions…

Enqueue at:
5/12/2026 9:02:24 AM

+34ms Failed

An exception occurred during performance of the job.

System.IO.FileNotFoundException

Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

   at OOP.BackgroundTask.Repository.OrderRepository.<DownloadDivisionOrdersAsPDF>d__16.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at OOP.BackgroundTask.Repository.OrderRepository.DownloadDivisionOrdersAsPDF(List`1 POPrintParams, UserDefault UserDefault)
   at OOP.BackgroundTask.Orders.OrderConfirmationMail.<SentOrderConfirmationMail>d__0.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundTask\Orders\OrderConfirmationMail.cs:line 69
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OOP.BackgroundTask.Orders.SentOrderNotification.<SentOrderNotificationEmail>d__2.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundTask\Orders\SentOrderNotification.cs:line 215
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OOP.BackgroundJobsManager.Jobs.OrderJobs.<SendOrderConfirmationMail>d__1.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundJobsManager\Jobs\OrderJobs.cs:line 24
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

-7m 32.117s Processing

Server:
ooptest:15472
Worker:
8882c451

+7m 47.183s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 3 of 10: Could not load file or assembly 'CrystalDecisions…

Enqueue at:
5/12/2026 9:01:48 AM

+30ms Failed

An exception occurred during performance of the job.

System.IO.FileNotFoundException

Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

   at OOP.BackgroundTask.Repository.OrderRepository.<DownloadDivisionOrdersAsPDF>d__16.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at OOP.BackgroundTask.Repository.OrderRepository.DownloadDivisionOrdersAsPDF(List`1 POPrintParams, UserDefault UserDefault)
   at OOP.BackgroundTask.Orders.OrderConfirmationMail.<SentOrderConfirmationMail>d__0.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundTask\Orders\OrderConfirmationMail.cs:line 69
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OOP.BackgroundTask.Orders.SentOrderNotification.<SentOrderNotificationEmail>d__2.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundTask\Orders\SentOrderNotification.cs:line 215
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OOP.BackgroundJobsManager.Jobs.OrderJobs.<SendOrderConfirmationMail>d__1.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundJobsManager\Jobs\OrderJobs.cs:line 24
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

-7m 32.123s Processing

Server:
ooptest:15472
Worker:
4fc3cc24

+7m 46.287s Enqueued

Triggered by DelayedJobScheduler

+106ms Scheduled

Retry attempt 2 of 10: Could not load file or assembly 'CrystalDecisions…

Enqueue at:
5/12/2026 9:00:57 AM

+830ms Failed

An exception occurred during performance of the job.

System.IO.FileNotFoundException

Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

   at OOP.BackgroundTask.Repository.OrderRepository.<DownloadDivisionOrdersAsPDF>d__16.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at OOP.BackgroundTask.Repository.OrderRepository.DownloadDivisionOrdersAsPDF(List`1 POPrintParams, UserDefault UserDefault)
   at OOP.BackgroundTask.Orders.OrderConfirmationMail.<SentOrderConfirmationMail>d__0.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundTask\Orders\OrderConfirmationMail.cs:line 69
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OOP.BackgroundTask.Orders.SentOrderNotification.<SentOrderNotificationEmail>d__2.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundTask\Orders\SentOrderNotification.cs:line 215
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OOP.BackgroundJobsManager.Jobs.OrderJobs.<SendOrderConfirmationMail>d__1.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\D-Drive\30.10.2024\OOP\OOP.BackgroundJobsManager\Jobs\OrderJobs.cs:line 24
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

-7m 32.143s Processing

Server:
ooptest:15472
Worker:
7a781de2

+42.470s Enqueued

Triggered by DelayedJobScheduler

+30ms Scheduled

Retry attempt 1 of 10: The type initializer for 'CrystalDecisions.Crysta…

Enqueue at:
5/12/2026 9:07:46 AM

+1.493s Failed

An exception occurred during performance of the job.

System.TypeInitializationException

The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.

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.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   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 OOPRepository.Utility.CrystalUtility.POPrint(String filepath, Int32 divisionID, Int32 OrderID, String DivisionOrderID, Int32 DistributorBPID, ConnectionInfo connection) in D:\OneDrive - ENES TEXTILE MILLS\GIT_SOURCE\OOP\OOPRepository\Utility\CrystalUtility.cs:line 205
   at OOPRepository.Orders.GetPOPrintReport.<GetPOPrintAsync>d__0.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\GIT_SOURCE\OOP\OOPRepository\Orders\GetPoPrint.cs:line 31
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at OOP.BackgroundTask.Repository.OrderRepository.<DownloadDivisionOrdersAsPDF>d__16.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\GIT_SOURCE\OOP\OOP.BackgroundTask\Repository\OrderRepository.cs:line 786
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at OOP.BackgroundTask.Orders.OrderConfirmationMail.<SentOrderConfirmationMail>d__0.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\GIT_SOURCE\OOP\OOP.BackgroundTask\Orders\OrderConfirmationMail.cs:line 69
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at OOP.BackgroundTask.Orders.SentOrderNotification.<SentOrderNotificationEmail>d__2.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\GIT_SOURCE\OOP\OOP.BackgroundTask\Orders\SentOrderNotification.cs:line 215
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at OOP.BackgroundJobsManager.Jobs.OrderJobs.<SendOrderConfirmationMail>d__1.MoveNext() in D:\OneDrive - ENES TEXTILE MILLS\GIT_SOURCE\OOP\OOP.BackgroundJobsManager\Jobs\OrderJobs.cs:line 26
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+7m 32.257s Processing

Server:
nsho02swlap22:6908
Worker:
8d4e8c29

+17ms Enqueued

5/12/2026 8:59:30 AM Created