This seams like the real reason??
2020-10-22 13:56:56.8606 [App:04] [e7c4b5b2-bff9-4877-9a3f-8344264a3e7d] [FATAL] [] Could not calculate sold articles relations - Tidsgränsen för körning har upphört. Tidsgränsen uppnåddes innan åtgärden kunde slutföras, eller så svarar inte servern. System.Data.SqlClient.SqlException (0x80131904): Tidsgränsen för körning har upphört. Tidsgränsen uppnåddes innan åtgärden kunde slutföras, eller så svarar inte servern. —> System.ComponentModel.Win32Exception (0x80004005): The wait operation timed out
vid System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) vid System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) vid System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) vid System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync() vid System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket() vid System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer() vid System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value) vid System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) vid System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) vid System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) vid System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource
1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
vid System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) vid System.Data.SqlClient.SqlCommand.ExecuteNonQuery() vid Litium.Foundation.Modules.ECommerce.Data.StatisticDataProvider.CalculateMostSoldArticlesRelations(IEnumerable
1 orderStatesToInclude, DateTime maximumAge, Int32 limit, SqlCommand openCommand)
ClientConnectionId:fdf567b3-51a6-4040-8e07-413bf2e7a61d
Error Number:-2,State:0,Class:11
EDIT: Fix
<commandTimeouts>
<commandTimeout command="ECommerce_CalculateMostSoldArticle" timeOut="900" />
<commandTimeout command="ECommerce_CalculateSoldArticleRelations" timeOut="900" />
</commandTimeouts>