BackgroundWorker Rest Service
Version 1.0.0.0
Der foody BackgroundWorker Rest Service stellt eine Schnittstelle für diverse foody Workerjobs zur Verfügung.
Log:
2026-03-11 00:00:04,206 INFO ScheduleDigitalInvoice called... |
2026-03-11 00:00:35,140 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 00:00:35,171 INFO ScheduleDigitalInvoice finished. |
2026-03-11 00:05:03,379 INFO ScheduleDigitalInvoice called... |
2026-03-11 00:05:34,254 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 00:05:34,254 INFO ScheduleDigitalInvoice finished. |
2026-03-11 00:10:03,413 INFO ScheduleDigitalInvoice called... |
2026-03-11 00:10:34,303 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 00:10:34,319 INFO ScheduleDigitalInvoice finished. |
2026-03-11 00:15:04,248 INFO ScheduleDigitalInvoice called... |
2026-03-11 00:15:35,148 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 00:15:35,148 INFO ScheduleDigitalInvoice finished. |
2026-03-11 00:20:03,371 INFO ScheduleDigitalInvoice called... |
2026-03-11 00:20:34,267 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 00:20:34,282 INFO ScheduleDigitalInvoice finished. |
2026-03-11 00:25:03,636 INFO ScheduleDigitalInvoice called... |
2026-03-11 00:25:34,519 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 00:25:34,519 INFO ScheduleDigitalInvoice finished. |
2026-03-11 00:30:03,992 INFO ScheduleDigitalInvoice called... |
2026-03-11 00:30:34,878 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 00:30:34,878 INFO ScheduleDigitalInvoice finished. |
2026-03-11 00:35:03,394 INFO ScheduleDigitalInvoice called... |
2026-03-11 00:35:34,275 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 00:35:34,291 INFO ScheduleDigitalInvoice finished. |
2026-03-11 00:40:03,366 INFO ScheduleDigitalInvoice called... |
2026-03-11 00:40:34,278 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 00:40:34,294 INFO ScheduleDigitalInvoice finished. |
2026-03-11 00:45:04,270 INFO ScheduleDigitalInvoice called... |
2026-03-11 00:45:35,161 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 00:45:35,161 INFO ScheduleDigitalInvoice finished. |
2026-03-11 00:50:03,390 INFO ScheduleDigitalInvoice called... |
2026-03-11 00:50:34,282 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 00:50:34,282 INFO ScheduleDigitalInvoice finished. |
2026-03-11 00:55:03,678 INFO ScheduleDigitalInvoice called... |
2026-03-11 00:55:34,572 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 00:55:34,588 INFO ScheduleDigitalInvoice finished. |
2026-03-11 01:00:03,949 INFO ScheduleDigitalInvoice called... |
2026-03-11 01:00:34,850 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 01:00:34,865 INFO ScheduleDigitalInvoice finished. |
2026-03-11 01:05:03,430 INFO ScheduleDigitalInvoice called... |
2026-03-11 01:05:34,333 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 01:05:34,349 INFO ScheduleDigitalInvoice finished. |
2026-03-11 01:10:03,776 INFO ScheduleDigitalInvoice called... |
2026-03-11 01:10:34,674 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 01:10:34,690 INFO ScheduleDigitalInvoice finished. |
2026-03-11 01:15:03,970 INFO ScheduleDigitalInvoice called... |
2026-03-11 01:15:34,856 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 01:15:34,872 INFO ScheduleDigitalInvoice finished. |
2026-03-11 01:20:03,407 INFO ScheduleDigitalInvoice called... |
2026-03-11 01:20:34,276 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 01:20:34,308 INFO ScheduleDigitalInvoice finished. |
2026-03-11 01:25:03,723 INFO ScheduleDigitalInvoice called... |
2026-03-11 01:25:34,625 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 01:25:34,641 INFO ScheduleDigitalInvoice finished. |
2026-03-11 01:30:03,961 INFO ScheduleDigitalInvoice called... |
2026-03-11 01:30:34,853 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 01:30:34,853 INFO ScheduleDigitalInvoice finished. |
2026-03-11 01:35:03,470 INFO ScheduleDigitalInvoice called... |
2026-03-11 01:35:34,357 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 01:35:34,373 INFO ScheduleDigitalInvoice finished. |
2026-03-11 01:40:03,353 INFO ScheduleDigitalInvoice called... |
2026-03-11 01:40:34,228 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 01:40:34,244 INFO ScheduleDigitalInvoice finished. |
2026-03-11 01:45:04,364 INFO ScheduleDigitalInvoice called... |
2026-03-11 01:45:35,270 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 01:45:35,270 INFO ScheduleDigitalInvoice finished. |
2026-03-11 01:50:03,342 INFO ScheduleDigitalInvoice called... |
2026-03-11 01:50:34,223 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 01:50:34,239 INFO ScheduleDigitalInvoice finished. |
2026-03-11 01:55:03,604 INFO ScheduleDigitalInvoice called... |
2026-03-11 01:55:34,487 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 01:55:34,503 INFO ScheduleDigitalInvoice finished. |
2026-03-11 02:00:04,023 INFO ScheduleDigitalInvoice called... |
2026-03-11 02:00:34,882 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 02:00:34,882 INFO ScheduleDigitalInvoice finished. |
2026-03-11 02:05:03,362 INFO ScheduleDigitalInvoice called... |
2026-03-11 02:05:34,224 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 02:05:34,240 INFO ScheduleDigitalInvoice finished. |
2026-03-11 02:10:03,700 INFO ScheduleDigitalInvoice called... |
2026-03-11 02:10:34,598 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 02:10:34,598 INFO ScheduleDigitalInvoice finished. |
2026-03-11 02:15:03,968 INFO ScheduleDigitalInvoice called... |
2026-03-11 02:15:34,874 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 02:15:34,874 INFO ScheduleDigitalInvoice finished. |
2026-03-11 02:20:03,376 INFO ScheduleDigitalInvoice called... |
2026-03-11 02:20:34,237 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 02:20:34,252 INFO ScheduleDigitalInvoice finished. |
2026-03-11 02:25:03,784 INFO ScheduleDigitalInvoice called... |
2026-03-11 02:25:34,666 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 02:25:34,666 INFO ScheduleDigitalInvoice finished. |
2026-03-11 02:30:03,945 INFO ScheduleDigitalInvoice called... |
2026-03-11 02:30:34,864 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 02:30:34,880 INFO ScheduleDigitalInvoice finished. |
2026-03-11 02:35:03,548 INFO ScheduleDigitalInvoice called... |
2026-03-11 02:35:34,449 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 02:35:34,464 INFO ScheduleDigitalInvoice finished. |
2026-03-11 02:40:03,699 INFO ScheduleDigitalInvoice called... |
2026-03-11 02:40:34,575 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 02:40:34,575 INFO ScheduleDigitalInvoice finished. |
2026-03-11 02:45:03,939 INFO ScheduleDigitalInvoice called... |
2026-03-11 02:45:34,856 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 02:45:34,856 INFO ScheduleDigitalInvoice finished. |
2026-03-11 02:50:03,407 INFO ScheduleDigitalInvoice called... |
2026-03-11 02:50:34,328 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 02:50:34,359 INFO ScheduleDigitalInvoice finished. |
2026-03-11 02:55:03,428 INFO ScheduleDigitalInvoice called... |
2026-03-11 02:55:34,302 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 02:55:34,318 INFO ScheduleDigitalInvoice finished. |
2026-03-11 03:00:04,826 INFO ScheduleDigitalInvoice called... |
2026-03-11 03:00:35,688 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 03:00:35,703 INFO ScheduleDigitalInvoice finished. |
2026-03-11 03:05:03,635 INFO ScheduleDigitalInvoice called... |
2026-03-11 03:05:34,510 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 03:05:34,525 INFO ScheduleDigitalInvoice finished. |
2026-03-11 03:10:03,393 INFO ScheduleDigitalInvoice called... |
2026-03-11 03:10:34,246 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 03:10:34,261 INFO ScheduleDigitalInvoice finished. |
2026-03-11 03:15:03,979 INFO ScheduleDigitalInvoice called... |
2026-03-11 03:15:34,889 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 03:15:34,905 INFO ScheduleDigitalInvoice finished. |
2026-03-11 03:20:03,440 INFO ScheduleDigitalInvoice called... |
2026-03-11 03:20:34,320 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 03:20:34,320 INFO ScheduleDigitalInvoice finished. |
2026-03-11 03:25:03,681 INFO ScheduleDigitalInvoice called... |
2026-03-11 03:25:34,591 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 03:25:34,623 INFO ScheduleDigitalInvoice finished. |
2026-03-11 03:30:03,975 INFO ScheduleDigitalInvoice called... |
2026-03-11 03:30:34,885 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 03:30:34,885 INFO ScheduleDigitalInvoice finished. |
2026-03-11 03:35:03,676 INFO ScheduleDigitalInvoice called... |
2026-03-11 03:35:34,517 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 03:35:34,532 INFO ScheduleDigitalInvoice finished. |
2026-03-11 03:40:03,437 INFO ScheduleDigitalInvoice called... |
2026-03-11 03:40:34,306 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 03:40:34,322 INFO ScheduleDigitalInvoice finished. |
2026-03-11 03:45:03,897 INFO ScheduleDigitalInvoice called... |
2026-03-11 03:45:34,776 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 03:45:34,792 INFO ScheduleDigitalInvoice finished. |
2026-03-11 03:50:03,351 INFO ScheduleDigitalInvoice called... |
2026-03-11 03:50:34,262 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 03:50:34,278 INFO ScheduleDigitalInvoice finished. |
2026-03-11 03:55:03,667 INFO ScheduleDigitalInvoice called... |
2026-03-11 03:55:34,563 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 03:55:34,578 INFO ScheduleDigitalInvoice finished. |
2026-03-11 04:00:04,045 INFO ScheduleDigitalInvoice called... |
2026-03-11 04:00:34,961 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 04:00:34,977 INFO ScheduleDigitalInvoice finished. |
2026-03-11 04:05:03,407 INFO ScheduleDigitalInvoice called... |
2026-03-11 04:05:34,324 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 04:05:34,324 INFO ScheduleDigitalInvoice finished. |
2026-03-11 04:10:03,617 INFO ScheduleDigitalInvoice called... |
2026-03-11 04:10:34,476 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 04:10:34,476 INFO ScheduleDigitalInvoice finished. |
2026-03-11 04:15:03,920 INFO ScheduleDigitalInvoice called... |
2026-03-11 04:15:34,821 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 04:15:34,837 INFO ScheduleDigitalInvoice finished. |
2026-03-11 04:20:03,322 INFO ScheduleDigitalInvoice called... |
2026-03-11 04:20:34,258 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 04:20:34,274 INFO ScheduleDigitalInvoice finished. |
2026-03-11 04:25:03,913 INFO ScheduleDigitalInvoice called... |
2026-03-11 04:25:34,792 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 04:25:34,807 INFO ScheduleDigitalInvoice finished. |
2026-03-11 04:30:03,973 INFO ScheduleDigitalInvoice called... |
2026-03-11 04:30:34,873 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 04:30:34,904 INFO ScheduleDigitalInvoice finished. |
2026-03-11 04:35:03,394 INFO ScheduleDigitalInvoice called... |
2026-03-11 04:35:34,268 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 04:35:34,283 INFO ScheduleDigitalInvoice finished. |
2026-03-11 04:40:03,501 INFO ScheduleDigitalInvoice called... |
2026-03-11 04:40:34,365 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 04:40:34,380 INFO ScheduleDigitalInvoice finished. |
2026-03-11 04:45:04,179 INFO ScheduleDigitalInvoice called... |
2026-03-11 04:45:35,047 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 04:45:35,062 INFO ScheduleDigitalInvoice finished. |
2026-03-11 04:50:03,399 INFO ScheduleDigitalInvoice called... |
2026-03-11 04:50:34,308 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 04:50:34,308 INFO ScheduleDigitalInvoice finished. |
2026-03-11 04:55:03,564 INFO ScheduleDigitalInvoice called... |
2026-03-11 04:55:34,470 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 04:55:34,485 INFO ScheduleDigitalInvoice finished. |
2026-03-11 05:00:03,975 INFO ScheduleDigitalInvoice called... |
2026-03-11 05:00:34,881 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 05:00:34,897 INFO ScheduleDigitalInvoice finished. |
2026-03-11 05:05:03,424 INFO ScheduleDigitalInvoice called... |
2026-03-11 05:05:34,364 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 05:05:34,364 INFO ScheduleDigitalInvoice finished. |
2026-03-11 05:10:03,740 INFO ScheduleDigitalInvoice called... |
2026-03-11 05:10:34,651 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 05:10:34,651 INFO ScheduleDigitalInvoice finished. |
2026-03-11 05:15:04,064 INFO ScheduleDigitalInvoice called... |
2026-03-11 05:15:34,950 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 05:15:34,966 INFO ScheduleDigitalInvoice finished. |
2026-03-11 05:20:03,484 INFO ScheduleDigitalInvoice called... |
2026-03-11 05:20:34,384 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 05:20:34,399 INFO ScheduleDigitalInvoice finished. |
2026-03-11 05:25:03,833 INFO ScheduleDigitalInvoice called... |
2026-03-11 05:25:34,759 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 05:25:34,759 INFO ScheduleDigitalInvoice finished. |
2026-03-11 05:30:04,034 INFO ScheduleDigitalInvoice called... |
2026-03-11 05:30:34,920 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 05:30:34,935 INFO ScheduleDigitalInvoice finished. |
2026-03-11 05:35:03,447 INFO ScheduleDigitalInvoice called... |
2026-03-11 05:35:34,350 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 05:35:34,350 INFO ScheduleDigitalInvoice finished. |
2026-03-11 05:40:03,438 INFO ScheduleDigitalInvoice called... |
2026-03-11 05:40:34,367 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 05:40:34,367 INFO ScheduleDigitalInvoice finished. |
2026-03-11 05:45:04,353 INFO ScheduleDigitalInvoice called... |
2026-03-11 05:45:35,248 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 05:45:35,248 INFO ScheduleDigitalInvoice finished. |
2026-03-11 05:50:03,522 INFO ScheduleDigitalInvoice called... |
2026-03-11 05:50:34,449 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 05:50:34,449 INFO ScheduleDigitalInvoice finished. |
2026-03-11 05:55:03,706 INFO ScheduleDigitalInvoice called... |
2026-03-11 05:55:34,616 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 05:55:34,616 INFO ScheduleDigitalInvoice finished. |
2026-03-11 06:00:04,065 INFO ScheduleDigitalInvoice called... |
2026-03-11 06:00:34,963 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 06:00:34,979 INFO ScheduleDigitalInvoice finished. |
2026-03-11 06:05:03,373 INFO ScheduleDigitalInvoice called... |
2026-03-11 06:05:05,229 INFO MakeGlAccountPostings called... |
2026-03-11 06:05:05,479 INFO MakeGlAccountPostings finished. |
2026-03-11 06:05:05,479 INFO MakeCreditMemoRequest called... |
2026-03-11 06:05:05,682 INFO MakeCreditMemoRequest finished. |
2026-03-11 06:05:05,682 INFO ScheduleDigitalInvoice finished. |
2026-03-11 06:10:03,684 INFO ScheduleDigitalInvoice called... |
2026-03-11 06:10:04,403 INFO MakeGlAccountPostings called... |
2026-03-11 06:10:04,637 INFO MakeGlAccountPostings finished. |
2026-03-11 06:10:04,637 INFO MakeCreditMemoRequest called... |
2026-03-11 06:10:05,175 INFO MakeCreditMemoRequest finished. |
2026-03-11 06:10:05,175 INFO ScheduleDigitalInvoice finished. |
2026-03-11 06:15:03,963 INFO ScheduleDigitalInvoice called... |
2026-03-11 06:15:04,151 INFO MakeGlAccountPostings called... |
2026-03-11 06:15:04,354 INFO MakeGlAccountPostings finished. |
2026-03-11 06:15:04,369 INFO MakeCreditMemoRequest called... |
2026-03-11 06:15:04,510 INFO MakeCreditMemoRequest finished. |
2026-03-11 06:15:04,526 INFO ScheduleDigitalInvoice finished. |
2026-03-11 06:20:03,444 INFO ScheduleDigitalInvoice called... |
2026-03-11 06:20:03,616 INFO MakeGlAccountPostings called... |
2026-03-11 06:20:03,725 INFO MakeGlAccountPostings finished. |
2026-03-11 06:20:03,741 INFO MakeCreditMemoRequest called... |
2026-03-11 06:20:03,882 INFO MakeCreditMemoRequest finished. |
2026-03-11 06:20:03,882 INFO ScheduleDigitalInvoice finished. |
2026-03-11 06:25:03,725 INFO ScheduleDigitalInvoice called... |
2026-03-11 06:25:03,897 INFO MakeGlAccountPostings called... |
2026-03-11 06:25:04,038 INFO MakeGlAccountPostings finished. |
2026-03-11 06:25:04,054 INFO MakeCreditMemoRequest called... |
2026-03-11 06:25:04,194 INFO MakeCreditMemoRequest finished. |
2026-03-11 06:25:04,194 INFO ScheduleDigitalInvoice finished. |
2026-03-11 06:30:03,978 INFO ScheduleDigitalInvoice called... |
2026-03-11 06:30:04,181 INFO MakeGlAccountPostings called... |
2026-03-11 06:30:04,306 INFO MakeGlAccountPostings finished. |
2026-03-11 06:30:04,306 INFO MakeCreditMemoRequest called... |
2026-03-11 06:30:04,462 INFO MakeCreditMemoRequest finished. |
2026-03-11 06:30:04,462 INFO ScheduleDigitalInvoice finished. |
2026-03-11 06:35:03,398 INFO ScheduleDigitalInvoice called... |
2026-03-11 06:35:03,586 INFO MakeGlAccountPostings called... |
2026-03-11 06:35:03,711 INFO MakeGlAccountPostings finished. |
2026-03-11 06:35:03,711 INFO MakeCreditMemoRequest called... |
2026-03-11 06:35:03,867 INFO MakeCreditMemoRequest finished. |
2026-03-11 06:35:03,867 INFO ScheduleDigitalInvoice finished. |
2026-03-11 06:40:03,784 INFO ScheduleDigitalInvoice called... |
2026-03-11 06:40:03,972 INFO MakeGlAccountPostings called... |
2026-03-11 06:40:04,113 INFO MakeGlAccountPostings finished. |
2026-03-11 06:40:04,128 INFO MakeCreditMemoRequest called... |
2026-03-11 06:40:04,269 INFO MakeCreditMemoRequest finished. |
2026-03-11 06:40:04,269 INFO ScheduleDigitalInvoice finished. |
2026-03-11 06:45:03,965 INFO ScheduleDigitalInvoice called... |
2026-03-11 06:45:04,136 INFO MakeGlAccountPostings called... |
2026-03-11 06:45:04,277 INFO MakeGlAccountPostings finished. |
2026-03-11 06:45:04,277 INFO MakeCreditMemoRequest called... |
2026-03-11 06:45:04,433 INFO MakeCreditMemoRequest finished. |
2026-03-11 06:45:04,433 INFO ScheduleDigitalInvoice finished. |
2026-03-11 06:50:03,427 INFO ScheduleDigitalInvoice called... |
2026-03-11 06:50:03,599 INFO MakeGlAccountPostings called... |
2026-03-11 06:50:03,739 INFO MakeGlAccountPostings finished. |
2026-03-11 06:50:03,755 INFO MakeCreditMemoRequest called... |
2026-03-11 06:50:03,895 INFO MakeCreditMemoRequest finished. |
2026-03-11 06:50:03,942 INFO ScheduleDigitalInvoice finished. |
2026-03-11 06:55:03,399 INFO ScheduleDigitalInvoice called... |
2026-03-11 06:55:03,570 INFO MakeGlAccountPostings called... |
2026-03-11 06:55:03,711 INFO MakeGlAccountPostings finished. |
2026-03-11 06:55:03,711 INFO MakeCreditMemoRequest called... |
2026-03-11 06:55:03,867 INFO MakeCreditMemoRequest finished. |
2026-03-11 06:55:03,867 INFO ScheduleDigitalInvoice finished. |
2026-03-11 07:00:04,264 INFO ScheduleDigitalInvoice called... |
2026-03-11 07:00:04,451 INFO MakeGlAccountPostings called... |
2026-03-11 07:00:04,561 INFO MakeGlAccountPostings finished. |
2026-03-11 07:00:04,576 INFO MakeCreditMemoRequest called... |
2026-03-11 07:00:04,717 INFO MakeCreditMemoRequest finished. |
2026-03-11 07:00:04,733 INFO ScheduleDigitalInvoice finished. |
2026-03-11 07:05:03,418 INFO ScheduleDigitalInvoice called... |
2026-03-11 07:05:03,668 INFO MakeGlAccountPostings called... |
2026-03-11 07:05:03,809 INFO MakeGlAccountPostings finished. |
2026-03-11 07:05:03,825 INFO MakeCreditMemoRequest called... |
2026-03-11 07:05:03,965 INFO MakeCreditMemoRequest finished. |
2026-03-11 07:05:03,965 INFO ScheduleDigitalInvoice finished. |
2026-03-11 07:10:03,581 INFO ScheduleDigitalInvoice called... |
2026-03-11 07:10:03,737 INFO MakeGlAccountPostings called... |
2026-03-11 07:10:03,862 INFO MakeGlAccountPostings finished. |
2026-03-11 07:10:03,862 INFO MakeCreditMemoRequest called... |
2026-03-11 07:10:04,018 INFO MakeCreditMemoRequest finished. |
2026-03-11 07:10:04,034 INFO ScheduleDigitalInvoice finished. |
2026-03-11 07:15:03,971 INFO ScheduleDigitalInvoice called... |
2026-03-11 07:15:04,127 INFO MakeGlAccountPostings called... |
2026-03-11 07:15:04,252 INFO MakeGlAccountPostings finished. |
2026-03-11 07:15:04,252 INFO MakeCreditMemoRequest called... |
2026-03-11 07:15:04,408 INFO MakeCreditMemoRequest finished. |
2026-03-11 07:15:04,424 INFO ScheduleDigitalInvoice finished. |
2026-03-11 07:20:03,427 INFO ScheduleDigitalInvoice called... |
2026-03-11 07:20:03,599 INFO MakeGlAccountPostings called... |
2026-03-11 07:20:03,756 INFO MakeGlAccountPostings finished. |
2026-03-11 07:20:03,756 INFO MakeCreditMemoRequest called... |
2026-03-11 07:20:03,896 INFO MakeCreditMemoRequest finished. |
2026-03-11 07:20:03,896 INFO ScheduleDigitalInvoice finished. |
2026-03-11 07:25:03,720 INFO ScheduleDigitalInvoice called... |
2026-03-11 07:25:03,892 INFO MakeGlAccountPostings called... |
2026-03-11 07:25:04,017 INFO MakeGlAccountPostings finished. |
2026-03-11 07:25:04,032 INFO MakeCreditMemoRequest called... |
2026-03-11 07:25:04,173 INFO MakeCreditMemoRequest finished. |
2026-03-11 07:25:04,188 INFO ScheduleDigitalInvoice finished. |
2026-03-11 07:30:03,994 INFO ScheduleDigitalInvoice called... |
2026-03-11 07:30:04,166 INFO MakeGlAccountPostings called... |
2026-03-11 07:30:04,291 INFO MakeGlAccountPostings finished. |
2026-03-11 07:30:04,291 INFO MakeCreditMemoRequest called... |
2026-03-11 07:30:04,447 INFO MakeCreditMemoRequest finished. |
2026-03-11 07:30:04,447 INFO ScheduleDigitalInvoice finished. |
2026-03-11 07:35:03,393 INFO ScheduleDigitalInvoice called... |
2026-03-11 07:35:03,550 INFO MakeGlAccountPostings called... |
2026-03-11 07:35:03,675 INFO MakeGlAccountPostings finished. |
2026-03-11 07:35:03,690 INFO MakeCreditMemoRequest called... |
2026-03-11 07:35:03,831 INFO MakeCreditMemoRequest finished. |
2026-03-11 07:35:03,846 INFO ScheduleDigitalInvoice finished. |
2026-03-11 07:40:03,874 INFO ScheduleDigitalInvoice called... |
2026-03-11 07:40:04,030 INFO MakeGlAccountPostings called... |
2026-03-11 07:40:04,155 INFO MakeGlAccountPostings finished. |
2026-03-11 07:40:04,171 INFO MakeCreditMemoRequest called... |
2026-03-11 07:40:04,311 INFO MakeCreditMemoRequest finished. |
2026-03-11 07:40:04,311 INFO ScheduleDigitalInvoice finished. |
2026-03-11 07:45:04,056 INFO ScheduleDigitalInvoice called... |
2026-03-11 07:45:04,228 INFO MakeGlAccountPostings called... |
2026-03-11 07:45:04,353 INFO MakeGlAccountPostings finished. |
2026-03-11 07:45:04,353 INFO MakeCreditMemoRequest called... |
2026-03-11 07:45:04,494 INFO MakeCreditMemoRequest finished. |
2026-03-11 07:45:04,494 INFO ScheduleDigitalInvoice finished. |
2026-03-11 07:50:03,668 INFO ScheduleDigitalInvoice called... |
2026-03-11 07:50:03,824 INFO MakeGlAccountPostings called... |
2026-03-11 07:50:03,965 INFO MakeGlAccountPostings finished. |
2026-03-11 07:50:03,965 INFO MakeCreditMemoRequest called... |
2026-03-11 07:50:04,105 INFO MakeCreditMemoRequest finished. |
2026-03-11 07:50:04,105 INFO ScheduleDigitalInvoice finished. |
2026-03-11 07:55:03,331 INFO ScheduleDigitalInvoice called... |
2026-03-11 07:55:03,503 INFO MakeGlAccountPostings called... |
2026-03-11 07:55:03,628 INFO MakeGlAccountPostings finished. |
2026-03-11 07:55:03,628 INFO MakeCreditMemoRequest called... |
2026-03-11 07:55:03,768 INFO MakeCreditMemoRequest finished. |
2026-03-11 07:55:03,768 INFO ScheduleDigitalInvoice finished. |
2026-03-11 08:00:03,952 INFO ScheduleDigitalInvoice called... |
2026-03-11 08:00:04,124 INFO MakeGlAccountPostings called... |
2026-03-11 08:00:04,249 INFO MakeGlAccountPostings finished. |
2026-03-11 08:00:04,249 INFO MakeCreditMemoRequest called... |
2026-03-11 08:00:04,421 INFO MakeCreditMemoRequest finished. |
2026-03-11 08:00:04,437 INFO ScheduleDigitalInvoice finished. |
2026-03-11 08:05:03,385 INFO ScheduleDigitalInvoice called... |
2026-03-11 08:05:03,572 INFO MakeGlAccountPostings called... |
2026-03-11 08:05:03,760 INFO MakeGlAccountPostings finished. |
2026-03-11 08:05:03,760 INFO MakeCreditMemoRequest called... |
2026-03-11 08:05:03,916 INFO MakeCreditMemoRequest finished. |
2026-03-11 08:05:03,916 INFO ScheduleDigitalInvoice finished. |
2026-03-11 08:10:03,596 INFO ScheduleDigitalInvoice called... |
2026-03-11 08:10:03,752 INFO MakeGlAccountPostings called... |
2026-03-11 08:10:03,892 INFO MakeGlAccountPostings finished. |
2026-03-11 08:10:03,892 INFO MakeCreditMemoRequest called... |
2026-03-11 08:10:04,033 INFO MakeCreditMemoRequest finished. |
2026-03-11 08:10:04,049 INFO ScheduleDigitalInvoice finished. |
2026-03-11 08:15:03,993 INFO ScheduleDigitalInvoice called... |
2026-03-11 08:15:04,181 INFO MakeGlAccountPostings called... |
2026-03-11 08:15:04,337 INFO MakeGlAccountPostings finished. |
2026-03-11 08:15:04,337 INFO MakeCreditMemoRequest called... |
2026-03-11 08:15:04,493 INFO MakeCreditMemoRequest finished. |
2026-03-11 08:15:04,493 INFO ScheduleDigitalInvoice finished. |
2026-03-11 08:20:03,637 INFO ScheduleDigitalInvoice called... |
2026-03-11 08:20:03,809 INFO MakeGlAccountPostings called... |
2026-03-11 08:20:03,934 INFO MakeGlAccountPostings finished. |
2026-03-11 08:20:03,949 INFO MakeCreditMemoRequest called... |
2026-03-11 08:20:04,090 INFO MakeCreditMemoRequest finished. |
2026-03-11 08:20:04,090 INFO ScheduleDigitalInvoice finished. |
2026-03-11 08:25:03,372 INFO ScheduleDigitalInvoice called... |
2026-03-11 08:25:03,544 INFO MakeGlAccountPostings called... |
2026-03-11 08:25:03,669 INFO MakeGlAccountPostings finished. |
2026-03-11 08:25:03,684 INFO MakeCreditMemoRequest called... |
2026-03-11 08:25:03,825 INFO MakeCreditMemoRequest finished. |
2026-03-11 08:25:03,841 INFO ScheduleDigitalInvoice finished. |
2026-03-11 08:30:04,199 INFO ScheduleDigitalInvoice called... |
2026-03-11 08:30:04,386 INFO MakeGlAccountPostings called... |
2026-03-11 08:30:04,527 INFO MakeGlAccountPostings finished. |
2026-03-11 08:30:04,527 INFO MakeCreditMemoRequest called... |
2026-03-11 08:30:04,683 INFO MakeCreditMemoRequest finished. |
2026-03-11 08:30:04,683 INFO ScheduleDigitalInvoice finished. |
2026-03-11 08:35:03,380 INFO ScheduleDigitalInvoice called... |
2026-03-11 08:35:03,568 INFO MakeGlAccountPostings called... |
2026-03-11 08:35:03,989 INFO MakeGlAccountPostings finished. |
2026-03-11 08:35:03,989 INFO MakeCreditMemoRequest called... |
2026-03-11 08:35:04,130 INFO MakeCreditMemoRequest finished. |
2026-03-11 08:35:04,146 INFO ScheduleDigitalInvoice finished. |
2026-03-11 08:40:03,395 INFO ScheduleDigitalInvoice called... |
2026-03-11 08:40:03,551 INFO MakeGlAccountPostings called... |
2026-03-11 08:40:03,676 INFO MakeGlAccountPostings finished. |
2026-03-11 08:40:03,692 INFO MakeCreditMemoRequest called... |
2026-03-11 08:40:03,832 INFO MakeCreditMemoRequest finished. |
2026-03-11 08:40:03,848 INFO ScheduleDigitalInvoice finished. |
2026-03-11 08:45:03,992 INFO ScheduleDigitalInvoice called... |
2026-03-11 08:45:04,211 INFO MakeGlAccountPostings called... |
2026-03-11 08:45:04,352 INFO MakeGlAccountPostings finished. |
2026-03-11 08:45:04,352 INFO MakeCreditMemoRequest called... |
2026-03-11 08:45:04,524 INFO MakeCreditMemoRequest finished. |
2026-03-11 08:45:04,539 INFO ScheduleDigitalInvoice finished. |
2026-03-11 08:50:03,339 INFO ScheduleDigitalInvoice called... |
2026-03-11 08:50:03,495 INFO MakeGlAccountPostings called... |
2026-03-11 08:50:03,620 INFO MakeGlAccountPostings finished. |
2026-03-11 08:50:03,620 INFO MakeCreditMemoRequest called... |
2026-03-11 08:50:03,777 INFO MakeCreditMemoRequest finished. |
2026-03-11 08:50:03,777 INFO ScheduleDigitalInvoice finished. |
2026-03-11 08:55:03,586 INFO ScheduleDigitalInvoice called... |
2026-03-11 08:55:03,758 INFO MakeGlAccountPostings called... |
2026-03-11 08:55:03,898 INFO MakeGlAccountPostings finished. |
2026-03-11 08:55:03,898 INFO MakeCreditMemoRequest called... |
2026-03-11 08:55:04,039 INFO MakeCreditMemoRequest finished. |
2026-03-11 08:55:04,054 INFO ScheduleDigitalInvoice finished. |
2026-03-11 09:00:03,995 INFO ScheduleDigitalInvoice called... |
2026-03-11 09:00:04,229 INFO MakeGlAccountPostings called... |
2026-03-11 09:00:04,370 INFO MakeGlAccountPostings finished. |
2026-03-11 09:00:04,370 INFO MakeCreditMemoRequest called... |
2026-03-11 09:00:04,558 INFO MakeCreditMemoRequest finished. |
2026-03-11 09:00:04,573 INFO ScheduleDigitalInvoice finished. |
2026-03-11 09:05:03,574 INFO ScheduleDigitalInvoice called... |
2026-03-11 09:05:03,730 INFO MakeGlAccountPostings called... |
2026-03-11 09:05:03,855 INFO MakeGlAccountPostings finished. |
2026-03-11 09:05:03,855 INFO MakeCreditMemoRequest called... |
2026-03-11 09:05:03,996 INFO MakeCreditMemoRequest finished. |
2026-03-11 09:05:03,996 INFO ScheduleDigitalInvoice finished. |
2026-03-11 09:10:03,352 INFO ScheduleDigitalInvoice called... |
2026-03-11 09:10:03,540 INFO MakeGlAccountPostings called... |
2026-03-11 09:10:03,665 INFO MakeGlAccountPostings finished. |
2026-03-11 09:10:03,680 INFO MakeCreditMemoRequest called... |
2026-03-11 09:10:03,821 INFO MakeCreditMemoRequest finished. |
2026-03-11 09:10:03,821 INFO ScheduleDigitalInvoice finished. |
2026-03-11 09:15:03,950 INFO ScheduleDigitalInvoice called... |
2026-03-11 09:15:04,121 INFO MakeGlAccountPostings called... |
2026-03-11 09:15:04,246 INFO MakeGlAccountPostings finished. |
2026-03-11 09:15:04,246 INFO MakeCreditMemoRequest called... |
2026-03-11 09:15:04,387 INFO MakeCreditMemoRequest finished. |
2026-03-11 09:15:04,403 INFO ScheduleDigitalInvoice finished. |
2026-03-11 09:20:03,637 INFO ScheduleDigitalInvoice called... |
2026-03-11 09:20:03,825 INFO MakeGlAccountPostings called... |
2026-03-11 09:20:03,950 INFO MakeGlAccountPostings finished. |
2026-03-11 09:20:03,950 INFO MakeCreditMemoRequest called... |
2026-03-11 09:20:04,121 INFO MakeCreditMemoRequest finished. |
2026-03-11 09:20:04,121 INFO ScheduleDigitalInvoice finished. |
2026-03-11 09:25:03,414 INFO ScheduleDigitalInvoice called... |
2026-03-11 09:25:03,617 INFO MakeGlAccountPostings called... |
2026-03-11 09:25:03,758 INFO MakeGlAccountPostings finished. |
2026-03-11 09:25:03,774 INFO MakeCreditMemoRequest called... |
2026-03-11 09:25:03,946 INFO MakeCreditMemoRequest finished. |
2026-03-11 09:25:03,946 INFO ScheduleDigitalInvoice finished. |
2026-03-11 09:30:03,953 INFO ScheduleDigitalInvoice called... |
2026-03-11 09:30:04,141 INFO MakeGlAccountPostings called... |
2026-03-11 09:30:04,281 INFO MakeGlAccountPostings finished. |
2026-03-11 09:30:04,281 INFO MakeCreditMemoRequest called... |
2026-03-11 09:30:04,438 INFO MakeCreditMemoRequest finished. |
2026-03-11 09:30:04,453 INFO ScheduleDigitalInvoice finished. |
2026-03-11 09:35:03,605 INFO ScheduleDigitalInvoice called... |
2026-03-11 09:35:03,761 INFO MakeGlAccountPostings called... |
2026-03-11 09:35:03,902 INFO MakeGlAccountPostings finished. |
2026-03-11 09:35:03,902 INFO MakeCreditMemoRequest called... |
2026-03-11 09:35:04,058 INFO MakeCreditMemoRequest finished. |
2026-03-11 09:35:04,058 INFO ScheduleDigitalInvoice finished. |
2026-03-11 09:40:03,381 INFO ScheduleDigitalInvoice called... |
2026-03-11 09:40:03,552 INFO MakeGlAccountPostings called... |
2026-03-11 09:40:03,677 INFO MakeGlAccountPostings finished. |
2026-03-11 09:40:03,693 INFO MakeCreditMemoRequest called... |
2026-03-11 09:40:03,834 INFO MakeCreditMemoRequest finished. |
2026-03-11 09:40:03,834 INFO ScheduleDigitalInvoice finished. |
2026-03-11 09:45:04,347 INFO ScheduleDigitalInvoice called... |
2026-03-11 09:45:04,519 INFO MakeGlAccountPostings called... |
2026-03-11 09:45:04,660 INFO MakeGlAccountPostings finished. |
2026-03-11 09:45:04,660 INFO MakeCreditMemoRequest called... |
2026-03-11 09:45:04,878 INFO MakeCreditMemoRequest finished. |
2026-03-11 09:45:04,894 INFO ScheduleDigitalInvoice finished. |
2026-03-11 09:50:03,557 INFO ScheduleDigitalInvoice called... |
2026-03-11 09:50:03,713 INFO MakeGlAccountPostings called... |
2026-03-11 09:50:03,838 INFO MakeGlAccountPostings finished. |
2026-03-11 09:50:03,854 INFO MakeCreditMemoRequest called... |
2026-03-11 09:50:03,994 INFO MakeCreditMemoRequest finished. |
2026-03-11 09:50:03,994 INFO ScheduleDigitalInvoice finished. |
2026-03-11 09:55:03,471 INFO ScheduleDigitalInvoice called... |
2026-03-11 09:55:03,627 INFO MakeGlAccountPostings called... |
2026-03-11 09:55:03,752 INFO MakeGlAccountPostings finished. |
2026-03-11 09:55:03,752 INFO MakeCreditMemoRequest called... |
2026-03-11 09:55:03,908 INFO MakeCreditMemoRequest finished. |
2026-03-11 09:55:03,908 INFO ScheduleDigitalInvoice finished. |
2026-03-11 10:00:04,271 INFO ScheduleDigitalInvoice called... |
2026-03-11 10:00:04,474 INFO MakeGlAccountPostings called... |
2026-03-11 10:00:04,631 INFO MakeGlAccountPostings finished. |
2026-03-11 10:00:04,646 INFO MakeCreditMemoRequest called... |
2026-03-11 10:00:04,802 INFO MakeCreditMemoRequest finished. |
2026-03-11 10:00:04,802 INFO ScheduleDigitalInvoice finished. |
2026-03-11 10:05:03,394 INFO ScheduleDigitalInvoice called... |
2026-03-11 10:05:03,737 INFO MakeGlAccountPostings called... |
2026-03-11 10:05:03,878 INFO MakeGlAccountPostings finished. |
2026-03-11 10:05:03,894 INFO MakeCreditMemoRequest called... |
2026-03-11 10:05:04,034 INFO MakeCreditMemoRequest finished. |
2026-03-11 10:05:04,034 INFO ScheduleDigitalInvoice finished. |
2026-03-11 10:10:03,390 INFO ScheduleDigitalInvoice called... |
2026-03-11 10:10:03,562 INFO MakeGlAccountPostings called... |
2026-03-11 10:10:03,687 INFO MakeGlAccountPostings finished. |
2026-03-11 10:10:03,687 INFO MakeCreditMemoRequest called... |
2026-03-11 10:10:03,843 INFO MakeCreditMemoRequest finished. |
2026-03-11 10:10:03,843 INFO ScheduleDigitalInvoice finished. |
2026-03-11 10:15:04,307 INFO ScheduleDigitalInvoice called... |
2026-03-11 10:15:04,479 INFO MakeGlAccountPostings called... |
2026-03-11 10:15:04,604 INFO MakeGlAccountPostings finished. |
2026-03-11 10:15:04,604 INFO MakeCreditMemoRequest called... |
2026-03-11 10:15:04,761 INFO MakeCreditMemoRequest finished. |
2026-03-11 10:15:04,761 INFO ScheduleDigitalInvoice finished. |
2026-03-11 10:20:03,395 INFO ScheduleDigitalInvoice called... |
2026-03-11 10:20:03,567 INFO MakeGlAccountPostings called... |
2026-03-11 10:20:03,692 INFO MakeGlAccountPostings finished. |
2026-03-11 10:20:03,692 INFO MakeCreditMemoRequest called... |
2026-03-11 10:20:03,849 INFO MakeCreditMemoRequest finished. |
2026-03-11 10:20:03,849 INFO ScheduleDigitalInvoice finished. |
2026-03-11 10:25:03,465 INFO ScheduleDigitalInvoice called... |
2026-03-11 10:25:03,652 INFO MakeGlAccountPostings called... |
2026-03-11 10:25:03,777 INFO MakeGlAccountPostings finished. |
2026-03-11 10:25:03,777 INFO MakeCreditMemoRequest called... |
2026-03-11 10:25:03,933 INFO MakeCreditMemoRequest finished. |
2026-03-11 10:25:03,933 INFO ScheduleDigitalInvoice finished. |
2026-03-11 10:30:04,194 INFO ScheduleDigitalInvoice called... |
2026-03-11 10:30:04,397 INFO MakeGlAccountPostings called... |
2026-03-11 10:30:04,522 INFO MakeGlAccountPostings finished. |
2026-03-11 10:30:04,522 INFO MakeCreditMemoRequest called... |
2026-03-11 10:30:04,710 INFO MakeCreditMemoRequest finished. |
2026-03-11 10:30:04,725 INFO ScheduleDigitalInvoice finished. |
2026-03-11 10:35:03,412 INFO ScheduleDigitalInvoice called... |
2026-03-11 10:35:03,568 INFO MakeGlAccountPostings called... |
2026-03-11 10:35:03,693 INFO MakeGlAccountPostings finished. |
2026-03-11 10:35:03,693 INFO MakeCreditMemoRequest called... |
2026-03-11 10:35:03,834 INFO MakeCreditMemoRequest finished. |
2026-03-11 10:35:03,834 INFO ScheduleDigitalInvoice finished. |
2026-03-11 10:40:03,639 INFO ScheduleDigitalInvoice called... |
2026-03-11 10:40:03,858 INFO MakeGlAccountPostings called... |
2026-03-11 10:40:03,983 INFO MakeGlAccountPostings finished. |
2026-03-11 10:40:03,999 INFO MakeCreditMemoRequest called... |
2026-03-11 10:40:04,139 INFO MakeCreditMemoRequest finished. |
2026-03-11 10:40:04,139 INFO ScheduleDigitalInvoice finished. |
2026-03-11 10:45:04,095 INFO ScheduleDigitalInvoice called... |
2026-03-11 10:45:04,266 INFO MakeGlAccountPostings called... |
2026-03-11 10:45:04,407 INFO MakeGlAccountPostings finished. |
2026-03-11 10:45:04,407 INFO MakeCreditMemoRequest called... |
2026-03-11 10:45:04,563 INFO MakeCreditMemoRequest finished. |
2026-03-11 10:45:04,563 INFO ScheduleDigitalInvoice finished. |
2026-03-11 10:50:03,515 INFO ScheduleDigitalInvoice called... |
2026-03-11 10:50:03,687 INFO MakeGlAccountPostings called... |
2026-03-11 10:50:03,812 INFO MakeGlAccountPostings finished. |
2026-03-11 10:50:03,812 INFO MakeCreditMemoRequest called... |
2026-03-11 10:50:03,968 INFO MakeCreditMemoRequest finished. |
2026-03-11 10:50:03,984 INFO ScheduleDigitalInvoice finished. |
2026-03-11 10:55:03,686 INFO ScheduleDigitalInvoice called... |
2026-03-11 10:55:03,843 INFO MakeGlAccountPostings called... |
2026-03-11 10:55:03,968 INFO MakeGlAccountPostings finished. |
2026-03-11 10:55:03,968 INFO MakeCreditMemoRequest called... |
2026-03-11 10:55:04,140 INFO MakeCreditMemoRequest finished. |
2026-03-11 10:55:04,140 INFO ScheduleDigitalInvoice finished. |
2026-03-11 11:00:03,953 INFO ScheduleDigitalInvoice called... |
2026-03-11 11:00:04,125 INFO MakeGlAccountPostings called... |
2026-03-11 11:00:04,296 INFO MakeGlAccountPostings finished. |
2026-03-11 11:00:04,296 INFO MakeCreditMemoRequest called... |
2026-03-11 11:00:04,609 INFO MakeCreditMemoRequest finished. |
2026-03-11 11:00:04,656 INFO ScheduleDigitalInvoice finished. |
2026-03-11 11:05:03,374 INFO ScheduleDigitalInvoice called... |
2026-03-11 11:05:03,561 INFO MakeGlAccountPostings called... |
2026-03-11 11:05:03,702 INFO MakeGlAccountPostings finished. |
2026-03-11 11:05:03,702 INFO MakeCreditMemoRequest called... |
2026-03-11 11:05:03,842 INFO MakeCreditMemoRequest finished. |
2026-03-11 11:05:03,842 INFO ScheduleDigitalInvoice finished. |
2026-03-11 11:10:03,753 INFO ScheduleDigitalInvoice called... |
2026-03-11 11:10:03,910 INFO MakeGlAccountPostings called... |
2026-03-11 11:10:04,050 INFO MakeGlAccountPostings finished. |
2026-03-11 11:10:04,050 INFO MakeCreditMemoRequest called... |
2026-03-11 11:10:04,238 INFO MakeCreditMemoRequest finished. |
2026-03-11 11:10:04,238 INFO ScheduleDigitalInvoice finished. |
2026-03-11 11:15:03,972 INFO ScheduleDigitalInvoice called... |
2026-03-11 11:15:04,159 INFO MakeGlAccountPostings called... |
2026-03-11 11:15:04,315 INFO MakeGlAccountPostings finished. |
2026-03-11 11:15:04,331 INFO MakeCreditMemoRequest called... |
2026-03-11 11:15:04,472 INFO MakeCreditMemoRequest finished. |
2026-03-11 11:15:04,487 INFO ScheduleDigitalInvoice finished. |
2026-03-11 11:20:03,400 INFO ScheduleDigitalInvoice called... |
2026-03-11 11:20:03,556 INFO MakeGlAccountPostings called... |
2026-03-11 11:20:03,697 INFO MakeGlAccountPostings finished. |
2026-03-11 11:20:03,697 INFO MakeCreditMemoRequest called... |
2026-03-11 11:20:03,853 INFO MakeCreditMemoRequest finished. |
2026-03-11 11:20:03,869 INFO ScheduleDigitalInvoice finished. |
2026-03-11 11:25:03,674 INFO ScheduleDigitalInvoice called... |
2026-03-11 11:25:03,830 INFO MakeGlAccountPostings called... |
2026-03-11 11:25:03,971 INFO MakeGlAccountPostings finished. |
2026-03-11 11:25:03,971 INFO MakeCreditMemoRequest called... |
2026-03-11 11:25:04,111 INFO MakeCreditMemoRequest finished. |
2026-03-11 11:25:04,127 INFO ScheduleDigitalInvoice finished. |
2026-03-11 11:30:03,940 INFO ScheduleDigitalInvoice called... |
2026-03-11 11:30:04,127 INFO MakeGlAccountPostings called... |
2026-03-11 11:30:04,252 INFO MakeGlAccountPostings finished. |
2026-03-11 11:30:04,268 INFO MakeCreditMemoRequest called... |
2026-03-11 11:30:04,408 INFO MakeCreditMemoRequest finished. |
2026-03-11 11:30:04,408 INFO ScheduleDigitalInvoice finished. |
2026-03-11 11:35:03,371 INFO ScheduleDigitalInvoice called... |
2026-03-11 11:35:03,558 INFO MakeGlAccountPostings called... |
2026-03-11 11:35:03,683 INFO MakeGlAccountPostings finished. |
2026-03-11 11:35:03,683 INFO MakeCreditMemoRequest called... |
2026-03-11 11:35:03,840 INFO MakeCreditMemoRequest finished. |
2026-03-11 11:35:03,840 INFO ScheduleDigitalInvoice finished. |
2026-03-11 11:40:03,580 INFO ScheduleDigitalInvoice called... |
2026-03-11 11:40:03,736 INFO MakeGlAccountPostings called... |
2026-03-11 11:40:03,877 INFO MakeGlAccountPostings finished. |
2026-03-11 11:40:03,892 INFO MakeCreditMemoRequest called... |
2026-03-11 11:40:04,033 INFO MakeCreditMemoRequest finished. |
2026-03-11 11:40:04,049 INFO ScheduleDigitalInvoice finished. |
2026-03-11 11:45:04,003 INFO ScheduleDigitalInvoice called... |
2026-03-11 11:45:04,190 INFO MakeGlAccountPostings called... |
2026-03-11 11:45:04,331 INFO MakeGlAccountPostings finished. |
2026-03-11 11:45:04,331 INFO MakeCreditMemoRequest called... |
2026-03-11 11:45:04,487 INFO MakeCreditMemoRequest finished. |
2026-03-11 11:45:04,487 INFO ScheduleDigitalInvoice finished. |
2026-03-11 11:50:03,664 INFO ScheduleDigitalInvoice called... |
2026-03-11 11:50:03,836 INFO MakeGlAccountPostings called... |
2026-03-11 11:50:03,961 INFO MakeGlAccountPostings finished. |
2026-03-11 11:50:03,961 INFO MakeCreditMemoRequest called... |
2026-03-11 11:50:04,102 INFO MakeCreditMemoRequest finished. |
2026-03-11 11:50:04,117 INFO ScheduleDigitalInvoice finished. |
2026-03-11 11:55:03,401 INFO ScheduleDigitalInvoice called... |
2026-03-11 11:55:03,605 INFO MakeGlAccountPostings called... |
2026-03-11 11:55:03,730 INFO MakeGlAccountPostings finished. |
2026-03-11 11:55:03,730 INFO MakeCreditMemoRequest called... |
2026-03-11 11:55:03,886 INFO MakeCreditMemoRequest finished. |
2026-03-11 11:55:03,886 INFO ScheduleDigitalInvoice finished. |
2026-03-11 12:00:04,016 INFO ScheduleDigitalInvoice called... |
2026-03-11 12:00:04,188 INFO MakeGlAccountPostings called... |
2026-03-11 12:00:04,329 INFO MakeGlAccountPostings finished. |
2026-03-11 12:00:04,329 INFO MakeCreditMemoRequest called... |
2026-03-11 12:00:04,516 INFO MakeCreditMemoRequest finished. |
2026-03-11 12:00:04,532 INFO ScheduleDigitalInvoice finished. |
2026-03-11 12:05:03,746 INFO ScheduleDigitalInvoice called... |
2026-03-11 12:05:03,933 INFO MakeGlAccountPostings called... |
2026-03-11 12:05:04,106 INFO MakeGlAccountPostings finished. |
2026-03-11 12:05:04,137 INFO MakeCreditMemoRequest called... |
2026-03-11 12:05:04,293 INFO MakeCreditMemoRequest finished. |
2026-03-11 12:05:04,309 INFO ScheduleDigitalInvoice finished. |
2026-03-11 12:10:03,349 INFO ScheduleDigitalInvoice called... |
2026-03-11 12:10:03,521 INFO MakeGlAccountPostings called... |
2026-03-11 12:10:03,693 INFO MakeGlAccountPostings finished. |
2026-03-11 12:10:03,709 INFO MakeCreditMemoRequest called... |
2026-03-11 12:10:03,880 INFO MakeCreditMemoRequest finished. |
2026-03-11 12:10:03,896 INFO ScheduleDigitalInvoice finished. |
2026-03-11 12:15:03,968 INFO ScheduleDigitalInvoice called... |
2026-03-11 12:15:04,171 INFO MakeGlAccountPostings called... |
2026-03-11 12:15:04,312 INFO MakeGlAccountPostings finished. |
2026-03-11 12:15:04,312 INFO MakeCreditMemoRequest called... |
2026-03-11 12:15:04,499 INFO MakeCreditMemoRequest finished. |
2026-03-11 12:15:04,530 INFO ScheduleDigitalInvoice finished. |
2026-03-11 12:20:04,070 INFO ScheduleDigitalInvoice called... |
2026-03-11 12:20:04,242 INFO MakeGlAccountPostings called... |
2026-03-11 12:20:04,367 INFO MakeGlAccountPostings finished. |
2026-03-11 12:20:04,367 INFO MakeCreditMemoRequest called... |
2026-03-11 12:20:04,539 INFO MakeCreditMemoRequest finished. |
2026-03-11 12:20:04,539 INFO ScheduleDigitalInvoice finished. |
2026-03-11 12:25:03,387 INFO ScheduleDigitalInvoice called... |
2026-03-11 12:25:03,559 INFO MakeGlAccountPostings called... |
2026-03-11 12:25:03,700 INFO MakeGlAccountPostings finished. |
2026-03-11 12:25:03,700 INFO MakeCreditMemoRequest called... |
2026-03-11 12:25:03,856 INFO MakeCreditMemoRequest finished. |
2026-03-11 12:25:03,856 INFO ScheduleDigitalInvoice finished. |
2026-03-11 12:30:03,943 INFO ScheduleDigitalInvoice called... |
2026-03-11 12:30:04,115 INFO MakeGlAccountPostings called... |
2026-03-11 12:30:04,240 INFO MakeGlAccountPostings finished. |
2026-03-11 12:30:04,240 INFO MakeCreditMemoRequest called... |
2026-03-11 12:30:04,397 INFO MakeCreditMemoRequest finished. |
2026-03-11 12:30:04,397 INFO ScheduleDigitalInvoice finished. |
2026-03-11 12:35:03,369 INFO ScheduleDigitalInvoice called... |
2026-03-11 12:35:03,510 INFO MakeGlAccountPostings called... |
2026-03-11 12:35:03,635 INFO MakeGlAccountPostings finished. |
2026-03-11 12:35:03,635 INFO MakeCreditMemoRequest called... |
2026-03-11 12:35:03,791 INFO MakeCreditMemoRequest finished. |
2026-03-11 12:35:03,807 INFO ScheduleDigitalInvoice finished. |
2026-03-11 12:40:03,736 INFO ScheduleDigitalInvoice called... |
2026-03-11 12:40:03,908 INFO MakeGlAccountPostings called... |
2026-03-11 12:40:04,033 INFO MakeGlAccountPostings finished. |
2026-03-11 12:40:04,049 INFO MakeCreditMemoRequest called... |
2026-03-11 12:40:04,205 INFO MakeCreditMemoRequest finished. |
2026-03-11 12:40:04,205 INFO ScheduleDigitalInvoice finished. |
2026-03-11 12:45:04,067 INFO ScheduleDigitalInvoice called... |
2026-03-11 12:45:04,270 INFO MakeGlAccountPostings called... |
2026-03-11 12:45:04,395 INFO MakeGlAccountPostings finished. |
2026-03-11 12:45:04,395 INFO MakeCreditMemoRequest called... |
2026-03-11 12:45:04,551 INFO MakeCreditMemoRequest finished. |
2026-03-11 12:45:04,551 INFO ScheduleDigitalInvoice finished. |
2026-03-11 12:50:03,677 INFO ScheduleDigitalInvoice called... |
2026-03-11 12:50:03,833 INFO MakeGlAccountPostings called... |
2026-03-11 12:50:03,943 INFO MakeGlAccountPostings finished. |
2026-03-11 12:50:03,958 INFO MakeCreditMemoRequest called... |
2026-03-11 12:50:04,130 INFO MakeCreditMemoRequest finished. |
2026-03-11 12:50:04,161 INFO ScheduleDigitalInvoice finished. |
2026-03-11 12:55:03,353 INFO ScheduleDigitalInvoice called... |
2026-03-11 12:55:03,525 INFO MakeGlAccountPostings called... |
2026-03-11 12:55:03,665 INFO MakeGlAccountPostings finished. |
2026-03-11 12:55:03,665 INFO MakeCreditMemoRequest called... |
2026-03-11 12:55:03,806 INFO MakeCreditMemoRequest finished. |
2026-03-11 12:55:03,806 INFO ScheduleDigitalInvoice finished. |
2026-03-11 13:00:04,052 INFO ScheduleDigitalInvoice called... |
2026-03-11 13:00:04,349 INFO MakeGlAccountPostings called... |
2026-03-11 13:00:04,520 INFO MakeGlAccountPostings finished. |
2026-03-11 13:00:04,520 INFO MakeCreditMemoRequest called... |
2026-03-11 13:00:04,677 INFO MakeCreditMemoRequest finished. |
2026-03-11 13:00:04,677 INFO ScheduleDigitalInvoice finished. |
2026-03-11 13:05:03,726 INFO ScheduleDigitalInvoice called... |
2026-03-11 13:05:03,929 INFO MakeGlAccountPostings called... |
2026-03-11 13:05:04,132 INFO MakeGlAccountPostings finished. |
2026-03-11 13:05:04,132 INFO MakeCreditMemoRequest called... |
2026-03-11 13:05:04,273 INFO MakeCreditMemoRequest finished. |
2026-03-11 13:05:04,273 INFO ScheduleDigitalInvoice finished. |
2026-03-11 13:10:03,388 INFO ScheduleDigitalInvoice called... |
2026-03-11 13:10:03,560 INFO MakeGlAccountPostings called... |
2026-03-11 13:10:03,685 INFO MakeGlAccountPostings finished. |
2026-03-11 13:10:03,685 INFO MakeCreditMemoRequest called... |
2026-03-11 13:10:03,826 INFO MakeCreditMemoRequest finished. |
2026-03-11 13:10:03,842 INFO ScheduleDigitalInvoice finished. |
2026-03-11 13:15:03,977 INFO ScheduleDigitalInvoice called... |
2026-03-11 13:15:04,164 INFO MakeGlAccountPostings called... |
2026-03-11 13:15:04,274 INFO MakeGlAccountPostings finished. |
2026-03-11 13:15:04,274 INFO MakeCreditMemoRequest called... |
2026-03-11 13:15:04,430 INFO MakeCreditMemoRequest finished. |
2026-03-11 13:15:04,430 INFO ScheduleDigitalInvoice finished. |
2026-03-11 13:20:03,405 INFO ScheduleDigitalInvoice called... |
2026-03-11 13:20:03,561 INFO MakeGlAccountPostings called... |
2026-03-11 13:20:03,998 INFO MakeGlAccountPostings finished. |
2026-03-11 13:20:04,014 INFO MakeCreditMemoRequest called... |
2026-03-11 13:20:04,170 INFO MakeCreditMemoRequest finished. |
2026-03-11 13:20:04,186 INFO ScheduleDigitalInvoice finished. |
2026-03-11 13:25:03,538 INFO ScheduleDigitalInvoice called... |
2026-03-11 13:25:03,726 INFO MakeGlAccountPostings called... |
2026-03-11 13:25:03,851 INFO MakeGlAccountPostings finished. |
2026-03-11 13:25:03,851 INFO MakeCreditMemoRequest called... |
2026-03-11 13:25:03,992 INFO MakeCreditMemoRequest finished. |
2026-03-11 13:25:03,992 INFO ScheduleDigitalInvoice finished. |
2026-03-11 13:30:03,998 INFO ScheduleDigitalInvoice called... |
2026-03-11 13:30:04,185 INFO MakeGlAccountPostings called... |
2026-03-11 13:30:04,310 INFO MakeGlAccountPostings finished. |
2026-03-11 13:30:04,310 INFO MakeCreditMemoRequest called... |
2026-03-11 13:30:04,482 INFO MakeCreditMemoRequest finished. |
2026-03-11 13:30:04,482 INFO ScheduleDigitalInvoice finished. |
2026-03-11 13:35:03,450 INFO ScheduleDigitalInvoice called... |
2026-03-11 13:35:03,622 INFO MakeGlAccountPostings called... |
2026-03-11 13:35:03,778 INFO MakeGlAccountPostings finished. |
2026-03-11 13:35:03,778 INFO MakeCreditMemoRequest called... |
2026-03-11 13:35:03,919 INFO MakeCreditMemoRequest finished. |
2026-03-11 13:35:03,919 INFO ScheduleDigitalInvoice finished. |
2026-03-11 13:40:03,736 INFO ScheduleDigitalInvoice called... |
2026-03-11 13:40:03,892 INFO MakeGlAccountPostings called... |
2026-03-11 13:40:04,017 INFO MakeGlAccountPostings finished. |
2026-03-11 13:40:04,017 INFO MakeCreditMemoRequest called... |
2026-03-11 13:40:04,173 INFO MakeCreditMemoRequest finished. |
2026-03-11 13:40:04,173 INFO ScheduleDigitalInvoice finished. |
2026-03-11 13:45:04,223 INFO ScheduleDigitalInvoice called... |
2026-03-11 13:45:04,473 INFO MakeGlAccountPostings called... |
2026-03-11 13:45:04,598 INFO MakeGlAccountPostings finished. |
2026-03-11 13:45:04,598 INFO MakeCreditMemoRequest called... |
2026-03-11 13:45:04,754 INFO MakeCreditMemoRequest finished. |
2026-03-11 13:45:04,754 INFO ScheduleDigitalInvoice finished. |
2026-03-11 13:50:03,722 INFO ScheduleDigitalInvoice called... |
2026-03-11 13:50:03,925 INFO MakeGlAccountPostings called... |
2026-03-11 13:50:04,035 INFO MakeGlAccountPostings finished. |
2026-03-11 13:50:04,051 INFO MakeCreditMemoRequest called... |
2026-03-11 13:50:04,191 INFO MakeCreditMemoRequest finished. |
2026-03-11 13:50:04,207 INFO ScheduleDigitalInvoice finished. |
2026-03-11 13:55:03,462 INFO ScheduleDigitalInvoice called... |
2026-03-11 13:55:03,665 INFO MakeGlAccountPostings called... |
2026-03-11 13:55:03,806 INFO MakeGlAccountPostings finished. |
2026-03-11 13:55:03,837 INFO MakeCreditMemoRequest called... |
2026-03-11 13:55:03,993 INFO MakeCreditMemoRequest finished. |
2026-03-11 13:55:03,993 INFO ScheduleDigitalInvoice finished. |
2026-03-11 14:00:04,015 INFO ScheduleDigitalInvoice called... |
2026-03-11 14:00:04,218 INFO MakeGlAccountPostings called... |
2026-03-11 14:00:04,343 INFO MakeGlAccountPostings finished. |
2026-03-11 14:00:04,343 INFO MakeCreditMemoRequest called... |
2026-03-11 14:00:04,484 INFO MakeCreditMemoRequest finished. |
2026-03-11 14:00:04,500 INFO ScheduleDigitalInvoice finished. |
2026-03-11 14:05:03,414 INFO ScheduleDigitalInvoice called... |
2026-03-11 14:05:03,570 INFO MakeGlAccountPostings called... |
2026-03-11 14:05:03,726 INFO MakeGlAccountPostings finished. |
2026-03-11 14:05:03,726 INFO MakeCreditMemoRequest called... |
2026-03-11 14:05:04,195 INFO MakeCreditMemoRequest finished. |
2026-03-11 14:05:04,211 INFO ScheduleDigitalInvoice finished. |
2026-03-11 14:10:03,431 INFO ScheduleDigitalInvoice called... |
2026-03-11 14:10:03,791 INFO MakeGlAccountPostings called... |
2026-03-11 14:10:03,916 INFO MakeGlAccountPostings finished. |
2026-03-11 14:10:03,916 INFO MakeCreditMemoRequest called... |
2026-03-11 14:10:04,088 INFO MakeCreditMemoRequest finished. |
2026-03-11 14:10:04,088 INFO ScheduleDigitalInvoice finished. |
2026-03-11 14:15:03,978 INFO ScheduleDigitalInvoice called... |
2026-03-11 14:15:04,150 INFO MakeGlAccountPostings called... |
2026-03-11 14:15:04,275 INFO MakeGlAccountPostings finished. |
2026-03-11 14:15:04,275 INFO MakeCreditMemoRequest called... |
2026-03-11 14:15:04,416 INFO MakeCreditMemoRequest finished. |
2026-03-11 14:15:04,431 INFO ScheduleDigitalInvoice finished. |
2026-03-11 14:20:03,420 INFO ScheduleDigitalInvoice called... |
2026-03-11 14:20:03,576 INFO MakeGlAccountPostings called... |
2026-03-11 14:20:03,701 INFO MakeGlAccountPostings finished. |
2026-03-11 14:20:03,717 INFO MakeCreditMemoRequest called... |
2026-03-11 14:20:03,857 INFO MakeCreditMemoRequest finished. |
2026-03-11 14:20:03,873 INFO ScheduleDigitalInvoice finished. |
2026-03-11 14:25:03,763 INFO ScheduleDigitalInvoice called... |
2026-03-11 14:25:03,955 INFO MakeGlAccountPostings called... |
2026-03-11 14:25:04,091 INFO MakeGlAccountPostings finished. |
2026-03-11 14:25:04,091 INFO MakeCreditMemoRequest called... |
2026-03-11 14:25:04,263 INFO MakeCreditMemoRequest finished. |
2026-03-11 14:25:04,263 INFO ScheduleDigitalInvoice finished. |
2026-03-11 14:30:03,975 INFO ScheduleDigitalInvoice called... |
2026-03-11 14:30:04,162 INFO MakeGlAccountPostings called... |
2026-03-11 14:30:04,287 INFO MakeGlAccountPostings finished. |
2026-03-11 14:30:04,287 INFO MakeCreditMemoRequest called... |
2026-03-11 14:30:04,443 INFO MakeCreditMemoRequest finished. |
2026-03-11 14:30:04,443 INFO ScheduleDigitalInvoice finished. |
2026-03-11 14:35:03,742 INFO ScheduleDigitalInvoice called... |
2026-03-11 14:35:03,945 INFO MakeGlAccountPostings called... |
2026-03-11 14:35:04,085 INFO MakeGlAccountPostings finished. |
2026-03-11 14:35:04,101 INFO MakeCreditMemoRequest called... |
2026-03-11 14:35:04,242 INFO MakeCreditMemoRequest finished. |
2026-03-11 14:35:04,242 INFO ScheduleDigitalInvoice finished. |
2026-03-11 14:40:03,392 INFO ScheduleDigitalInvoice called... |
2026-03-11 14:40:03,549 INFO MakeGlAccountPostings called... |
2026-03-11 14:40:03,689 INFO MakeGlAccountPostings finished. |
2026-03-11 14:40:03,689 INFO MakeCreditMemoRequest called... |
2026-03-11 14:40:03,830 INFO MakeCreditMemoRequest finished. |
2026-03-11 14:40:03,846 INFO ScheduleDigitalInvoice finished. |
2026-03-11 14:45:03,984 INFO ScheduleDigitalInvoice called... |
2026-03-11 14:45:04,156 INFO MakeGlAccountPostings called... |
2026-03-11 14:45:04,297 INFO MakeGlAccountPostings finished. |
2026-03-11 14:45:04,297 INFO MakeCreditMemoRequest called... |
2026-03-11 14:45:04,469 INFO MakeCreditMemoRequest finished. |
2026-03-11 14:45:04,469 INFO ScheduleDigitalInvoice finished. |
2026-03-11 14:50:03,500 INFO ScheduleDigitalInvoice called... |
2026-03-11 14:50:03,719 INFO MakeGlAccountPostings called... |
2026-03-11 14:50:03,844 INFO MakeGlAccountPostings finished. |
2026-03-11 14:50:03,844 INFO MakeCreditMemoRequest called... |
2026-03-11 14:50:03,985 INFO MakeCreditMemoRequest finished. |
2026-03-11 14:50:04,000 INFO ScheduleDigitalInvoice finished. |
2026-03-11 14:55:03,604 INFO ScheduleDigitalInvoice called... |
2026-03-11 14:55:03,776 INFO MakeGlAccountPostings called... |
2026-03-11 14:55:03,885 INFO MakeGlAccountPostings finished. |
2026-03-11 14:55:03,885 INFO MakeCreditMemoRequest called... |
2026-03-11 14:55:04,042 INFO MakeCreditMemoRequest finished. |
2026-03-11 14:55:04,057 INFO ScheduleDigitalInvoice finished. |
2026-03-11 15:00:04,308 INFO ScheduleDigitalInvoice called... |
2026-03-11 15:00:04,495 INFO MakeGlAccountPostings called... |
2026-03-11 15:00:04,652 INFO MakeGlAccountPostings finished. |
2026-03-11 15:00:04,652 INFO MakeCreditMemoRequest called... |
2026-03-11 15:00:04,808 INFO MakeCreditMemoRequest finished. |
2026-03-11 15:00:04,823 INFO ScheduleDigitalInvoice finished. |
2026-03-11 15:05:03,440 INFO ScheduleDigitalInvoice called... |
2026-03-11 15:05:03,800 INFO MakeGlAccountPostings called... |
2026-03-11 15:05:03,956 INFO MakeGlAccountPostings finished. |
2026-03-11 15:05:03,987 INFO MakeCreditMemoRequest called... |
2026-03-11 15:05:04,128 INFO MakeCreditMemoRequest finished. |
2026-03-11 15:05:04,144 INFO ScheduleDigitalInvoice finished. |
2026-03-11 15:10:03,400 INFO ScheduleDigitalInvoice called... |
2026-03-11 15:10:03,603 INFO MakeGlAccountPostings called... |
2026-03-11 15:10:03,712 INFO MakeGlAccountPostings finished. |
2026-03-11 15:10:03,728 INFO MakeCreditMemoRequest called... |
2026-03-11 15:10:03,869 INFO MakeCreditMemoRequest finished. |
2026-03-11 15:10:03,884 INFO ScheduleDigitalInvoice finished. |
2026-03-11 15:15:03,982 INFO ScheduleDigitalInvoice called... |
2026-03-11 15:15:04,153 INFO MakeGlAccountPostings called... |
2026-03-11 15:15:04,278 INFO MakeGlAccountPostings finished. |
2026-03-11 15:15:04,294 INFO MakeCreditMemoRequest called... |
2026-03-11 15:15:04,450 INFO MakeCreditMemoRequest finished. |
2026-03-11 15:15:04,450 INFO ScheduleDigitalInvoice finished. |
2026-03-11 15:20:03,713 INFO ScheduleDigitalInvoice called... |
2026-03-11 15:20:03,885 INFO MakeGlAccountPostings called... |
2026-03-11 15:20:04,010 INFO MakeGlAccountPostings finished. |
2026-03-11 15:20:04,010 INFO MakeCreditMemoRequest called... |
2026-03-11 15:20:04,166 INFO MakeCreditMemoRequest finished. |
2026-03-11 15:20:04,166 INFO ScheduleDigitalInvoice finished. |
2026-03-11 15:25:03,405 INFO ScheduleDigitalInvoice called... |
2026-03-11 15:25:03,561 INFO MakeGlAccountPostings called... |
2026-03-11 15:25:03,686 INFO MakeGlAccountPostings finished. |
2026-03-11 15:25:03,702 INFO MakeCreditMemoRequest called... |
2026-03-11 15:25:03,843 INFO MakeCreditMemoRequest finished. |
2026-03-11 15:25:03,843 INFO ScheduleDigitalInvoice finished. |
2026-03-11 15:30:04,242 INFO ScheduleDigitalInvoice called... |
2026-03-11 15:30:04,414 INFO MakeGlAccountPostings called... |
2026-03-11 15:30:04,571 INFO MakeGlAccountPostings finished. |
2026-03-11 15:30:04,571 INFO MakeCreditMemoRequest called... |
2026-03-11 15:30:04,742 INFO MakeCreditMemoRequest finished. |
2026-03-11 15:30:04,742 INFO ScheduleDigitalInvoice finished. |
2026-03-11 15:35:03,328 INFO ScheduleDigitalInvoice called... |
2026-03-11 15:35:03,485 INFO MakeGlAccountPostings called... |
2026-03-11 15:35:03,610 INFO MakeGlAccountPostings finished. |
2026-03-11 15:35:03,610 INFO MakeCreditMemoRequest called... |
2026-03-11 15:35:03,750 INFO MakeCreditMemoRequest finished. |
2026-03-11 15:35:03,750 INFO ScheduleDigitalInvoice finished. |
2026-03-11 15:40:03,361 INFO ScheduleDigitalInvoice called... |
2026-03-11 15:40:03,517 INFO MakeGlAccountPostings called... |
2026-03-11 15:40:03,642 INFO MakeGlAccountPostings finished. |
2026-03-11 15:40:03,642 INFO MakeCreditMemoRequest called... |
2026-03-11 15:40:03,798 INFO MakeCreditMemoRequest finished. |
2026-03-11 15:40:03,798 INFO ScheduleDigitalInvoice finished. |
2026-03-11 15:45:03,947 INFO ScheduleDigitalInvoice called... |
2026-03-11 15:45:04,134 INFO MakeGlAccountPostings called... |
2026-03-11 15:45:04,259 INFO MakeGlAccountPostings finished. |
2026-03-11 15:45:04,259 INFO MakeCreditMemoRequest called... |
2026-03-11 15:45:04,415 INFO MakeCreditMemoRequest finished. |
2026-03-11 15:45:04,415 INFO ScheduleDigitalInvoice finished. |
2026-03-11 15:50:03,624 INFO ScheduleDigitalInvoice called... |
2026-03-11 15:50:03,842 INFO MakeGlAccountPostings called... |
2026-03-11 15:50:03,967 INFO MakeGlAccountPostings finished. |
2026-03-11 15:50:03,983 INFO MakeCreditMemoRequest called... |
2026-03-11 15:50:04,124 INFO MakeCreditMemoRequest finished. |
2026-03-11 15:50:04,124 INFO ScheduleDigitalInvoice finished. |
2026-03-11 15:55:03,394 INFO ScheduleDigitalInvoice called... |
2026-03-11 15:55:03,566 INFO MakeGlAccountPostings called... |
2026-03-11 15:55:03,676 INFO MakeGlAccountPostings finished. |
2026-03-11 15:55:03,676 INFO MakeCreditMemoRequest called... |
2026-03-11 15:55:03,832 INFO MakeCreditMemoRequest finished. |
2026-03-11 15:55:03,832 INFO ScheduleDigitalInvoice finished. |
2026-03-11 16:00:04,176 INFO ScheduleDigitalInvoice called... |
2026-03-11 16:00:04,363 INFO MakeGlAccountPostings called... |
2026-03-11 16:00:04,519 INFO MakeGlAccountPostings finished. |
2026-03-11 16:00:04,519 INFO MakeCreditMemoRequest called... |
2026-03-11 16:00:04,676 INFO MakeCreditMemoRequest finished. |
2026-03-11 16:00:04,676 INFO ScheduleDigitalInvoice finished. |
2026-03-11 16:05:03,401 INFO ScheduleDigitalInvoice called... |
2026-03-11 16:05:03,572 INFO MakeGlAccountPostings called... |
2026-03-11 16:05:03,713 INFO MakeGlAccountPostings finished. |
2026-03-11 16:05:03,713 INFO MakeCreditMemoRequest called... |
2026-03-11 16:05:03,869 INFO MakeCreditMemoRequest finished. |
2026-03-11 16:05:03,869 INFO ScheduleDigitalInvoice finished. |
2026-03-11 16:10:03,452 INFO ScheduleDigitalInvoice called... |
2026-03-11 16:10:03,687 INFO MakeGlAccountPostings called... |
2026-03-11 16:10:03,812 INFO MakeGlAccountPostings finished. |
2026-03-11 16:10:03,812 INFO MakeCreditMemoRequest called... |
2026-03-11 16:10:03,984 INFO MakeCreditMemoRequest finished. |
2026-03-11 16:10:04,015 INFO ScheduleDigitalInvoice finished. |
2026-03-11 16:15:04,208 INFO ScheduleDigitalInvoice called... |
2026-03-11 16:15:04,396 INFO MakeGlAccountPostings called... |
2026-03-11 16:15:04,521 INFO MakeGlAccountPostings finished. |
2026-03-11 16:15:04,537 INFO MakeCreditMemoRequest called... |
2026-03-11 16:15:04,693 INFO MakeCreditMemoRequest finished. |
2026-03-11 16:15:04,708 INFO ScheduleDigitalInvoice finished. |
2026-03-11 16:20:03,335 INFO ScheduleDigitalInvoice called... |
2026-03-11 16:20:03,507 INFO MakeGlAccountPostings called... |
2026-03-11 16:20:03,632 INFO MakeGlAccountPostings finished. |
2026-03-11 16:20:03,632 INFO MakeCreditMemoRequest called... |
2026-03-11 16:20:03,772 INFO MakeCreditMemoRequest finished. |
2026-03-11 16:20:03,788 INFO ScheduleDigitalInvoice finished. |
2026-03-11 16:25:03,325 INFO ScheduleDigitalInvoice called... |
2026-03-11 16:25:03,482 INFO MakeGlAccountPostings called... |
2026-03-11 16:25:03,638 INFO MakeGlAccountPostings finished. |
2026-03-11 16:25:03,638 INFO MakeCreditMemoRequest called... |
2026-03-11 16:25:03,779 INFO MakeCreditMemoRequest finished. |
2026-03-11 16:25:03,779 INFO ScheduleDigitalInvoice finished. |
2026-03-11 16:30:04,202 INFO ScheduleDigitalInvoice called... |
2026-03-11 16:30:04,390 INFO MakeGlAccountPostings called... |
2026-03-11 16:30:04,499 INFO MakeGlAccountPostings finished. |
2026-03-11 16:30:04,515 INFO MakeCreditMemoRequest called... |
2026-03-11 16:30:04,687 INFO MakeCreditMemoRequest finished. |
2026-03-11 16:30:04,687 INFO ScheduleDigitalInvoice finished. |
2026-03-11 16:35:03,393 INFO ScheduleDigitalInvoice called... |
2026-03-11 16:35:03,534 INFO MakeGlAccountPostings called... |
2026-03-11 16:35:03,659 INFO MakeGlAccountPostings finished. |
2026-03-11 16:35:03,659 INFO MakeCreditMemoRequest called... |
2026-03-11 16:35:03,815 INFO MakeCreditMemoRequest finished. |
2026-03-11 16:35:03,815 INFO ScheduleDigitalInvoice finished. |
2026-03-11 16:40:03,692 INFO ScheduleDigitalInvoice called... |
2026-03-11 16:40:03,879 INFO MakeGlAccountPostings called... |
2026-03-11 16:40:04,004 INFO MakeGlAccountPostings finished. |
2026-03-11 16:40:04,004 INFO MakeCreditMemoRequest called... |
2026-03-11 16:40:04,160 INFO MakeCreditMemoRequest finished. |
2026-03-11 16:40:04,160 INFO ScheduleDigitalInvoice finished. |
2026-03-11 16:45:03,981 INFO ScheduleDigitalInvoice called... |
2026-03-11 16:45:04,153 INFO MakeGlAccountPostings called... |
2026-03-11 16:45:04,294 INFO MakeGlAccountPostings finished. |
2026-03-11 16:45:04,294 INFO MakeCreditMemoRequest called... |
2026-03-11 16:45:04,465 INFO MakeCreditMemoRequest finished. |
2026-03-11 16:45:04,465 INFO ScheduleDigitalInvoice finished. |
2026-03-11 16:50:03,528 INFO ScheduleDigitalInvoice called... |
2026-03-11 16:50:03,716 INFO MakeGlAccountPostings called... |
2026-03-11 16:50:03,825 INFO MakeGlAccountPostings finished. |
2026-03-11 16:50:03,825 INFO MakeCreditMemoRequest called... |
2026-03-11 16:50:03,981 INFO MakeCreditMemoRequest finished. |
2026-03-11 16:50:03,997 INFO ScheduleDigitalInvoice finished. |
2026-03-11 16:55:03,677 INFO ScheduleDigitalInvoice called... |
2026-03-11 16:55:03,849 INFO MakeGlAccountPostings called... |
2026-03-11 16:55:03,958 INFO MakeGlAccountPostings finished. |
2026-03-11 16:55:03,958 INFO MakeCreditMemoRequest called... |
2026-03-11 16:55:04,114 INFO MakeCreditMemoRequest finished. |
2026-03-11 16:55:04,145 INFO ScheduleDigitalInvoice finished. |
2026-03-11 17:00:03,946 INFO ScheduleDigitalInvoice called... |
2026-03-11 17:00:04,134 INFO MakeGlAccountPostings called... |
2026-03-11 17:00:04,259 INFO MakeGlAccountPostings finished. |
2026-03-11 17:00:04,259 INFO MakeCreditMemoRequest called... |
2026-03-11 17:00:04,431 INFO MakeCreditMemoRequest finished. |
2026-03-11 17:00:04,446 INFO ScheduleDigitalInvoice finished. |
2026-03-11 17:05:03,375 INFO ScheduleDigitalInvoice called... |
2026-03-11 17:05:03,516 INFO MakeGlAccountPostings called... |
2026-03-11 17:05:03,641 INFO MakeGlAccountPostings finished. |
2026-03-11 17:05:03,656 INFO MakeCreditMemoRequest called... |
2026-03-11 17:05:03,797 INFO MakeCreditMemoRequest finished. |
2026-03-11 17:05:03,813 INFO ScheduleDigitalInvoice finished. |
2026-03-11 17:10:03,321 INFO ScheduleDigitalInvoice called... |
2026-03-11 17:10:03,508 INFO MakeGlAccountPostings called... |
2026-03-11 17:10:03,617 INFO MakeGlAccountPostings finished. |
2026-03-11 17:10:03,633 INFO MakeCreditMemoRequest called... |
2026-03-11 17:10:03,789 INFO MakeCreditMemoRequest finished. |
2026-03-11 17:10:03,789 INFO ScheduleDigitalInvoice finished. |
2026-03-11 17:15:04,292 INFO ScheduleDigitalInvoice called... |
2026-03-11 17:15:04,448 INFO MakeGlAccountPostings called... |
2026-03-11 17:15:04,573 INFO MakeGlAccountPostings finished. |
2026-03-11 17:15:04,573 INFO MakeCreditMemoRequest called... |
2026-03-11 17:15:04,729 INFO MakeCreditMemoRequest finished. |
2026-03-11 17:15:04,745 INFO ScheduleDigitalInvoice finished. |
2026-03-11 17:20:03,400 INFO ScheduleDigitalInvoice called... |
2026-03-11 17:20:03,572 INFO MakeGlAccountPostings called... |
2026-03-11 17:20:03,681 INFO MakeGlAccountPostings finished. |
2026-03-11 17:20:03,681 INFO MakeCreditMemoRequest called... |
2026-03-11 17:20:03,837 INFO MakeCreditMemoRequest finished. |
2026-03-11 17:20:03,853 INFO ScheduleDigitalInvoice finished. |
2026-03-11 17:25:03,667 INFO ScheduleDigitalInvoice called... |
2026-03-11 17:25:03,823 INFO MakeGlAccountPostings called... |
2026-03-11 17:25:03,932 INFO MakeGlAccountPostings finished. |
2026-03-11 17:25:03,948 INFO MakeCreditMemoRequest called... |
2026-03-11 17:25:04,088 INFO MakeCreditMemoRequest finished. |
2026-03-11 17:25:04,088 INFO ScheduleDigitalInvoice finished. |
2026-03-11 17:30:03,964 INFO ScheduleDigitalInvoice called... |
2026-03-11 17:30:04,136 INFO MakeGlAccountPostings called... |
2026-03-11 17:30:04,277 INFO MakeGlAccountPostings finished. |
2026-03-11 17:30:04,277 INFO MakeCreditMemoRequest called... |
2026-03-11 17:30:04,433 INFO MakeCreditMemoRequest finished. |
2026-03-11 17:30:04,433 INFO ScheduleDigitalInvoice finished. |
2026-03-11 17:35:03,394 INFO ScheduleDigitalInvoice called... |
2026-03-11 17:35:03,550 INFO MakeGlAccountPostings called... |
2026-03-11 17:35:03,675 INFO MakeGlAccountPostings finished. |
2026-03-11 17:35:03,675 INFO MakeCreditMemoRequest called... |
2026-03-11 17:35:03,816 INFO MakeCreditMemoRequest finished. |
2026-03-11 17:35:03,831 INFO ScheduleDigitalInvoice finished. |
2026-03-11 17:40:03,738 INFO ScheduleDigitalInvoice called... |
2026-03-11 17:40:03,910 INFO MakeGlAccountPostings called... |
2026-03-11 17:40:04,035 INFO MakeGlAccountPostings finished. |
2026-03-11 17:40:04,035 INFO MakeCreditMemoRequest called... |
2026-03-11 17:40:04,192 INFO MakeCreditMemoRequest finished. |
2026-03-11 17:40:04,192 INFO ScheduleDigitalInvoice finished. |
2026-03-11 17:45:03,929 INFO ScheduleDigitalInvoice called... |
2026-03-11 17:45:04,101 INFO MakeGlAccountPostings called... |
2026-03-11 17:45:04,242 INFO MakeGlAccountPostings finished. |
2026-03-11 17:45:04,273 INFO MakeCreditMemoRequest called... |
2026-03-11 17:45:04,413 INFO MakeCreditMemoRequest finished. |
2026-03-11 17:45:04,413 INFO ScheduleDigitalInvoice finished. |
2026-03-11 17:50:03,421 INFO ScheduleDigitalInvoice called... |
2026-03-11 17:50:03,593 INFO MakeGlAccountPostings called... |
2026-03-11 17:50:03,718 INFO MakeGlAccountPostings finished. |
2026-03-11 17:50:03,734 INFO MakeCreditMemoRequest called... |
2026-03-11 17:50:03,952 INFO MakeCreditMemoRequest finished. |
2026-03-11 17:50:03,952 INFO ScheduleDigitalInvoice finished. |
2026-03-11 17:55:03,470 INFO ScheduleDigitalInvoice called... |
2026-03-11 17:55:03,626 INFO MakeGlAccountPostings called... |
2026-03-11 17:55:03,736 INFO MakeGlAccountPostings finished. |
2026-03-11 17:55:03,751 INFO MakeCreditMemoRequest called... |
2026-03-11 17:55:03,892 INFO MakeCreditMemoRequest finished. |
2026-03-11 17:55:03,908 INFO ScheduleDigitalInvoice finished. |
2026-03-11 18:00:04,289 INFO ScheduleDigitalInvoice called... |
2026-03-11 18:00:04,477 INFO MakeGlAccountPostings called... |
2026-03-11 18:00:04,586 INFO MakeGlAccountPostings finished. |
2026-03-11 18:00:04,602 INFO MakeCreditMemoRequest called... |
2026-03-11 18:00:04,758 INFO MakeCreditMemoRequest finished. |
2026-03-11 18:00:04,758 INFO ScheduleDigitalInvoice finished. |
2026-03-11 18:05:03,372 INFO ScheduleDigitalInvoice called... |
2026-03-11 18:05:03,575 INFO MakeGlAccountPostings called... |
2026-03-11 18:05:03,700 INFO MakeGlAccountPostings finished. |
2026-03-11 18:05:03,715 INFO MakeCreditMemoRequest called... |
2026-03-11 18:05:03,856 INFO MakeCreditMemoRequest finished. |
2026-03-11 18:05:03,856 INFO ScheduleDigitalInvoice finished. |
2026-03-11 18:10:03,639 INFO ScheduleDigitalInvoice called... |
2026-03-11 18:10:03,795 INFO MakeGlAccountPostings called... |
2026-03-11 18:10:03,920 INFO MakeGlAccountPostings finished. |
2026-03-11 18:10:03,920 INFO MakeCreditMemoRequest called... |
2026-03-11 18:10:04,060 INFO MakeCreditMemoRequest finished. |
2026-03-11 18:10:04,060 INFO ScheduleDigitalInvoice finished. |
2026-03-11 18:15:03,930 INFO ScheduleDigitalInvoice called... |
2026-03-11 18:15:04,102 INFO MakeGlAccountPostings called... |
2026-03-11 18:15:04,243 INFO MakeGlAccountPostings finished. |
2026-03-11 18:15:04,258 INFO MakeCreditMemoRequest called... |
2026-03-11 18:15:04,415 INFO MakeCreditMemoRequest finished. |
2026-03-11 18:15:04,415 INFO ScheduleDigitalInvoice finished. |
2026-03-11 18:20:03,341 INFO ScheduleDigitalInvoice called... |
2026-03-11 18:20:03,513 INFO MakeGlAccountPostings called... |
2026-03-11 18:20:03,623 INFO MakeGlAccountPostings finished. |
2026-03-11 18:20:03,638 INFO MakeCreditMemoRequest called... |
2026-03-11 18:20:03,779 INFO MakeCreditMemoRequest finished. |
2026-03-11 18:20:03,779 INFO ScheduleDigitalInvoice finished. |
2026-03-11 18:25:03,679 INFO ScheduleDigitalInvoice called... |
2026-03-11 18:25:03,882 INFO MakeGlAccountPostings called... |
2026-03-11 18:25:03,991 INFO MakeGlAccountPostings finished. |
2026-03-11 18:25:04,007 INFO MakeCreditMemoRequest called... |
2026-03-11 18:25:04,148 INFO MakeCreditMemoRequest finished. |
2026-03-11 18:25:04,163 INFO ScheduleDigitalInvoice finished. |
2026-03-11 18:30:03,929 INFO ScheduleDigitalInvoice called... |
2026-03-11 18:30:04,164 INFO MakeGlAccountPostings called... |
2026-03-11 18:30:04,289 INFO MakeGlAccountPostings finished. |
2026-03-11 18:30:04,304 INFO MakeCreditMemoRequest called... |
2026-03-11 18:30:04,445 INFO MakeCreditMemoRequest finished. |
2026-03-11 18:30:04,476 INFO ScheduleDigitalInvoice finished. |
2026-03-11 18:35:03,374 INFO ScheduleDigitalInvoice called... |
2026-03-11 18:35:03,546 INFO MakeGlAccountPostings called... |
2026-03-11 18:35:03,655 INFO MakeGlAccountPostings finished. |
2026-03-11 18:35:03,671 INFO MakeCreditMemoRequest called... |
2026-03-11 18:35:03,827 INFO MakeCreditMemoRequest finished. |
2026-03-11 18:35:03,827 INFO ScheduleDigitalInvoice finished. |
2026-03-11 18:40:03,648 INFO ScheduleDigitalInvoice called... |
2026-03-11 18:40:03,820 INFO MakeGlAccountPostings called... |
2026-03-11 18:40:03,960 INFO MakeGlAccountPostings finished. |
2026-03-11 18:40:03,960 INFO MakeCreditMemoRequest called... |
2026-03-11 18:40:04,132 INFO MakeCreditMemoRequest finished. |
2026-03-11 18:40:04,148 INFO ScheduleDigitalInvoice finished. |
2026-03-11 18:45:03,966 INFO ScheduleDigitalInvoice called... |
2026-03-11 18:45:04,138 INFO MakeGlAccountPostings called... |
2026-03-11 18:45:04,263 INFO MakeGlAccountPostings finished. |
2026-03-11 18:45:04,278 INFO MakeCreditMemoRequest called... |
2026-03-11 18:45:04,434 INFO MakeCreditMemoRequest finished. |
2026-03-11 18:45:04,450 INFO ScheduleDigitalInvoice finished. |
2026-03-11 18:50:03,335 INFO ScheduleDigitalInvoice called... |
2026-03-11 18:50:03,491 INFO MakeGlAccountPostings called... |
2026-03-11 18:50:03,616 INFO MakeGlAccountPostings finished. |
2026-03-11 18:50:03,616 INFO MakeCreditMemoRequest called... |
2026-03-11 18:50:03,772 INFO MakeCreditMemoRequest finished. |
2026-03-11 18:50:03,772 INFO ScheduleDigitalInvoice finished. |
2026-03-11 18:55:03,638 INFO ScheduleDigitalInvoice called... |
2026-03-11 18:55:03,841 INFO MakeGlAccountPostings called... |
2026-03-11 18:55:03,982 INFO MakeGlAccountPostings finished. |
2026-03-11 18:55:03,982 INFO MakeCreditMemoRequest called... |
2026-03-11 18:55:04,138 INFO MakeCreditMemoRequest finished. |
2026-03-11 18:55:04,154 INFO ScheduleDigitalInvoice finished. |
2026-03-11 19:00:04,016 INFO ScheduleDigitalInvoice called... |
2026-03-11 19:00:04,188 INFO MakeGlAccountPostings called... |
2026-03-11 19:00:04,329 INFO MakeGlAccountPostings finished. |
2026-03-11 19:00:04,329 INFO MakeCreditMemoRequest called... |
2026-03-11 19:00:04,548 INFO MakeCreditMemoRequest finished. |
2026-03-11 19:00:04,548 INFO ScheduleDigitalInvoice finished. |
2026-03-11 19:05:03,685 INFO ScheduleDigitalInvoice called... |
2026-03-11 19:05:34,602 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 19:05:34,602 INFO ScheduleDigitalInvoice finished. |
2026-03-11 19:10:03,438 INFO ScheduleDigitalInvoice called... |
2026-03-11 19:10:34,303 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 19:10:34,319 INFO ScheduleDigitalInvoice finished. |
2026-03-11 19:15:03,996 INFO ScheduleDigitalInvoice called... |
2026-03-11 19:15:34,892 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 19:15:34,907 INFO ScheduleDigitalInvoice finished. |
2026-03-11 19:20:03,390 INFO ScheduleDigitalInvoice called... |
2026-03-11 19:20:34,273 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 19:20:34,289 INFO ScheduleDigitalInvoice finished. |
2026-03-11 19:25:03,714 INFO ScheduleDigitalInvoice called... |
2026-03-11 19:25:34,583 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 19:25:34,598 INFO ScheduleDigitalInvoice finished. |
2026-03-11 19:30:03,948 INFO ScheduleDigitalInvoice called... |
2026-03-11 19:30:34,850 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 19:30:34,866 INFO ScheduleDigitalInvoice finished. |
2026-03-11 19:35:03,371 INFO ScheduleDigitalInvoice called... |
2026-03-11 19:35:34,238 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 19:35:34,254 INFO ScheduleDigitalInvoice finished. |
2026-03-11 19:40:03,795 INFO ScheduleDigitalInvoice called... |
2026-03-11 19:40:34,687 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 19:40:34,702 INFO ScheduleDigitalInvoice finished. |
2026-03-11 19:45:03,949 INFO ScheduleDigitalInvoice called... |
2026-03-11 19:45:34,839 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 19:45:34,854 INFO ScheduleDigitalInvoice finished. |
2026-03-11 19:50:03,664 INFO ScheduleDigitalInvoice called... |
2026-03-11 19:50:34,549 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 19:50:34,564 INFO ScheduleDigitalInvoice finished. |
2026-03-11 19:55:03,390 INFO ScheduleDigitalInvoice called... |
2026-03-11 19:55:34,306 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 19:55:34,306 INFO ScheduleDigitalInvoice finished. |
2026-03-11 20:00:04,008 INFO ScheduleDigitalInvoice called... |
2026-03-11 20:00:34,924 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 20:00:34,924 INFO ScheduleDigitalInvoice finished. |
2026-03-11 20:05:03,361 INFO ScheduleDigitalInvoice called... |
2026-03-11 20:05:34,259 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 20:05:34,275 INFO ScheduleDigitalInvoice finished. |
2026-03-11 20:10:03,632 INFO ScheduleDigitalInvoice called... |
2026-03-11 20:10:34,513 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 20:10:34,513 INFO ScheduleDigitalInvoice finished. |
2026-03-11 20:15:03,951 INFO ScheduleDigitalInvoice called... |
2026-03-11 20:15:34,857 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 20:15:34,872 INFO ScheduleDigitalInvoice finished. |
2026-03-11 20:20:03,646 INFO ScheduleDigitalInvoice called... |
2026-03-11 20:20:34,521 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 20:20:34,536 INFO ScheduleDigitalInvoice finished. |
2026-03-11 20:25:03,391 INFO ScheduleDigitalInvoice called... |
2026-03-11 20:25:34,276 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 20:25:34,276 INFO ScheduleDigitalInvoice finished. |
2026-03-11 20:30:03,987 INFO ScheduleDigitalInvoice called... |
2026-03-11 20:30:34,891 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 20:30:34,891 INFO ScheduleDigitalInvoice finished. |
2026-03-11 20:35:03,635 INFO ScheduleDigitalInvoice called... |
2026-03-11 20:35:34,554 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 20:35:34,570 INFO ScheduleDigitalInvoice finished. |
2026-03-11 20:40:03,380 INFO ScheduleDigitalInvoice called... |
2026-03-11 20:40:34,298 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 20:40:34,313 INFO ScheduleDigitalInvoice finished. |
2026-03-11 20:45:04,059 INFO ScheduleDigitalInvoice called... |
2026-03-11 20:45:34,964 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 20:45:34,980 INFO ScheduleDigitalInvoice finished. |
2026-03-11 20:50:03,666 INFO ScheduleDigitalInvoice called... |
2026-03-11 20:50:34,595 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 20:50:34,595 INFO ScheduleDigitalInvoice finished. |
2026-03-11 20:55:03,597 INFO ScheduleDigitalInvoice called... |
2026-03-11 20:55:34,452 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 20:55:34,468 INFO ScheduleDigitalInvoice finished. |
2026-03-11 21:00:04,192 INFO ScheduleDigitalInvoice called... |
2026-03-11 21:00:35,099 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 21:00:35,114 INFO ScheduleDigitalInvoice finished. |
2026-03-11 21:05:03,458 INFO ScheduleDigitalInvoice called... |
2026-03-11 21:05:34,340 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 21:05:34,340 INFO ScheduleDigitalInvoice finished. |
2026-03-11 21:10:03,658 INFO ScheduleDigitalInvoice called... |
2026-03-11 21:10:34,553 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 21:10:34,569 INFO ScheduleDigitalInvoice finished. |
2026-03-11 21:15:03,937 INFO ScheduleDigitalInvoice called... |
2026-03-11 21:15:34,840 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 21:15:34,840 INFO ScheduleDigitalInvoice finished. |
2026-03-11 21:20:03,366 INFO ScheduleDigitalInvoice called... |
2026-03-11 21:20:34,286 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 21:20:34,286 INFO ScheduleDigitalInvoice finished. |
2026-03-11 21:25:03,728 INFO ScheduleDigitalInvoice called... |
2026-03-11 21:25:34,643 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 21:25:34,643 INFO ScheduleDigitalInvoice finished. |
2026-03-11 21:30:04,020 INFO ScheduleDigitalInvoice called... |
2026-03-11 21:30:34,934 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 21:30:34,934 INFO ScheduleDigitalInvoice finished. |
2026-03-11 21:35:03,398 INFO ScheduleDigitalInvoice called... |
2026-03-11 21:35:34,305 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 21:35:34,320 INFO ScheduleDigitalInvoice finished. |
2026-03-11 21:40:03,843 INFO ScheduleDigitalInvoice called... |
2026-03-11 21:40:34,764 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 21:40:34,764 INFO ScheduleDigitalInvoice finished. |
2026-03-11 21:45:04,024 INFO ScheduleDigitalInvoice called... |
2026-03-11 21:45:34,934 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 21:45:34,950 INFO ScheduleDigitalInvoice finished. |
2026-03-11 21:50:03,386 INFO ScheduleDigitalInvoice called... |
2026-03-11 21:50:34,290 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 21:50:34,306 INFO ScheduleDigitalInvoice finished. |
2026-03-11 21:55:03,723 INFO ScheduleDigitalInvoice called... |
2026-03-11 21:55:34,600 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 21:55:34,615 INFO ScheduleDigitalInvoice finished. |
2026-03-11 22:00:04,007 INFO ScheduleDigitalInvoice called... |
2026-03-11 22:00:34,898 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 22:00:34,914 INFO ScheduleDigitalInvoice finished. |
2026-03-11 22:05:03,396 INFO ScheduleDigitalInvoice called... |
2026-03-11 22:05:34,315 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 22:05:34,330 INFO ScheduleDigitalInvoice finished. |
2026-03-11 22:10:03,565 INFO ScheduleDigitalInvoice called... |
2026-03-11 22:10:34,452 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 22:10:34,452 INFO ScheduleDigitalInvoice finished. |
2026-03-11 22:15:04,031 INFO ScheduleDigitalInvoice called... |
2026-03-11 22:15:34,901 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 22:15:34,901 INFO ScheduleDigitalInvoice finished. |
2026-03-11 22:20:03,609 INFO ScheduleDigitalInvoice called... |
2026-03-11 22:20:34,511 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 22:20:34,511 INFO ScheduleDigitalInvoice finished. |
2026-03-11 22:25:03,617 INFO ScheduleDigitalInvoice called... |
2026-03-11 22:25:34,505 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 22:25:34,521 INFO ScheduleDigitalInvoice finished. |
2026-03-11 22:30:03,934 INFO ScheduleDigitalInvoice called... |
2026-03-11 22:30:34,800 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 22:30:34,815 INFO ScheduleDigitalInvoice finished. |
2026-03-11 22:35:03,341 INFO ScheduleDigitalInvoice called... |
2026-03-11 22:35:34,198 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 22:35:34,214 INFO ScheduleDigitalInvoice finished. |
2026-03-11 22:40:03,433 INFO ScheduleDigitalInvoice called... |
2026-03-11 22:40:34,340 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 22:40:34,355 INFO ScheduleDigitalInvoice finished. |
2026-03-11 22:45:04,310 INFO ScheduleDigitalInvoice called... |
2026-03-11 22:45:35,188 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 22:45:35,203 INFO ScheduleDigitalInvoice finished. |
2026-03-11 22:50:03,377 INFO ScheduleDigitalInvoice called... |
2026-03-11 22:50:34,281 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 22:50:34,281 INFO ScheduleDigitalInvoice finished. |
2026-03-11 22:55:03,618 INFO ScheduleDigitalInvoice called... |
2026-03-11 22:55:34,539 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 22:55:34,539 INFO ScheduleDigitalInvoice finished. |
2026-03-11 23:00:03,978 INFO ScheduleDigitalInvoice called... |
2026-03-11 23:00:34,858 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 23:00:34,874 INFO ScheduleDigitalInvoice finished. |
2026-03-11 23:05:03,358 INFO ScheduleDigitalInvoice called... |
2026-03-11 23:05:34,260 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 23:05:34,260 INFO ScheduleDigitalInvoice finished. |
2026-03-11 23:10:03,687 INFO ScheduleDigitalInvoice called... |
2026-03-11 23:10:34,562 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 23:10:34,578 INFO ScheduleDigitalInvoice finished. |
2026-03-11 23:15:04,004 INFO ScheduleDigitalInvoice called... |
2026-03-11 23:15:34,897 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 23:15:35,022 INFO ScheduleDigitalInvoice finished. |
2026-03-11 23:20:03,385 INFO ScheduleDigitalInvoice called... |
2026-03-11 23:20:34,279 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 23:20:34,279 INFO ScheduleDigitalInvoice finished. |
2026-03-11 23:25:03,426 INFO ScheduleDigitalInvoice called... |
2026-03-11 23:25:34,333 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 23:25:34,349 INFO ScheduleDigitalInvoice finished. |
2026-03-11 23:30:04,107 INFO ScheduleDigitalInvoice called... |
2026-03-11 23:30:35,012 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 23:30:35,043 INFO ScheduleDigitalInvoice finished. |
2026-03-11 23:35:03,389 INFO ScheduleDigitalInvoice called... |
2026-03-11 23:35:34,288 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 23:35:34,288 INFO ScheduleDigitalInvoice finished. |
2026-03-11 23:40:03,595 INFO ScheduleDigitalInvoice called... |
2026-03-11 23:40:34,460 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 23:40:34,476 INFO ScheduleDigitalInvoice finished. |
2026-03-11 23:45:04,101 INFO ScheduleDigitalInvoice called... |
2026-03-11 23:45:35,006 ERROR Exception in ScheduleDigitalInvoice: AutoMapper.AutoMapperMappingException: Error mapping types. |
Mapping types: |
IQueryable`1 -> IEnumerable`1 |
System.Linq.IQueryable`1[[Apetito.Safran.Domain.Entities.Financial.PurchaseInvoice, Apetito.Safran.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.IEnumerable`1[[Apetito.Safran.Service.Dtos.Financial.PurchaseInvoiceDto, Apetito.Safran.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception: Access is denied |
--- End of inner exception stack trace --- |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) |
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) |
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) |
at System.Data.SqlClient.SqlConnection.Open() |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) |
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass2_0.<Execute>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
--- End of inner exception stack trace --- |
at System.Data.Entity.Core.EntityClient.EntityConnection.Open() |
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) |
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0() |
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) |
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0() |
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
--- End of inner exception stack trace --- |
at lambda_method(Closure , IQueryable`1 , IEnumerable`1 , ResolutionContext ) |
at AutoMapper.Mapper.MapCore[TSource,TDestination](TSource source, TDestination destination, ResolutionContext context, Type sourceType, Type destinationType, IMemberMap memberMap) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source, TDestination destination) |
at AutoMapper.Mapper.Map[TSource,TDestination](TSource source) |
at Apetito.foody.BackgroundWorkerRestService.Services.DigitalInvoiceService.ScheduleDigitalInvoice(String parameter) in C:\tfs\apetito_foody\Edu\src\apetitoSAFRAN\Apetito.foody.BackgroundWorkerRestService\Services\DigitalInvoiceService.cs:line 55 |
2026-03-11 23:45:35,006 INFO ScheduleDigitalInvoice finished. |