Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 50

2023-12-21 00:03:44.846 +00:00 [INF] Application is shutting down...

2023-12-21 09:01:17.428 +00:00 [INF] Application started. Press Ctrl+C to shut


down.
2023-12-21 09:01:17.486 +00:00 [INF] Hosting environment: Production
2023-12-21 09:01:17.487 +00:00 [INF] Content root path: C:\inetpub\wwwroot\agweb-
prod-back
2023-12-21 09:01:24.926 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 09:06:37.677 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 09:07:24.923 +00:00 [INF] Iniciado log da edição de candidato 35a13264-
fb46-4475-9d58-23c84dc61738 pelo utilizador Id: 46a9b41c-f74b-4e1f-a686-
ab611374316f em 21/12/2023 09:07:24
2023-12-21 09:07:25.133 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 35a13264-fb46-4475-9d58-23c84dc61738
2023-12-21 09:07:25.147 +00:00 [INF] Atualização dos dados do CRM ok - Id:35a13264-
fb46-4475-9d58-23c84dc61738
2023-12-21 09:07:25.215 +00:00 [INF] Atualização dos dados do candidato ok -
Id:35a13264-fb46-4475-9d58-23c84dc61738
2023-12-21 09:08:42.335 +00:00 [INF] Iniciado log da edição de candidato 35a13264-
fb46-4475-9d58-23c84dc61738 pelo utilizador Id: 46a9b41c-f74b-4e1f-a686-
ab611374316f em 21/12/2023 09:08:42
2023-12-21 09:08:42.562 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 35a13264-fb46-4475-9d58-23c84dc61738
2023-12-21 09:08:42.564 +00:00 [INF] Atualização dos dados do CRM ok - Id:35a13264-
fb46-4475-9d58-23c84dc61738
2023-12-21 09:08:42.597 +00:00 [INF] Atualização dos dados do candidato ok -
Id:35a13264-fb46-4475-9d58-23c84dc61738
2023-12-21 09:09:12.771 +00:00 [INF] Inicio do serviço de Update
2023-12-21 09:09:12.917 +00:00 [INF] Finalizou busca na base de dados do Id:
6aca3727-8643-4b46-4e8e-08dc0078a65d
2023-12-21 09:09:13.082 +00:00 [INF] Efetuou mapeamento
2023-12-21 09:09:13.082 +00:00 [INF] Efetuou atualização do campo de IRS
2023-12-21 09:09:13.083 +00:00 [INF] Efeutou a chamada do update do repositório
2023-12-21 09:09:13.090 +00:00 [INF] Efetuou o commit.
2023-12-21 09:32:16.905 +00:00 [INF] Application is shutting down...
2023-12-21 09:37:12.521 +00:00 [INF] Application started. Press Ctrl+C to shut
down.
2023-12-21 09:37:12.582 +00:00 [INF] Hosting environment: Production
2023-12-21 09:37:12.583 +00:00 [INF] Content root path: C:\inetpub\wwwroot\agweb-
prod-back
2023-12-21 09:37:20.608 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 09:38:41.647 +00:00 [INF] Start processing HTTP request POST
"https://acesso.integer.pt//api/login"
2023-12-21 09:38:41.652 +00:00 [INF] Sending HTTP request POST
"https://acesso.integer.pt//api/login"
2023-12-21 09:38:42.424 +00:00 [INF] Received HTTP response headers after
767.7092ms - 200
2023-12-21 09:38:42.425 +00:00 [INF] End processing HTTP request after 784.1477ms -
200
2023-12-21 09:38:42.439 +00:00 [INF] Start processing HTTP request POST
"https://acesso.integer.pt//api/photoUser"
2023-12-21 09:38:42.439 +00:00 [INF] Sending HTTP request POST
"https://acesso.integer.pt//api/photoUser"
2023-12-21 09:38:42.561 +00:00 [INF] Received HTTP response headers after
122.0416ms - 200
2023-12-21 09:38:42.561 +00:00 [INF] End processing HTTP request after 122.5106ms -
200
2023-12-21 09:40:40.437 +00:00 [INF] Start processing HTTP request POST
"https://acesso.integer.pt//api/login"
2023-12-21 09:40:40.437 +00:00 [INF] Sending HTTP request POST
"https://acesso.integer.pt//api/login"
2023-12-21 09:40:41.031 +00:00 [INF] Received HTTP response headers after
594.2697ms - 200
2023-12-21 09:40:41.032 +00:00 [INF] End processing HTTP request after 595.2683ms -
200
2023-12-21 09:40:41.035 +00:00 [INF] Start processing HTTP request POST
"https://acesso.integer.pt//api/photoUser"
2023-12-21 09:40:41.035 +00:00 [INF] Sending HTTP request POST
"https://acesso.integer.pt//api/photoUser"
2023-12-21 09:40:41.165 +00:00 [INF] Received HTTP response headers after
129.7755ms - 200
2023-12-21 09:40:41.165 +00:00 [INF] End processing HTTP request after 130.5294ms -
200
2023-12-21 09:43:01.207 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 09:43:02.270 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 09:43:31.222 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 09:45:52.240 +00:00 [ERR] An exception occurred while iterating over the
results of a query for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property
cannot be called on Null values.
at Microsoft.Data.SqlClient.SqlBuffer.get_Guid()
at Microsoft.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at lambda_method7644(Closure , QueryContext , DbDataReader , ResultContext ,
SingleQueryResultCoordinator )
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumer
ator.MoveNextAsync()
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property
cannot be called on Null values.
at Microsoft.Data.SqlClient.SqlBuffer.get_Guid()
at Microsoft.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at lambda_method7644(Closure , QueryContext , DbDataReader , ResultContext ,
SingleQueryResultCoordinator )
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumer
ator.MoveNextAsync()
2023-12-21 09:54:16.519 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 09:54:45.772 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 09:55:21.539 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 09:58:59.034 +00:00 [INF] Iniciado log da edição de candidato e232380a-
8618-4977-9da5-5fd59ed001f9 pelo utilizador Id: bbf4470a-15d7-4a64-a8a0-
0bf8b7ac44b4 em 21/12/2023 09:58:59
2023-12-21 09:58:59.301 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: e232380a-8618-4977-9da5-5fd59ed001f9
2023-12-21 09:58:59.333 +00:00 [INF] Atualização dos dados do CRM ok - Id:e232380a-
8618-4977-9da5-5fd59ed001f9
2023-12-21 09:58:59.410 +00:00 [INF] Atualização dos dados do candidato ok -
Id:e232380a-8618-4977-9da5-5fd59ed001f9
2023-12-21 09:59:52.497 +00:00 [INF] Path: D:\AGWEB\prod\candidate\rgpd\2039956a-
a112-429d-9c23-480ed3d46c9e.pptx
2023-12-21 09:59:52.497 +00:00 [INF] Get File
2023-12-21 09:59:52.605 +00:00 [INF] ReadAllBytes
2023-12-21 10:02:57.293 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 10:05:39.127 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 10:05:58.282 +00:00 [INF] Iniciado log da edição de candidato 1b6e5e68-
e461-4c79-add6-32b1514a4535 pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 10:05:58
2023-12-21 10:05:58.329 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 1b6e5e68-e461-4c79-add6-32b1514a4535
2023-12-21 10:05:58.363 +00:00 [INF] Atualização dos dados do CRM ok - Id:1b6e5e68-
e461-4c79-add6-32b1514a4535
2023-12-21 10:05:58.420 +00:00 [INF] Atualização dos dados do candidato ok -
Id:1b6e5e68-e461-4c79-add6-32b1514a4535
2023-12-21 10:06:22.211 +00:00 [ERR] An exception occurred while iterating over the
results of a query for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property
cannot be called on Null values.
at Microsoft.Data.SqlClient.SqlBuffer.get_Guid()
at Microsoft.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at lambda_method7644(Closure , QueryContext , DbDataReader , ResultContext ,
SingleQueryResultCoordinator )
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumer
ator.MoveNextAsync()
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property
cannot be called on Null values.
at Microsoft.Data.SqlClient.SqlBuffer.get_Guid()
at Microsoft.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at lambda_method7644(Closure , QueryContext , DbDataReader , ResultContext ,
SingleQueryResultCoordinator )
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumer
ator.MoveNextAsync()
2023-12-21 10:06:46.254 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 10:08:06.972 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 10:13:25.735 +00:00 [INF] Iniciado log da edição de candidato 7c0083da-
1481-42c8-94e0-aa3c22014210 pelo utilizador Id: 2df65b6a-31b8-4587-85b9-
f626be073e03 em 21/12/2023 10:13:25
2023-12-21 10:13:25.980 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 7c0083da-1481-42c8-94e0-aa3c22014210
2023-12-21 10:13:25.983 +00:00 [INF] Atualização dos dados do CRM ok - Id:7c0083da-
1481-42c8-94e0-aa3c22014210
2023-12-21 10:13:26.029 +00:00 [INF] Atualização dos dados do candidato ok -
Id:7c0083da-1481-42c8-94e0-aa3c22014210
2023-12-21 10:15:04.006 +00:00 [INF] Iniciado log da edição de candidato cb622c57-
8b25-4d2c-a710-2138d2f40915 pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 10:15:04
2023-12-21 10:15:04.040 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: cb622c57-8b25-4d2c-a710-2138d2f40915
2023-12-21 10:15:04.067 +00:00 [INF] Atualização dos dados do CRM ok - Id:cb622c57-
8b25-4d2c-a710-2138d2f40915
2023-12-21 10:15:04.086 +00:00 [INF] Atualização dos dados do candidato ok -
Id:cb622c57-8b25-4d2c-a710-2138d2f40915
2023-12-21 10:15:58.073 +00:00 [INF] Iniciado log da edição de candidato cb622c57-
8b25-4d2c-a710-2138d2f40915 pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 10:15:58
2023-12-21 10:15:58.114 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: cb622c57-8b25-4d2c-a710-2138d2f40915
2023-12-21 10:15:58.117 +00:00 [INF] Atualização dos dados do CRM ok - Id:cb622c57-
8b25-4d2c-a710-2138d2f40915
2023-12-21 10:15:58.123 +00:00 [INF] Atualização dos dados do candidato ok -
Id:cb622c57-8b25-4d2c-a710-2138d2f40915
2023-12-21 10:21:55.897 +00:00 [INF] Path: D:\AGWEB\prod\proposal\7eba35ad-78e0-
4122-ada0-11b78ab29dd3.pptx
2023-12-21 10:21:55.897 +00:00 [INF] Get File
2023-12-21 10:21:55.919 +00:00 [INF] ReadAllBytes
2023-12-21 10:36:06.087 +00:00 [INF] Start processing HTTP request POST
"https://acesso.integer.pt//api/login"
2023-12-21 10:36:06.087 +00:00 [INF] Sending HTTP request POST
"https://acesso.integer.pt//api/login"
2023-12-21 10:36:06.620 +00:00 [INF] Received HTTP response headers after
532.0174ms - 200
2023-12-21 10:36:06.620 +00:00 [INF] End processing HTTP request after 532.6861ms -
200
2023-12-21 10:36:06.622 +00:00 [INF] Start processing HTTP request POST
"https://acesso.integer.pt//api/photoUser"
2023-12-21 10:36:06.622 +00:00 [INF] Sending HTTP request POST
"https://acesso.integer.pt//api/photoUser"
2023-12-21 10:36:06.731 +00:00 [INF] Received HTTP response headers after
109.4014ms - 200
2023-12-21 10:36:06.732 +00:00 [INF] End processing HTTP request after 109.9914ms -
200
2023-12-21 10:36:57.945 +00:00 [INF] Start processing HTTP request POST
"https://acesso.integer.pt//api/login"
2023-12-21 10:36:57.945 +00:00 [INF] Sending HTTP request POST
"https://acesso.integer.pt//api/login"
2023-12-21 10:36:58.752 +00:00 [INF] Received HTTP response headers after
806.8059ms - 200
2023-12-21 10:36:58.753 +00:00 [INF] End processing HTTP request after 807.2005ms -
200
2023-12-21 10:36:58.755 +00:00 [INF] Start processing HTTP request POST
"https://acesso.integer.pt//api/photoUser"
2023-12-21 10:36:58.755 +00:00 [INF] Sending HTTP request POST
"https://acesso.integer.pt//api/photoUser"
2023-12-21 10:36:58.860 +00:00 [INF] Received HTTP response headers after
104.9527ms - 200
2023-12-21 10:36:58.860 +00:00 [INF] End processing HTTP request after 105.3166ms -
200
2023-12-21 10:40:09.420 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 10:43:44.865 +00:00 [INF] Iniciado log da edição de candidato 07e86f92-
ec66-4ec3-b0c7-1ceda5310a9e pelo utilizador Id: 8de69d5a-c5b6-4cd5-bebf-
ee69fb41390c em 21/12/2023 10:43:44
2023-12-21 10:43:44.913 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 07e86f92-ec66-4ec3-b0c7-1ceda5310a9e
2023-12-21 10:43:44.945 +00:00 [INF] Atualização dos dados do CRM ok - Id:07e86f92-
ec66-4ec3-b0c7-1ceda5310a9e
2023-12-21 10:43:44.959 +00:00 [INF] Atualização dos dados do candidato ok -
Id:07e86f92-ec66-4ec3-b0c7-1ceda5310a9e
2023-12-21 10:46:42.571 +00:00 [WRN] The query uses the 'Distinct' operator after
applying an ordering. If there are any row limiting operation used before
'Distinct' and after ordering then ordering will be used for it. Ordering(s) will
be erased after 'Distinct' and results afterwards would be unordered.
2023-12-21 10:47:51.307 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 10:49:42.974 +00:00 [INF] Iniciado log da edição de candidato d6f629e9-
fdac-4f0f-95de-bfdbf5bfe75e pelo utilizador Id: bbf4470a-15d7-4a64-a8a0-
0bf8b7ac44b4 em 21/12/2023 10:49:42
2023-12-21 10:49:43.016 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: d6f629e9-fdac-4f0f-95de-bfdbf5bfe75e
2023-12-21 10:49:43.018 +00:00 [INF] Atualização dos dados do CRM ok - Id:d6f629e9-
fdac-4f0f-95de-bfdbf5bfe75e
2023-12-21 10:49:43.028 +00:00 [INF] Atualização dos dados do candidato ok -
Id:d6f629e9-fdac-4f0f-95de-bfdbf5bfe75e
2023-12-21 10:50:42.693 +00:00 [INF] Iniciado log da edição de candidato 7c0083da-
1481-42c8-94e0-aa3c22014210 pelo utilizador Id: bbf4470a-15d7-4a64-a8a0-
0bf8b7ac44b4 em 21/12/2023 10:50:42
2023-12-21 10:50:42.746 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 7c0083da-1481-42c8-94e0-aa3c22014210
2023-12-21 10:50:42.748 +00:00 [INF] Atualização dos dados do CRM ok - Id:7c0083da-
1481-42c8-94e0-aa3c22014210
2023-12-21 10:50:42.760 +00:00 [INF] Atualização dos dados do candidato ok -
Id:7c0083da-1481-42c8-94e0-aa3c22014210
2023-12-21 10:56:04.035 +00:00 [INF] Get File by name: Proposal_Pt.pptx
2023-12-21 10:56:04.085 +00:00 [INF] FileName: Proposal_Pt.pptx; Virtual Path:
/candidateFinancialProposalModels/; Id: f3f0f0c4-d297-412c-850d-524ad2e18819
2023-12-21 10:56:04.086 +00:00 [INF] Path: D:\AGWEB\prod\
candidateFinancialProposalModels\f3f0f0c4-d297-412c-850d-524ad2e18819.pptx
2023-12-21 10:56:04.086 +00:00 [INF] Get File
2023-12-21 10:56:04.086 +00:00 [INF] ReadAllBytes
2023-12-21 10:56:04.090 +00:00 [INF] Convert file to memory stream
2023-12-21 10:56:04.091 +00:00 [INF] FileSize: 1458986
2023-12-21 10:57:54.628 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 10:59:55.887 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 11:02:59.973 +00:00 [INF] Path: D:\AGWEB\prod\candidate\e9c9dd6f-d3a2-
4d08-9cb3-e84e128d04a2.pptx
2023-12-21 11:02:59.973 +00:00 [INF] Get File
2023-12-21 11:02:59.998 +00:00 [INF] ReadAllBytes
2023-12-21 11:03:28.633 +00:00 [INF] Path: D:\AGWEB\prod\candidate\ad9d4a28-0d2a-
4c13-b454-3c431d2fda0a.pptx
2023-12-21 11:03:28.633 +00:00 [INF] Get File
2023-12-21 11:03:28.656 +00:00 [INF] ReadAllBytes
2023-12-21 11:03:30.134 +00:00 [INF] Path: D:\AGWEB\prod\candidate\ad9d4a28-0d2a-
4c13-b454-3c431d2fda0a.pptx
2023-12-21 11:03:30.134 +00:00 [INF] Get File
2023-12-21 11:03:30.156 +00:00 [INF] ReadAllBytes
2023-12-21 11:09:37.314 +00:00 [INF] Iniciado log da edição de candidato 0cf02187-
d166-47d6-bfc0-4358876a9f0f pelo utilizador Id: 8d2a6cf8-0a37-4587-af38-
69ee1bd6aa11 em 21/12/2023 11:09:37
2023-12-21 11:09:37.357 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 0cf02187-d166-47d6-bfc0-4358876a9f0f
2023-12-21 11:09:37.359 +00:00 [INF] Atualização dos dados do CRM ok - Id:0cf02187-
d166-47d6-bfc0-4358876a9f0f
2023-12-21 11:09:37.373 +00:00 [INF] Atualização dos dados do candidato ok -
Id:0cf02187-d166-47d6-bfc0-4358876a9f0f
2023-12-21 11:13:01.875 +00:00 [INF] Iniciado log da criação de candidato Joshua
Young pelo utilizador Id: dbf1504d-a957-4947-bcfd-8eeab9427ea6 em 21/12/2023
11:13:01
2023-12-21 11:13:01.937 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Name: Joshua Young
2023-12-21 11:13:02.074 +00:00 [INF] Criação do candidato ok - Id: 4412eae7-e937-
49ed-a297-3d6d7465fd01
2023-12-21 11:13:02.111 +00:00 [INF] Criação do crm do candidato ok - Id: 4412eae7-
e937-49ed-a297-3d6d7465fd01
2023-12-21 11:16:31.165 +00:00 [INF] Iniciado log da edição de candidato 11139bfb-
032a-44d1-8ddd-ab3dfca98f57 pelo utilizador Id: dbf1504d-a957-4947-bcfd-
8eeab9427ea6 em 21/12/2023 11:16:31
2023-12-21 11:16:31.212 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 11139bfb-032a-44d1-8ddd-ab3dfca98f57
2023-12-21 11:16:31.242 +00:00 [INF] Atualização dos dados do CRM ok - Id:11139bfb-
032a-44d1-8ddd-ab3dfca98f57
2023-12-21 11:16:31.262 +00:00 [INF] Atualização dos dados do candidato ok -
Id:11139bfb-032a-44d1-8ddd-ab3dfca98f57
2023-12-21 11:22:08.672 +00:00 [INF] Iniciado log da criação de candidato Victor
Boico pelo utilizador Id: dbf1504d-a957-4947-bcfd-8eeab9427ea6 em 21/12/2023
11:22:08
2023-12-21 11:22:08.717 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Name: Victor Boico
2023-12-21 11:22:08.805 +00:00 [INF] Criação do candidato ok - Id: 0b63661d-709a-
470b-ba76-f56224f739da
2023-12-21 11:22:08.816 +00:00 [INF] Criação do crm do candidato ok - Id: 0b63661d-
709a-470b-ba76-f56224f739da
2023-12-21 11:29:23.424 +00:00 [INF] Iniciado log da edição de candidato d87c2b1f-
3ced-4aa0-9d43-e3e34fb51717 pelo utilizador Id: bbf4470a-15d7-4a64-a8a0-
0bf8b7ac44b4 em 21/12/2023 11:29:23
2023-12-21 11:29:23.462 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: d87c2b1f-3ced-4aa0-9d43-e3e34fb51717
2023-12-21 11:29:23.464 +00:00 [INF] Atualização dos dados do CRM ok - Id:d87c2b1f-
3ced-4aa0-9d43-e3e34fb51717
2023-12-21 11:29:23.471 +00:00 [INF] Atualização dos dados do candidato ok -
Id:d87c2b1f-3ced-4aa0-9d43-e3e34fb51717
2023-12-21 11:32:27.754 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 11:34:01.729 +00:00 [INF] Iniciado log da edição de candidato 3d4f3b23-
0454-4f31-a3d8-20ddcc82e18a pelo utilizador Id: 8d2a6cf8-0a37-4587-af38-
69ee1bd6aa11 em 21/12/2023 11:34:01
2023-12-21 11:34:01.774 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 3d4f3b23-0454-4f31-a3d8-20ddcc82e18a
2023-12-21 11:34:01.777 +00:00 [INF] Atualização dos dados do CRM ok - Id:3d4f3b23-
0454-4f31-a3d8-20ddcc82e18a
2023-12-21 11:34:01.792 +00:00 [INF] Atualização dos dados do candidato ok -
Id:3d4f3b23-0454-4f31-a3d8-20ddcc82e18a
2023-12-21 11:36:55.187 +00:00 [INF] Iniciado log da edição de candidato 3d4f3b23-
0454-4f31-a3d8-20ddcc82e18a pelo utilizador Id: 8d2a6cf8-0a37-4587-af38-
69ee1bd6aa11 em 21/12/2023 11:36:55
2023-12-21 11:36:55.241 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 3d4f3b23-0454-4f31-a3d8-20ddcc82e18a
2023-12-21 11:36:55.244 +00:00 [INF] Atualização dos dados do CRM ok - Id:3d4f3b23-
0454-4f31-a3d8-20ddcc82e18a
2023-12-21 11:36:55.277 +00:00 [INF] Atualização dos dados do candidato ok -
Id:3d4f3b23-0454-4f31-a3d8-20ddcc82e18a
2023-12-21 11:37:24.739 +00:00 [INF] Iniciado log da edição de candidato 3d4f3b23-
0454-4f31-a3d8-20ddcc82e18a pelo utilizador Id: 8d2a6cf8-0a37-4587-af38-
69ee1bd6aa11 em 21/12/2023 11:37:24
2023-12-21 11:37:24.776 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 3d4f3b23-0454-4f31-a3d8-20ddcc82e18a
2023-12-21 11:37:24.777 +00:00 [INF] Atualização dos dados do CRM ok - Id:3d4f3b23-
0454-4f31-a3d8-20ddcc82e18a
2023-12-21 11:37:24.790 +00:00 [INF] Atualização dos dados do candidato ok -
Id:3d4f3b23-0454-4f31-a3d8-20ddcc82e18a
2023-12-21 11:37:47.202 +00:00 [INF] Get File by name: Proposal_Pt.pptx
2023-12-21 11:37:47.236 +00:00 [INF] FileName: Proposal_Pt.pptx; Virtual Path:
/candidateFinancialProposalModels/; Id: f3f0f0c4-d297-412c-850d-524ad2e18819
2023-12-21 11:37:47.236 +00:00 [INF] Path: D:\AGWEB\prod\
candidateFinancialProposalModels\f3f0f0c4-d297-412c-850d-524ad2e18819.pptx
2023-12-21 11:37:47.236 +00:00 [INF] Get File
2023-12-21 11:37:47.237 +00:00 [INF] ReadAllBytes
2023-12-21 11:37:47.240 +00:00 [INF] Convert file to memory stream
2023-12-21 11:37:47.241 +00:00 [INF] FileSize: 1458986
2023-12-21 11:38:15.927 +00:00 [INF] Iniciado log da edição de candidato 3d4f3b23-
0454-4f31-a3d8-20ddcc82e18a pelo utilizador Id: 8d2a6cf8-0a37-4587-af38-
69ee1bd6aa11 em 21/12/2023 11:38:15
2023-12-21 11:38:15.972 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 3d4f3b23-0454-4f31-a3d8-20ddcc82e18a
2023-12-21 11:38:15.975 +00:00 [INF] Atualização dos dados do CRM ok - Id:3d4f3b23-
0454-4f31-a3d8-20ddcc82e18a
2023-12-21 11:38:15.988 +00:00 [INF] Atualização dos dados do candidato ok -
Id:3d4f3b23-0454-4f31-a3d8-20ddcc82e18a
2023-12-21 11:39:14.827 +00:00 [INF] Iniciado log da criação de candidato Ivan
Lopes pelo utilizador Id: dbf1504d-a957-4947-bcfd-8eeab9427ea6 em 21/12/2023
11:39:14
2023-12-21 11:39:14.880 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Name: Ivan Lopes
2023-12-21 11:39:15.034 +00:00 [INF] Criação do candidato ok - Id: f33dba92-859a-
4e70-b9a5-0e124aa2e280
2023-12-21 11:39:15.046 +00:00 [INF] Criação do crm do candidato ok - Id: f33dba92-
859a-4e70-b9a5-0e124aa2e280
2023-12-21 11:41:07.999 +00:00 [INF] Iniciado log da edição de candidato 226452b4-
43e0-4b18-ad53-2efa436b2952 pelo utilizador Id: 8d2a6cf8-0a37-4587-af38-
69ee1bd6aa11 em 21/12/2023 11:41:07
2023-12-21 11:41:08.039 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 226452b4-43e0-4b18-ad53-2efa436b2952
2023-12-21 11:41:08.044 +00:00 [INF] Atualização dos dados do CRM ok - Id:226452b4-
43e0-4b18-ad53-2efa436b2952
2023-12-21 11:41:08.051 +00:00 [INF] Atualização dos dados do candidato ok -
Id:226452b4-43e0-4b18-ad53-2efa436b2952
2023-12-21 11:44:25.978 +00:00 [INF] Iniciado log da edição de candidato 226452b4-
43e0-4b18-ad53-2efa436b2952 pelo utilizador Id: 8d2a6cf8-0a37-4587-af38-
69ee1bd6aa11 em 21/12/2023 11:44:25
2023-12-21 11:44:26.015 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 226452b4-43e0-4b18-ad53-2efa436b2952
2023-12-21 11:44:26.017 +00:00 [INF] Atualização dos dados do CRM ok - Id:226452b4-
43e0-4b18-ad53-2efa436b2952
2023-12-21 11:44:26.029 +00:00 [INF] Atualização dos dados do candidato ok -
Id:226452b4-43e0-4b18-ad53-2efa436b2952
2023-12-21 11:45:30.314 +00:00 [INF] Iniciado log da edição de candidato 226452b4-
43e0-4b18-ad53-2efa436b2952 pelo utilizador Id: 8d2a6cf8-0a37-4587-af38-
69ee1bd6aa11 em 21/12/2023 11:45:30
2023-12-21 11:45:30.354 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 226452b4-43e0-4b18-ad53-2efa436b2952
2023-12-21 11:45:30.356 +00:00 [INF] Atualização dos dados do CRM ok - Id:226452b4-
43e0-4b18-ad53-2efa436b2952
2023-12-21 11:45:30.371 +00:00 [INF] Atualização dos dados do candidato ok -
Id:226452b4-43e0-4b18-ad53-2efa436b2952
2023-12-21 11:47:03.320 +00:00 [INF] Iniciado log da edição de candidato 226452b4-
43e0-4b18-ad53-2efa436b2952 pelo utilizador Id: 8d2a6cf8-0a37-4587-af38-
69ee1bd6aa11 em 21/12/2023 11:47:03
2023-12-21 11:47:03.357 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 226452b4-43e0-4b18-ad53-2efa436b2952
2023-12-21 11:47:03.359 +00:00 [INF] Atualização dos dados do CRM ok - Id:226452b4-
43e0-4b18-ad53-2efa436b2952
2023-12-21 11:47:03.373 +00:00 [INF] Atualização dos dados do candidato ok -
Id:226452b4-43e0-4b18-ad53-2efa436b2952
2023-12-21 11:47:29.227 +00:00 [INF] Get File by name: Proposal_Pt.pptx
2023-12-21 11:47:29.256 +00:00 [INF] FileName: Proposal_Pt.pptx; Virtual Path:
/candidateFinancialProposalModels/; Id: f3f0f0c4-d297-412c-850d-524ad2e18819
2023-12-21 11:47:29.256 +00:00 [INF] Path: D:\AGWEB\prod\
candidateFinancialProposalModels\f3f0f0c4-d297-412c-850d-524ad2e18819.pptx
2023-12-21 11:47:29.256 +00:00 [INF] Get File
2023-12-21 11:47:29.256 +00:00 [INF] ReadAllBytes
2023-12-21 11:47:29.259 +00:00 [INF] Convert file to memory stream
2023-12-21 11:47:29.261 +00:00 [INF] FileSize: 1458986
2023-12-21 11:50:10.131 +00:00 [INF] Get File by name: Proposal_Pt.pptx
2023-12-21 11:50:10.157 +00:00 [INF] FileName: Proposal_Pt.pptx; Virtual Path:
/candidateFinancialProposalModels/; Id: f3f0f0c4-d297-412c-850d-524ad2e18819
2023-12-21 11:50:10.157 +00:00 [INF] Path: D:\AGWEB\prod\
candidateFinancialProposalModels\f3f0f0c4-d297-412c-850d-524ad2e18819.pptx
2023-12-21 11:50:10.157 +00:00 [INF] Get File
2023-12-21 11:50:10.157 +00:00 [INF] ReadAllBytes
2023-12-21 11:50:10.159 +00:00 [INF] Convert file to memory stream
2023-12-21 11:50:10.160 +00:00 [INF] FileSize: 1458986
2023-12-21 11:53:36.421 +00:00 [INF] Iniciado log da edição de candidato 292de4f6-
65eb-43ca-8633-3e46ea0732cb pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 11:53:36
2023-12-21 11:53:36.458 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 292de4f6-65eb-43ca-8633-3e46ea0732cb
2023-12-21 11:53:36.482 +00:00 [INF] Atualização dos dados do CRM ok - Id:292de4f6-
65eb-43ca-8633-3e46ea0732cb
2023-12-21 11:53:36.499 +00:00 [INF] Atualização dos dados do candidato ok -
Id:292de4f6-65eb-43ca-8633-3e46ea0732cb
2023-12-21 11:54:12.435 +00:00 [INF] Iniciado log da edição de candidato 292de4f6-
65eb-43ca-8633-3e46ea0732cb pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 11:54:12
2023-12-21 11:54:12.476 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 292de4f6-65eb-43ca-8633-3e46ea0732cb
2023-12-21 11:54:12.479 +00:00 [INF] Atualização dos dados do CRM ok - Id:292de4f6-
65eb-43ca-8633-3e46ea0732cb
2023-12-21 11:54:12.493 +00:00 [INF] Atualização dos dados do candidato ok -
Id:292de4f6-65eb-43ca-8633-3e46ea0732cb
2023-12-21 11:55:51.867 +00:00 [INF] Iniciado log da criação de candidato Marcio
Gabriel Vaz pelo utilizador Id: dbf1504d-a957-4947-bcfd-8eeab9427ea6 em 21/12/2023
11:55:51
2023-12-21 11:55:51.904 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Name: Marcio Gabriel Vaz
2023-12-21 11:55:52.066 +00:00 [INF] Criação do candidato ok - Id: c81a0825-0383-
45ca-b2af-2391c284079f
2023-12-21 11:55:52.074 +00:00 [INF] Criação do crm do candidato ok - Id: c81a0825-
0383-45ca-b2af-2391c284079f
2023-12-21 11:57:55.815 +00:00 [INF] Iniciado log da edição de candidato 292de4f6-
65eb-43ca-8633-3e46ea0732cb pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 11:57:55
2023-12-21 11:57:55.860 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 292de4f6-65eb-43ca-8633-3e46ea0732cb
2023-12-21 11:57:55.862 +00:00 [INF] Atualização dos dados do CRM ok - Id:292de4f6-
65eb-43ca-8633-3e46ea0732cb
2023-12-21 11:57:55.914 +00:00 [INF] Atualização dos dados do candidato ok -
Id:292de4f6-65eb-43ca-8633-3e46ea0732cb
2023-12-21 11:59:01.389 +00:00 [INF] Iniciado log da edição de candidato 292de4f6-
65eb-43ca-8633-3e46ea0732cb pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 11:59:01
2023-12-21 11:59:01.433 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 292de4f6-65eb-43ca-8633-3e46ea0732cb
2023-12-21 11:59:01.435 +00:00 [INF] Atualização dos dados do CRM ok - Id:292de4f6-
65eb-43ca-8633-3e46ea0732cb
2023-12-21 11:59:01.447 +00:00 [INF] Atualização dos dados do candidato ok -
Id:292de4f6-65eb-43ca-8633-3e46ea0732cb
2023-12-21 11:59:09.416 +00:00 [ERR] An exception occurred while iterating over the
results of a query for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property
cannot be called on Null values.
at Microsoft.Data.SqlClient.SqlBuffer.get_Guid()
at Microsoft.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at lambda_method7644(Closure , QueryContext , DbDataReader , ResultContext ,
SingleQueryResultCoordinator )
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumer
ator.MoveNextAsync()
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property
cannot be called on Null values.
at Microsoft.Data.SqlClient.SqlBuffer.get_Guid()
at Microsoft.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at lambda_method7644(Closure , QueryContext , DbDataReader , ResultContext ,
SingleQueryResultCoordinator )
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumer
ator.MoveNextAsync()
2023-12-21 12:20:43.465 +00:00 [INF] Path: D:\AGWEB\prod\candidate\67f42f72-b04d-
4e92-8944-220258dbac37.pptx
2023-12-21 12:20:43.465 +00:00 [INF] Get File
2023-12-21 12:20:43.499 +00:00 [INF] ReadAllBytes
2023-12-21 12:21:21.616 +00:00 [INF] Iniciado log da criação de candidato Gabriel
Sanzone pelo utilizador Id: 1466c06b-cc5a-408b-936f-bc8d13f30997 em 21/12/2023
12:21:21
2023-12-21 12:21:21.656 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Name: Gabriel Sanzone
2023-12-21 12:21:21.739 +00:00 [INF] Criação do candidato ok - Id: aa624808-492d-
470d-ac67-2ea1c3c9239e
2023-12-21 12:21:21.751 +00:00 [INF] Criação do crm do candidato ok - Id: aa624808-
492d-470d-ac67-2ea1c3c9239e
2023-12-21 12:25:02.988 +00:00 [INF] Iniciado log da criação de candidato Eric do
Carmo Barbosa pelo utilizador Id: a6546a5f-6d00-4bf3-93ed-78de79d2d708 em
21/12/2023 12:25:02
2023-12-21 12:25:03.029 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Name: Eric do Carmo Barbosa
2023-12-21 12:25:03.115 +00:00 [INF] Criação do candidato ok - Id: d75c12d0-48e0-
480c-a7a0-384e370dd3f4
2023-12-21 12:25:03.124 +00:00 [INF] Criação do crm do candidato ok - Id: d75c12d0-
48e0-480c-a7a0-384e370dd3f4
2023-12-21 12:25:41.910 +00:00 [ERR] An exception occurred while iterating over the
results of a query for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property
cannot be called on Null values.
at Microsoft.Data.SqlClient.SqlBuffer.get_Guid()
at Microsoft.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at lambda_method7644(Closure , QueryContext , DbDataReader , ResultContext ,
SingleQueryResultCoordinator )
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumer
ator.MoveNextAsync()
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property
cannot be called on Null values.
at Microsoft.Data.SqlClient.SqlBuffer.get_Guid()
at Microsoft.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at lambda_method7644(Closure , QueryContext , DbDataReader , ResultContext ,
SingleQueryResultCoordinator )
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumer
ator.MoveNextAsync()
2023-12-21 12:27:47.365 +00:00 [INF] Iniciado log da edição de candidato d87c2b1f-
3ced-4aa0-9d43-e3e34fb51717 pelo utilizador Id: bbf4470a-15d7-4a64-a8a0-
0bf8b7ac44b4 em 21/12/2023 12:27:47
2023-12-21 12:27:47.408 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: d87c2b1f-3ced-4aa0-9d43-e3e34fb51717
2023-12-21 12:27:47.411 +00:00 [INF] Atualização dos dados do CRM ok - Id:d87c2b1f-
3ced-4aa0-9d43-e3e34fb51717
2023-12-21 12:27:47.421 +00:00 [INF] Atualização dos dados do candidato ok -
Id:d87c2b1f-3ced-4aa0-9d43-e3e34fb51717
2023-12-21 12:32:31.769 +00:00 [INF] Iniciado log da edição de candidato d87c2b1f-
3ced-4aa0-9d43-e3e34fb51717 pelo utilizador Id: bbf4470a-15d7-4a64-a8a0-
0bf8b7ac44b4 em 21/12/2023 12:32:31
2023-12-21 12:32:31.813 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: d87c2b1f-3ced-4aa0-9d43-e3e34fb51717
2023-12-21 12:32:31.815 +00:00 [INF] Atualização dos dados do CRM ok - Id:d87c2b1f-
3ced-4aa0-9d43-e3e34fb51717
2023-12-21 12:32:31.825 +00:00 [INF] Atualização dos dados do candidato ok -
Id:d87c2b1f-3ced-4aa0-9d43-e3e34fb51717
2023-12-21 12:32:47.792 +00:00 [INF] Iniciado log da edição de candidato d87c2b1f-
3ced-4aa0-9d43-e3e34fb51717 pelo utilizador Id: bbf4470a-15d7-4a64-a8a0-
0bf8b7ac44b4 em 21/12/2023 12:32:47
2023-12-21 12:32:47.831 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: d87c2b1f-3ced-4aa0-9d43-e3e34fb51717
2023-12-21 12:32:47.832 +00:00 [INF] Atualização dos dados do CRM ok - Id:d87c2b1f-
3ced-4aa0-9d43-e3e34fb51717
2023-12-21 12:32:47.841 +00:00 [INF] Atualização dos dados do candidato ok -
Id:d87c2b1f-3ced-4aa0-9d43-e3e34fb51717
2023-12-21 12:39:47.394 +00:00 [INF] Iniciado log da edição de candidato cb622c57-
8b25-4d2c-a710-2138d2f40915 pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 12:39:47
2023-12-21 12:39:47.434 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: cb622c57-8b25-4d2c-a710-2138d2f40915
2023-12-21 12:39:47.437 +00:00 [INF] Atualização dos dados do CRM ok - Id:cb622c57-
8b25-4d2c-a710-2138d2f40915
2023-12-21 12:39:47.445 +00:00 [INF] Atualização dos dados do candidato ok -
Id:cb622c57-8b25-4d2c-a710-2138d2f40915
2023-12-21 12:45:16.367 +00:00 [INF] Start processing HTTP request POST
"https://acesso.integer.pt//api/login"
2023-12-21 12:45:16.367 +00:00 [INF] Sending HTTP request POST
"https://acesso.integer.pt//api/login"
2023-12-21 12:45:17.004 +00:00 [INF] Received HTTP response headers after
637.1615ms - 200
2023-12-21 12:45:17.005 +00:00 [INF] End processing HTTP request after 637.6306ms -
200
2023-12-21 12:45:17.006 +00:00 [INF] Start processing HTTP request POST
"https://acesso.integer.pt//api/photoUser"
2023-12-21 12:45:17.006 +00:00 [INF] Sending HTTP request POST
"https://acesso.integer.pt//api/photoUser"
2023-12-21 12:45:17.125 +00:00 [INF] Received HTTP response headers after
118.6375ms - 200
2023-12-21 12:45:17.125 +00:00 [INF] End processing HTTP request after 119.1625ms -
200
2023-12-21 12:47:31.546 +00:00 [INF] Iniciado log da edição de candidato 5fe707f8-
7481-4d6d-b340-3f67d93cfc9f pelo utilizador Id: bbf4470a-15d7-4a64-a8a0-
0bf8b7ac44b4 em 21/12/2023 12:47:31
2023-12-21 12:47:31.589 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 5fe707f8-7481-4d6d-b340-3f67d93cfc9f
2023-12-21 12:47:31.613 +00:00 [INF] Atualização dos dados do CRM ok - Id:5fe707f8-
7481-4d6d-b340-3f67d93cfc9f
2023-12-21 12:47:31.632 +00:00 [INF] Atualização dos dados do candidato ok -
Id:5fe707f8-7481-4d6d-b340-3f67d93cfc9f
2023-12-21 12:48:07.535 +00:00 [INF] Iniciado log da edição de candidato 5fe707f8-
7481-4d6d-b340-3f67d93cfc9f pelo utilizador Id: bbf4470a-15d7-4a64-a8a0-
0bf8b7ac44b4 em 21/12/2023 12:48:07
2023-12-21 12:48:07.578 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 5fe707f8-7481-4d6d-b340-3f67d93cfc9f
2023-12-21 12:48:07.580 +00:00 [INF] Atualização dos dados do CRM ok - Id:5fe707f8-
7481-4d6d-b340-3f67d93cfc9f
2023-12-21 12:48:07.595 +00:00 [INF] Atualização dos dados do candidato ok -
Id:5fe707f8-7481-4d6d-b340-3f67d93cfc9f
2023-12-21 12:59:28.874 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 13:11:02.950 +00:00 [INF] Iniciado log da edição de candidato c81a0825-
0383-45ca-b2af-2391c284079f pelo utilizador Id: dbf1504d-a957-4947-bcfd-
8eeab9427ea6 em 21/12/2023 01:11:02
2023-12-21 13:11:02.989 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: c81a0825-0383-45ca-b2af-2391c284079f
2023-12-21 13:11:02.991 +00:00 [INF] Atualização dos dados do CRM ok - Id:c81a0825-
0383-45ca-b2af-2391c284079f
2023-12-21 13:11:02.999 +00:00 [INF] Atualização dos dados do candidato ok -
Id:c81a0825-0383-45ca-b2af-2391c284079f
2023-12-21 13:41:11.363 +00:00 [INF] Application is shutting down...
2023-12-21 14:12:01.470 +00:00 [INF] Application started. Press Ctrl+C to shut
down.
2023-12-21 14:12:01.525 +00:00 [INF] Hosting environment: Production
2023-12-21 14:12:01.526 +00:00 [INF] Content root path: C:\inetpub\wwwroot\agweb-
prod-back
2023-12-21 14:12:08.821 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 14:23:19.668 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 14:23:45.007 +00:00 [INF] Iniciado log da edição de candidato cb622c57-
8b25-4d2c-a710-2138d2f40915 pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 02:23:45
2023-12-21 14:23:45.369 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: cb622c57-8b25-4d2c-a710-2138d2f40915
2023-12-21 14:23:45.546 +00:00 [INF] Atualização dos dados do CRM ok - Id:cb622c57-
8b25-4d2c-a710-2138d2f40915
2023-12-21 14:23:45.824 +00:00 [INF] Atualização dos dados do candidato ok -
Id:cb622c57-8b25-4d2c-a710-2138d2f40915
2023-12-21 14:24:11.646 +00:00 [INF] Iniciado log da edição de candidato cb622c57-
8b25-4d2c-a710-2138d2f40915 pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 02:24:11
2023-12-21 14:24:11.686 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: cb622c57-8b25-4d2c-a710-2138d2f40915
2023-12-21 14:24:11.690 +00:00 [INF] Atualização dos dados do CRM ok - Id:cb622c57-
8b25-4d2c-a710-2138d2f40915
2023-12-21 14:24:11.701 +00:00 [INF] Atualização dos dados do candidato ok -
Id:cb622c57-8b25-4d2c-a710-2138d2f40915
2023-12-21 14:25:47.097 +00:00 [INF] Iniciado log da edição de candidato cb622c57-
8b25-4d2c-a710-2138d2f40915 pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 02:25:47
2023-12-21 14:25:47.140 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: cb622c57-8b25-4d2c-a710-2138d2f40915
2023-12-21 14:25:47.148 +00:00 [INF] Atualização dos dados do CRM ok - Id:cb622c57-
8b25-4d2c-a710-2138d2f40915
2023-12-21 14:25:47.158 +00:00 [INF] Atualização dos dados do candidato ok -
Id:cb622c57-8b25-4d2c-a710-2138d2f40915
2023-12-21 14:26:07.062 +00:00 [INF] Iniciado log da edição de candidato cb622c57-
8b25-4d2c-a710-2138d2f40915 pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 02:26:07
2023-12-21 14:26:07.121 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: cb622c57-8b25-4d2c-a710-2138d2f40915
2023-12-21 14:26:07.126 +00:00 [INF] Atualização dos dados do CRM ok - Id:cb622c57-
8b25-4d2c-a710-2138d2f40915
2023-12-21 14:26:07.136 +00:00 [INF] Atualização dos dados do candidato ok -
Id:cb622c57-8b25-4d2c-a710-2138d2f40915
2023-12-21 14:26:24.537 +00:00 [INF] Iniciado log da edição de candidato cb622c57-
8b25-4d2c-a710-2138d2f40915 pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 02:26:24
2023-12-21 14:26:24.595 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: cb622c57-8b25-4d2c-a710-2138d2f40915
2023-12-21 14:26:24.603 +00:00 [INF] Atualização dos dados do CRM ok - Id:cb622c57-
8b25-4d2c-a710-2138d2f40915
2023-12-21 14:26:24.614 +00:00 [INF] Atualização dos dados do candidato ok -
Id:cb622c57-8b25-4d2c-a710-2138d2f40915
2023-12-21 14:37:05.679 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 14:37:23.769 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 14:37:46.176 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 14:37:51.381 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 14:38:02.618 +00:00 [WRN] The query uses the 'Distinct' operator after
applying an ordering. If there are any row limiting operation used before
'Distinct' and after ordering then ordering will be used for it. Ordering(s) will
be erased after 'Distinct' and results afterwards would be unordered.
2023-12-21 14:39:43.816 +00:00 [INF] Iniciado log da criação de candidato Amon
Peres pelo utilizador Id: a6546a5f-6d00-4bf3-93ed-78de79d2d708 em 21/12/2023
02:39:43
2023-12-21 14:39:43.884 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Name: Amon Peres
2023-12-21 14:39:43.982 +00:00 [INF] Criação do candidato ok - Id: 64066893-194c-
416f-8514-3bed20b8cd7b
2023-12-21 14:39:44.013 +00:00 [INF] Criação do crm do candidato ok - Id: 64066893-
194c-416f-8514-3bed20b8cd7b
2023-12-21 14:42:04.731 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 14:42:05.538 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 14:42:05.641 +00:00 [ERR] An exception occurred while iterating over the
results of a query for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property
cannot be called on Null values.
at Microsoft.Data.SqlClient.SqlBuffer.get_Guid()
at Microsoft.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at lambda_method14059(Closure , QueryContext , DbDataReader , ResultContext ,
SingleQueryResultCoordinator )
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumer
ator.MoveNextAsync()
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property
cannot be called on Null values.
at Microsoft.Data.SqlClient.SqlBuffer.get_Guid()
at Microsoft.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at lambda_method14059(Closure , QueryContext , DbDataReader , ResultContext ,
SingleQueryResultCoordinator )
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumer
ator.MoveNextAsync()
2023-12-21 14:44:51.049 +00:00 [INF] Iniciado log da edição de candidato d5cbbca9-
1ebc-4a0b-b0f8-5868b460d716 pelo utilizador Id: a6546a5f-6d00-4bf3-93ed-
78de79d2d708 em 21/12/2023 02:44:51
2023-12-21 14:44:51.095 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: d5cbbca9-1ebc-4a0b-b0f8-5868b460d716
2023-12-21 14:44:51.122 +00:00 [INF] Atualização dos dados do CRM ok - Id:d5cbbca9-
1ebc-4a0b-b0f8-5868b460d716
2023-12-21 14:44:51.140 +00:00 [INF] Atualização dos dados do candidato ok -
Id:d5cbbca9-1ebc-4a0b-b0f8-5868b460d716
2023-12-21 14:51:29.467 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 14:52:16.065 +00:00 [INF] Iniciado log da criação de candidato Vasco
Ferreira pelo utilizador Id: 90e26e4a-6a31-4698-939d-69ca27120f68 em 21/12/2023
02:52:16
2023-12-21 14:52:16.110 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Name: Vasco Ferreira
2023-12-21 14:52:16.170 +00:00 [INF] Criação do candidato ok - Id: 4ec3b531-239f-
45a0-9f26-1ba010a16399
2023-12-21 14:54:56.855 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 14:57:35.010 +00:00 [INF] Iniciado log da edição de candidato 8c371b8c-
8316-424d-88c8-64bd94a518f3 pelo utilizador Id: bbf4470a-15d7-4a64-a8a0-
0bf8b7ac44b4 em 21/12/2023 02:57:35
2023-12-21 14:57:35.052 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 8c371b8c-8316-424d-88c8-64bd94a518f3
2023-12-21 14:57:35.053 +00:00 [INF] Atualização dos dados do CRM ok - Id:8c371b8c-
8316-424d-88c8-64bd94a518f3
2023-12-21 14:57:35.060 +00:00 [INF] Atualização dos dados do candidato ok -
Id:8c371b8c-8316-424d-88c8-64bd94a518f3
2023-12-21 14:59:01.439 +00:00 [INF] Iniciado log da edição de candidato 8c371b8c-
8316-424d-88c8-64bd94a518f3 pelo utilizador Id: bbf4470a-15d7-4a64-a8a0-
0bf8b7ac44b4 em 21/12/2023 02:59:01
2023-12-21 14:59:01.484 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 8c371b8c-8316-424d-88c8-64bd94a518f3
2023-12-21 14:59:01.513 +00:00 [INF] Atualização dos dados do CRM ok - Id:8c371b8c-
8316-424d-88c8-64bd94a518f3
2023-12-21 14:59:01.526 +00:00 [INF] Atualização dos dados do candidato ok -
Id:8c371b8c-8316-424d-88c8-64bd94a518f3
2023-12-21 15:01:34.157 +00:00 [INF] Path: D:\AGWEB\prod\candidate\004f4970-9bd1-
42bf-bfa5-ab160537300e.pptx
2023-12-21 15:01:34.157 +00:00 [INF] Get File
2023-12-21 15:01:34.182 +00:00 [INF] ReadAllBytes
2023-12-21 15:03:53.729 +00:00 [INF] Iniciado log da edição de candidato 8c371b8c-
8316-424d-88c8-64bd94a518f3 pelo utilizador Id: bbf4470a-15d7-4a64-a8a0-
0bf8b7ac44b4 em 21/12/2023 03:03:53
2023-12-21 15:03:53.769 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 8c371b8c-8316-424d-88c8-64bd94a518f3
2023-12-21 15:03:53.773 +00:00 [INF] Atualização dos dados do CRM ok - Id:8c371b8c-
8316-424d-88c8-64bd94a518f3
2023-12-21 15:03:53.785 +00:00 [INF] Atualização dos dados do candidato ok -
Id:8c371b8c-8316-424d-88c8-64bd94a518f3
2023-12-21 15:20:24.810 +00:00 [INF] Iniciado log da edição de candidato cf02be07-
efff-4826-bd51-fa437d52af67 pelo utilizador Id: 2df65b6a-31b8-4587-85b9-
f626be073e03 em 21/12/2023 03:20:24
2023-12-21 15:20:24.989 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: cf02be07-efff-4826-bd51-fa437d52af67
2023-12-21 15:20:24.991 +00:00 [INF] Atualização dos dados do CRM ok - Id:cf02be07-
efff-4826-bd51-fa437d52af67
2023-12-21 15:20:25.018 +00:00 [INF] Atualização dos dados do candidato ok -
Id:cf02be07-efff-4826-bd51-fa437d52af67
2023-12-21 15:24:01.049 +00:00 [INF] Iniciado log da criação de candidato David
Temudo pelo utilizador Id: bbf4470a-15d7-4a64-a8a0-0bf8b7ac44b4 em 21/12/2023
03:24:01
2023-12-21 15:24:01.091 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Name: David Temudo
2023-12-21 15:24:01.163 +00:00 [INF] Criação do candidato ok - Id: c6a02e5b-7f1b-
4952-ae7e-8f95b3eaefd4
2023-12-21 15:24:39.553 +00:00 [INF] Iniciado log da edição de candidato c6a02e5b-
7f1b-4952-ae7e-8f95b3eaefd4 pelo utilizador Id: bbf4470a-15d7-4a64-a8a0-
0bf8b7ac44b4 em 21/12/2023 03:24:39
2023-12-21 15:24:39.597 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: c6a02e5b-7f1b-4952-ae7e-8f95b3eaefd4
2023-12-21 15:24:39.623 +00:00 [INF] Atualização dos dados do CRM ok - Id:c6a02e5b-
7f1b-4952-ae7e-8f95b3eaefd4
2023-12-21 15:24:39.637 +00:00 [INF] Atualização dos dados do candidato ok -
Id:c6a02e5b-7f1b-4952-ae7e-8f95b3eaefd4
2023-12-21 15:37:21.904 +00:00 [INF] Iniciado log da edição de candidato 4ec3b531-
239f-45a0-9f26-1ba010a16399 pelo utilizador Id: 90e26e4a-6a31-4698-939d-
69ca27120f68 em 21/12/2023 03:37:21
2023-12-21 15:37:21.951 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 4ec3b531-239f-45a0-9f26-1ba010a16399
2023-12-21 15:37:21.976 +00:00 [INF] Atualização dos dados do CRM ok - Id:4ec3b531-
239f-45a0-9f26-1ba010a16399
2023-12-21 15:37:21.988 +00:00 [INF] Atualização dos dados do candidato ok -
Id:4ec3b531-239f-45a0-9f26-1ba010a16399
2023-12-21 15:38:14.131 +00:00 [INF] Iniciado log da edição de candidato c9a83a55-
7128-472e-9437-5bae28c0c87a pelo utilizador Id: 8de69d5a-c5b6-4cd5-bebf-
ee69fb41390c em 21/12/2023 03:38:14
2023-12-21 15:38:14.193 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: c9a83a55-7128-472e-9437-5bae28c0c87a
2023-12-21 15:38:14.219 +00:00 [INF] Atualização dos dados do CRM ok - Id:c9a83a55-
7128-472e-9437-5bae28c0c87a
2023-12-21 15:38:14.271 +00:00 [INF] Atualização dos dados do candidato ok -
Id:c9a83a55-7128-472e-9437-5bae28c0c87a
2023-12-21 15:38:22.674 +00:00 [INF] Iniciado log da edição de candidato 4ec3b531-
239f-45a0-9f26-1ba010a16399 pelo utilizador Id: 90e26e4a-6a31-4698-939d-
69ca27120f68 em 21/12/2023 03:38:22
2023-12-21 15:38:22.723 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 4ec3b531-239f-45a0-9f26-1ba010a16399
2023-12-21 15:38:22.726 +00:00 [INF] Atualização dos dados do CRM ok - Id:4ec3b531-
239f-45a0-9f26-1ba010a16399
2023-12-21 15:38:22.738 +00:00 [INF] Atualização dos dados do candidato ok -
Id:4ec3b531-239f-45a0-9f26-1ba010a16399
2023-12-21 15:39:13.424 +00:00 [INF] Iniciado log da edição de candidato 9d1e5f48-
99a4-494a-affd-587401edaee8 pelo utilizador Id: c1225b58-88a0-422c-8b2c-
06623f465af8 em 21/12/2023 03:39:13
2023-12-21 15:39:13.469 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 9d1e5f48-99a4-494a-affd-587401edaee8
2023-12-21 15:39:13.472 +00:00 [INF] Atualização dos dados do CRM ok - Id:9d1e5f48-
99a4-494a-affd-587401edaee8
2023-12-21 15:39:13.484 +00:00 [INF] Atualização dos dados do candidato ok -
Id:9d1e5f48-99a4-494a-affd-587401edaee8
2023-12-21 15:40:13.800 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 15:42:25.163 +00:00 [INF] Iniciado log da criação de candidato João
Livio pelo utilizador Id: 8de69d5a-c5b6-4cd5-bebf-ee69fb41390c em 21/12/2023
03:42:25
2023-12-21 15:42:25.206 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Name: João Livio
2023-12-21 15:42:25.303 +00:00 [INF] Criação do candidato ok - Id: 048e141c-a7d2-
46c8-82e4-f376a70f2b12
2023-12-21 15:42:25.316 +00:00 [INF] Criação do crm do candidato ok - Id: 048e141c-
a7d2-46c8-82e4-f376a70f2b12
2023-12-21 15:45:22.902 +00:00 [INF] Iniciado log da criação de candidato Cristian
Maillard pelo utilizador Id: 2d44190c-d2d2-408c-88e1-d04d2b06cb41 em 21/12/2023
03:45:22
2023-12-21 15:45:22.946 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Name: Cristian Maillard
2023-12-21 15:45:23.026 +00:00 [INF] Criação do candidato ok - Id: 0c1cc70f-b8aa-
49e7-8448-5412659254e2
2023-12-21 15:46:18.655 +00:00 [INF] Iniciado log da edição de candidato 0c1cc70f-
b8aa-49e7-8448-5412659254e2 pelo utilizador Id: 2d44190c-d2d2-408c-88e1-
d04d2b06cb41 em 21/12/2023 03:46:18
2023-12-21 15:46:18.696 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 0c1cc70f-b8aa-49e7-8448-5412659254e2
2023-12-21 15:46:18.727 +00:00 [INF] Atualização dos dados do CRM ok - Id:0c1cc70f-
b8aa-49e7-8448-5412659254e2
2023-12-21 15:46:18.742 +00:00 [INF] Atualização dos dados do candidato ok -
Id:0c1cc70f-b8aa-49e7-8448-5412659254e2
2023-12-21 15:46:45.593 +00:00 [INF] Iniciado log da edição de candidato 0c1cc70f-
b8aa-49e7-8448-5412659254e2 pelo utilizador Id: 2d44190c-d2d2-408c-88e1-
d04d2b06cb41 em 21/12/2023 03:46:45
2023-12-21 15:46:45.637 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 0c1cc70f-b8aa-49e7-8448-5412659254e2
2023-12-21 15:46:45.666 +00:00 [INF] Atualização dos dados do CRM ok - Id:0c1cc70f-
b8aa-49e7-8448-5412659254e2
2023-12-21 15:46:45.681 +00:00 [INF] Atualização dos dados do candidato ok -
Id:0c1cc70f-b8aa-49e7-8448-5412659254e2
2023-12-21 15:48:38.521 +00:00 [INF] Iniciado log da edição de candidato c9a83a55-
7128-472e-9437-5bae28c0c87a pelo utilizador Id: 8de69d5a-c5b6-4cd5-bebf-
ee69fb41390c em 21/12/2023 03:48:38
2023-12-21 15:48:38.572 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: c9a83a55-7128-472e-9437-5bae28c0c87a
2023-12-21 15:48:38.574 +00:00 [INF] Atualização dos dados do CRM ok - Id:c9a83a55-
7128-472e-9437-5bae28c0c87a
2023-12-21 15:48:38.583 +00:00 [INF] Atualização dos dados do candidato ok -
Id:c9a83a55-7128-472e-9437-5bae28c0c87a
2023-12-21 16:06:01.797 +00:00 [INF] Iniciado log da edição de candidato 8c371b8c-
8316-424d-88c8-64bd94a518f3 pelo utilizador Id: bbf4470a-15d7-4a64-a8a0-
0bf8b7ac44b4 em 21/12/2023 04:06:01
2023-12-21 16:06:01.843 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 8c371b8c-8316-424d-88c8-64bd94a518f3
2023-12-21 16:06:01.845 +00:00 [INF] Atualização dos dados do CRM ok - Id:8c371b8c-
8316-424d-88c8-64bd94a518f3
2023-12-21 16:06:01.852 +00:00 [INF] Atualização dos dados do candidato ok -
Id:8c371b8c-8316-424d-88c8-64bd94a518f3
2023-12-21 16:06:20.783 +00:00 [INF] Path: D:\AGWEB\prod\candidate\004f4970-9bd1-
42bf-bfa5-ab160537300e.pptx
2023-12-21 16:06:20.783 +00:00 [INF] Get File
2023-12-21 16:06:20.805 +00:00 [INF] ReadAllBytes
2023-12-21 16:07:53.247 +00:00 [WRN] The query uses the 'Distinct' operator after
applying an ordering. If there are any row limiting operation used before
'Distinct' and after ordering then ordering will be used for it. Ordering(s) will
be erased after 'Distinct' and results afterwards would be unordered.
2023-12-21 16:19:08.199 +00:00 [INF] Iniciado log da edição de candidato cf02be07-
efff-4826-bd51-fa437d52af67 pelo utilizador Id: 2df65b6a-31b8-4587-85b9-
f626be073e03 em 21/12/2023 04:19:08
2023-12-21 16:19:08.244 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: cf02be07-efff-4826-bd51-fa437d52af67
2023-12-21 16:19:08.246 +00:00 [INF] Atualização dos dados do CRM ok - Id:cf02be07-
efff-4826-bd51-fa437d52af67
2023-12-21 16:19:08.253 +00:00 [INF] Atualização dos dados do candidato ok -
Id:cf02be07-efff-4826-bd51-fa437d52af67
2023-12-21 16:26:57.078 +00:00 [INF] Path: D:\AGWEB\prod\candidate\004f4970-9bd1-
42bf-bfa5-ab160537300e.pptx
2023-12-21 16:26:57.078 +00:00 [INF] Get File
2023-12-21 16:26:57.100 +00:00 [INF] ReadAllBytes
2023-12-21 16:30:38.847 +00:00 [INF] Iniciado log da edição de candidato 8c371b8c-
8316-424d-88c8-64bd94a518f3 pelo utilizador Id: bbf4470a-15d7-4a64-a8a0-
0bf8b7ac44b4 em 21/12/2023 04:30:38
2023-12-21 16:30:38.893 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 8c371b8c-8316-424d-88c8-64bd94a518f3
2023-12-21 16:30:38.895 +00:00 [INF] Atualização dos dados do CRM ok - Id:8c371b8c-
8316-424d-88c8-64bd94a518f3
2023-12-21 16:30:38.903 +00:00 [INF] Atualização dos dados do candidato ok -
Id:8c371b8c-8316-424d-88c8-64bd94a518f3
2023-12-21 16:32:04.956 +00:00 [INF] Iniciado log da criação de candidato Andreia
Tavares pelo utilizador Id: 032e2dbc-2f78-4d8f-9683-2ea71e17e14b em 21/12/2023
04:32:04
2023-12-21 16:32:04.998 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Name: Andreia Tavares
2023-12-21 16:32:05.074 +00:00 [INF] Criação do candidato ok - Id: 89c13ae3-430a-
4b58-93e6-b1e1d00bd105
2023-12-21 16:47:26.660 +00:00 [INF] Iniciado log da edição de candidato 4dee958a-
ccd9-41af-846f-65685af46a55 pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 04:47:26
2023-12-21 16:47:26.704 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 4dee958a-ccd9-41af-846f-65685af46a55
2023-12-21 16:47:26.706 +00:00 [INF] Atualização dos dados do CRM ok - Id:4dee958a-
ccd9-41af-846f-65685af46a55
2023-12-21 16:47:26.720 +00:00 [INF] Atualização dos dados do candidato ok -
Id:4dee958a-ccd9-41af-846f-65685af46a55
2023-12-21 16:49:14.470 +00:00 [INF] Path: D:\AGWEB\prod\order\d229d99d-4c96-4e61-
96db-e2bfb3fb18f8.pptx
2023-12-21 16:49:14.470 +00:00 [INF] Get File
2023-12-21 16:49:14.668 +00:00 [INF] ReadAllBytes
2023-12-21 16:52:35.495 +00:00 [INF] Iniciado log da edição de candidato 4dee958a-
ccd9-41af-846f-65685af46a55 pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 04:52:35
2023-12-21 16:52:35.539 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 4dee958a-ccd9-41af-846f-65685af46a55
2023-12-21 16:52:35.564 +00:00 [INF] Atualização dos dados do CRM ok - Id:4dee958a-
ccd9-41af-846f-65685af46a55
2023-12-21 16:52:35.584 +00:00 [INF] Atualização dos dados do candidato ok -
Id:4dee958a-ccd9-41af-846f-65685af46a55
2023-12-21 16:52:46.020 +00:00 [INF] Iniciado log da edição de candidato 89c13ae3-
430a-4b58-93e6-b1e1d00bd105 pelo utilizador Id: 032e2dbc-2f78-4d8f-9683-
2ea71e17e14b em 21/12/2023 04:52:46
2023-12-21 16:52:46.058 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 89c13ae3-430a-4b58-93e6-b1e1d00bd105
2023-12-21 16:52:46.083 +00:00 [INF] Atualização dos dados do CRM ok - Id:89c13ae3-
430a-4b58-93e6-b1e1d00bd105
2023-12-21 16:52:46.091 +00:00 [INF] Atualização dos dados do candidato ok -
Id:89c13ae3-430a-4b58-93e6-b1e1d00bd105
2023-12-21 16:53:05.517 +00:00 [INF] Iniciado log da edição de candidato 4dee958a-
ccd9-41af-846f-65685af46a55 pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 04:53:05
2023-12-21 16:53:05.555 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 4dee958a-ccd9-41af-846f-65685af46a55
2023-12-21 16:53:05.557 +00:00 [INF] Atualização dos dados do CRM ok - Id:4dee958a-
ccd9-41af-846f-65685af46a55
2023-12-21 16:53:05.577 +00:00 [INF] Atualização dos dados do candidato ok -
Id:4dee958a-ccd9-41af-846f-65685af46a55
2023-12-21 16:53:13.743 +00:00 [INF] Iniciado log da edição de candidato 4dee958a-
ccd9-41af-846f-65685af46a55 pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 04:53:13
2023-12-21 16:53:13.782 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 4dee958a-ccd9-41af-846f-65685af46a55
2023-12-21 16:53:13.784 +00:00 [INF] Atualização dos dados do CRM ok - Id:4dee958a-
ccd9-41af-846f-65685af46a55
2023-12-21 16:53:13.795 +00:00 [INF] Atualização dos dados do candidato ok -
Id:4dee958a-ccd9-41af-846f-65685af46a55
2023-12-21 16:56:37.440 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 17:03:56.568 +00:00 [ERR] An exception occurred in the database while
saving changes for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:f70e43bc-67fd-40db-be3d-0e2e6b67b2d7
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:f70e43bc-67fd-40db-be3d-0e2e6b67b2d7
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
2023-12-21 17:05:15.429 +00:00 [ERR] An exception occurred in the database while
saving changes for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:3b2e6487-c5ea-4eb8-8f66-6d9c4c9142c2
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:3b2e6487-c5ea-4eb8-8f66-6d9c4c9142c2
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
2023-12-21 17:07:43.431 +00:00 [WRN] The query uses the 'Distinct' operator after
applying an ordering. If there are any row limiting operation used before
'Distinct' and after ordering then ordering will be used for it. Ordering(s) will
be erased after 'Distinct' and results afterwards would be unordered.
2023-12-21 17:08:02.019 +00:00 [INF] Iniciado log da edição de candidato 8c371b8c-
8316-424d-88c8-64bd94a518f3 pelo utilizador Id: bbf4470a-15d7-4a64-a8a0-
0bf8b7ac44b4 em 21/12/2023 05:08:02
2023-12-21 17:08:02.086 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 8c371b8c-8316-424d-88c8-64bd94a518f3
2023-12-21 17:08:02.112 +00:00 [INF] Atualização dos dados do CRM ok - Id:8c371b8c-
8316-424d-88c8-64bd94a518f3
2023-12-21 17:08:02.125 +00:00 [INF] Atualização dos dados do candidato ok -
Id:8c371b8c-8316-424d-88c8-64bd94a518f3
2023-12-21 17:11:25.000 +00:00 [ERR] An exception occurred in the database while
saving changes for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:f0b345f0-0469-4ebe-8782-78c7ad829ab7
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:f0b345f0-0469-4ebe-8782-78c7ad829ab7
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
2023-12-21 17:13:25.442 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 17:15:59.565 +00:00 [INF] Get File by name: Proposal_Pt.pptx
2023-12-21 17:15:59.601 +00:00 [INF] FileName: Proposal_Pt.pptx; Virtual Path:
/candidateFinancialProposalModels/; Id: f3f0f0c4-d297-412c-850d-524ad2e18819
2023-12-21 17:15:59.601 +00:00 [INF] Path: D:\AGWEB\prod\
candidateFinancialProposalModels\f3f0f0c4-d297-412c-850d-524ad2e18819.pptx
2023-12-21 17:15:59.601 +00:00 [INF] Get File
2023-12-21 17:15:59.602 +00:00 [INF] ReadAllBytes
2023-12-21 17:15:59.605 +00:00 [INF] Convert file to memory stream
2023-12-21 17:15:59.606 +00:00 [INF] FileSize: 1458986
2023-12-21 17:24:56.320 +00:00 [ERR] An exception occurred in the database while
saving changes for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:ec79617a-693b-4d19-84b5-a890409f073f
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:ec79617a-693b-4d19-84b5-a890409f073f
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
2023-12-21 17:25:46.966 +00:00 [ERR] An exception occurred in the database while
saving changes for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:cf5d6701-5078-45f7-a0cd-ba288d40e2bc
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:cf5d6701-5078-45f7-a0cd-ba288d40e2bc
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
2023-12-21 17:36:16.758 +00:00 [ERR] An exception occurred in the database while
saving changes for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:3b2e6487-c5ea-4eb8-8f66-6d9c4c9142c2
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:3b2e6487-c5ea-4eb8-8f66-6d9c4c9142c2
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
2023-12-21 17:37:13.361 +00:00 [ERR] An exception occurred in the database while
saving changes for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:f70e43bc-67fd-40db-be3d-0e2e6b67b2d7
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:f70e43bc-67fd-40db-be3d-0e2e6b67b2d7
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
2023-12-21 17:38:29.577 +00:00 [ERR] An exception occurred in the database while
saving changes for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:9677e5d3-c8c7-48cb-9850-681106907646
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:9677e5d3-c8c7-48cb-9850-681106907646
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
2023-12-21 17:44:53.289 +00:00 [ERR] An exception occurred while iterating over the
results of a query for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
System.InvalidOperationException: The association between entity types
'EmployeeBilling' and 'EmployeeBillingFile' has been severed, but the relationship
is either marked as required or is implicitly required because the foreign key is
not nullable. If the dependent/child entity should be deleted when a required
relationship is severed, configure the relationship to use cascade deletes.
Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the key
values.
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.HandleCon
ceptualNulls(Boolean sensitiveLoggingEnabled, Boolean force, Boolean
isCascadeDelete)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.HandleNul
lForeignKey(IProperty property, Boolean setModified, Boolean isCascadeDelete)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetProper
ty(IPropertyBase propertyBase, Object value, Boolean isMaterialization, Boolean
setModified, Boolean isCascadeDelete, CurrentValueType valueType)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NavigationFixer.Conditionally
NullForeignKeyProperties(InternalEntityEntry dependentEntry, InternalEntityEntry
principalEntry, IForeignKey foreignKey)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NavigationFixer.ToDependentFi
xup(InternalEntityEntry dependentEntry, InternalEntityEntry principalEntry,
IForeignKey foreignKey, Boolean fromQuery)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NavigationFixer.InitialFixup(
InternalEntityEntry entry, Boolean fromQuery)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NavigationFixer.TrackedFromQu
ery(InternalEntityEntry entry)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntryNotifier.T
rackedFromQuery(InternalEntityEntry entry)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.MarkUncha
ngedFromQuery()
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.StartTrackingFro
mQuery(IEntityType baseEntityType, Object entity, ValueBuffer& valueBuffer)
at Microsoft.EntityFrameworkCore.Query.QueryContext.StartTracking(IEntityType
entityType, Object entity, ValueBuffer valueBuffer)
at lambda_method17797(Closure , QueryContext , DbDataReader , ResultContext ,
SingleQueryResultCoordinator )
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumer
ator.MoveNextAsync()
System.InvalidOperationException: The association between entity types
'EmployeeBilling' and 'EmployeeBillingFile' has been severed, but the relationship
is either marked as required or is implicitly required because the foreign key is
not nullable. If the dependent/child entity should be deleted when a required
relationship is severed, configure the relationship to use cascade deletes.
Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the key
values.
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.HandleCon
ceptualNulls(Boolean sensitiveLoggingEnabled, Boolean force, Boolean
isCascadeDelete)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.HandleNul
lForeignKey(IProperty property, Boolean setModified, Boolean isCascadeDelete)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetProper
ty(IPropertyBase propertyBase, Object value, Boolean isMaterialization, Boolean
setModified, Boolean isCascadeDelete, CurrentValueType valueType)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NavigationFixer.Conditionally
NullForeignKeyProperties(InternalEntityEntry dependentEntry, InternalEntityEntry
principalEntry, IForeignKey foreignKey)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NavigationFixer.ToDependentFi
xup(InternalEntityEntry dependentEntry, InternalEntityEntry principalEntry,
IForeignKey foreignKey, Boolean fromQuery)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NavigationFixer.InitialFixup(
InternalEntityEntry entry, Boolean fromQuery)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NavigationFixer.TrackedFromQu
ery(InternalEntityEntry entry)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntryNotifier.T
rackedFromQuery(InternalEntityEntry entry)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.MarkUncha
ngedFromQuery()
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.StartTrackingFro
mQuery(IEntityType baseEntityType, Object entity, ValueBuffer& valueBuffer)
at Microsoft.EntityFrameworkCore.Query.QueryContext.StartTracking(IEntityType
entityType, Object entity, ValueBuffer valueBuffer)
at lambda_method17797(Closure , QueryContext , DbDataReader , ResultContext ,
SingleQueryResultCoordinator )
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumer
ator.MoveNextAsync()
2023-12-21 17:49:04.056 +00:00 [ERR] An exception occurred in the database while
saving changes for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:83704da0-c107-49f5-8be3-b816ac94b4b5
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:83704da0-c107-49f5-8be3-b816ac94b4b5
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
2023-12-21 17:50:25.713 +00:00 [INF] Iniciado log da edição de candidato e669a558-
7c81-4eac-af8c-c46b19aa15c6 pelo utilizador Id: a6546a5f-6d00-4bf3-93ed-
78de79d2d708 em 21/12/2023 05:50:25
2023-12-21 17:50:25.760 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: e669a558-7c81-4eac-af8c-c46b19aa15c6
2023-12-21 17:50:25.763 +00:00 [INF] Atualização dos dados do CRM ok - Id:e669a558-
7c81-4eac-af8c-c46b19aa15c6
2023-12-21 17:50:25.779 +00:00 [INF] Atualização dos dados do candidato ok -
Id:e669a558-7c81-4eac-af8c-c46b19aa15c6
2023-12-21 17:50:48.928 +00:00 [INF] Iniciado log da edição de candidato e669a558-
7c81-4eac-af8c-c46b19aa15c6 pelo utilizador Id: a6546a5f-6d00-4bf3-93ed-
78de79d2d708 em 21/12/2023 05:50:48
2023-12-21 17:50:48.971 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: e669a558-7c81-4eac-af8c-c46b19aa15c6
2023-12-21 17:50:48.975 +00:00 [INF] Atualização dos dados do CRM ok - Id:e669a558-
7c81-4eac-af8c-c46b19aa15c6
2023-12-21 17:50:48.989 +00:00 [INF] Atualização dos dados do candidato ok -
Id:e669a558-7c81-4eac-af8c-c46b19aa15c6
2023-12-21 17:50:56.455 +00:00 [INF] Iniciado log da edição de candidato 40e4dc9f-
fa15-4ddc-879d-0623268402eb pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 05:50:56
2023-12-21 17:50:56.499 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 40e4dc9f-fa15-4ddc-879d-0623268402eb
2023-12-21 17:50:56.501 +00:00 [INF] Atualização dos dados do CRM ok - Id:40e4dc9f-
fa15-4ddc-879d-0623268402eb
2023-12-21 17:50:56.522 +00:00 [INF] Atualização dos dados do candidato ok -
Id:40e4dc9f-fa15-4ddc-879d-0623268402eb
2023-12-21 17:54:15.819 +00:00 [INF] Path: D:\AGWEB\prod\candidate\8824fa55-b851-
4d49-af03-5888e8617775.pptx
2023-12-21 17:54:15.819 +00:00 [INF] Get File
2023-12-21 17:54:15.849 +00:00 [INF] ReadAllBytes
2023-12-21 17:57:29.302 +00:00 [INF] Iniciado log da edição de candidato 292de4f6-
65eb-43ca-8633-3e46ea0732cb pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 05:57:29
2023-12-21 17:57:29.340 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 292de4f6-65eb-43ca-8633-3e46ea0732cb
2023-12-21 17:57:29.342 +00:00 [INF] Atualização dos dados do CRM ok - Id:292de4f6-
65eb-43ca-8633-3e46ea0732cb
2023-12-21 17:57:29.350 +00:00 [INF] Atualização dos dados do candidato ok -
Id:292de4f6-65eb-43ca-8633-3e46ea0732cb
2023-12-21 17:59:16.446 +00:00 [INF] Path: D:\AGWEB\prod\candidate\65b28965-eae5-
4654-82fc-fabde99d6f96.pptx
2023-12-21 17:59:16.446 +00:00 [INF] Get File
2023-12-21 17:59:16.468 +00:00 [INF] ReadAllBytes
2023-12-21 18:01:22.591 +00:00 [INF] Iniciado log da edição de candidato 292de4f6-
65eb-43ca-8633-3e46ea0732cb pelo utilizador Id: b19447ab-0211-4c11-8bad-
d3e2ba73f1bf em 21/12/2023 06:01:22
2023-12-21 18:01:22.632 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 292de4f6-65eb-43ca-8633-3e46ea0732cb
2023-12-21 18:01:22.634 +00:00 [INF] Atualização dos dados do CRM ok - Id:292de4f6-
65eb-43ca-8633-3e46ea0732cb
2023-12-21 18:01:22.643 +00:00 [INF] Atualização dos dados do candidato ok -
Id:292de4f6-65eb-43ca-8633-3e46ea0732cb
2023-12-21 18:02:30.769 +00:00 [ERR] An exception occurred in the database while
saving changes for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:83704da0-c107-49f5-8be3-b816ac94b4b5
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:83704da0-c107-49f5-8be3-b816ac94b4b5
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
2023-12-21 18:14:38.246 +00:00 [INF] Iniciado log da criação de candidato Diego
Buriti pelo utilizador Id: a6546a5f-6d00-4bf3-93ed-78de79d2d708 em 21/12/2023
06:14:38
2023-12-21 18:14:38.287 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Name: Diego Buriti
2023-12-21 18:14:38.367 +00:00 [INF] Criação do candidato ok - Id: 8462b7fb-fc0f-
4618-886f-ee1af8503470
2023-12-21 18:14:38.376 +00:00 [INF] Criação do crm do candidato ok - Id: 8462b7fb-
fc0f-4618-886f-ee1af8503470
2023-12-21 18:17:42.342 +00:00 [INF] Path: D:\AGWEB\prod\candidate\004f4970-9bd1-
42bf-bfa5-ab160537300e.pptx
2023-12-21 18:17:42.342 +00:00 [INF] Get File
2023-12-21 18:17:42.366 +00:00 [INF] ReadAllBytes
2023-12-21 18:22:25.053 +00:00 [INF] Iniciado log da criação de candidato Guilhermo
Montoya pelo utilizador Id: 8de69d5a-c5b6-4cd5-bebf-ee69fb41390c em 21/12/2023
06:22:25
2023-12-21 18:22:25.091 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Name: Guilhermo Montoya
2023-12-21 18:22:25.161 +00:00 [INF] Criação do candidato ok - Id: 4df021dc-ab12-
4d5f-a82c-253a79f3d444
2023-12-21 18:22:25.174 +00:00 [INF] Criação do crm do candidato ok - Id: 4df021dc-
ab12-4d5f-a82c-253a79f3d444
2023-12-21 18:24:36.906 +00:00 [ERR] An exception occurred in the database while
saving changes for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:8224240e-cd49-47cf-9498-86b96057a6f8
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2023-12-27, 57ba68b9-4af1-4123-91f2-66d5f89268b6, 255a8c2e-756d-44ac-a986-
1f90d2f3a31b).
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreResults(Boolean&
moreResults)
at Microsoft.Data.SqlClient.SqlDataReader.TryNextResult(Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.NextResult()
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
ClientConnectionId:8224240e-cd49-47cf-9498-86b96057a6f8
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(
RelationalDataReader reader)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
2023-12-21 18:28:31.572 +00:00 [INF] Iniciado log da edição de candidato 4df021dc-
ab12-4d5f-a82c-253a79f3d444 pelo utilizador Id: 8de69d5a-c5b6-4cd5-bebf-
ee69fb41390c em 21/12/2023 06:28:31
2023-12-21 18:28:31.608 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 4df021dc-ab12-4d5f-a82c-253a79f3d444
2023-12-21 18:28:31.609 +00:00 [INF] Atualização dos dados do CRM ok - Id:4df021dc-
ab12-4d5f-a82c-253a79f3d444
2023-12-21 18:28:31.619 +00:00 [INF] Atualização dos dados do candidato ok -
Id:4df021dc-ab12-4d5f-a82c-253a79f3d444
2023-12-21 19:51:00.075 +00:00 [INF] Application is shutting down...
2023-12-21 21:32:47.541 +00:00 [INF] Application started. Press Ctrl+C to shut
down.
2023-12-21 21:32:47.585 +00:00 [INF] Hosting environment: Production
2023-12-21 21:32:47.586 +00:00 [INF] Content root path: C:\inetpub\wwwroot\agweb-
prod-back
2023-12-21 21:32:55.071 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 21:33:28.488 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 21:33:30.891 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 21:33:58.319 +00:00 [INF] Path: D:\AGWEB\prod\candidate\53fffa0c-1d2d-
40a9-8e81-7b9b342b6df6.pptx
2023-12-21 21:33:58.320 +00:00 [INF] Get File
2023-12-21 21:33:58.343 +00:00 [INF] ReadAllBytes
2023-12-21 21:54:46.304 +00:00 [INF] Application is shutting down...
2023-12-21 22:33:00.228 +00:00 [INF] Application started. Press Ctrl+C to shut
down.
2023-12-21 22:33:00.270 +00:00 [INF] Hosting environment: Production
2023-12-21 22:33:00.271 +00:00 [INF] Content root path: C:\inetpub\wwwroot\agweb-
prod-back
2023-12-21 22:33:20.175 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 22:33:21.490 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 22:33:22.987 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 22:35:23.075 +00:00 [ERR] An exception occurred while iterating over the
results of a query for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property
cannot be called on Null values.
at Microsoft.Data.SqlClient.SqlBuffer.get_Guid()
at Microsoft.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at lambda_method6271(Closure , QueryContext , DbDataReader , ResultContext ,
SingleQueryResultCoordinator )
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumer
ator.MoveNextAsync()
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property
cannot be called on Null values.
at Microsoft.Data.SqlClient.SqlBuffer.get_Guid()
at Microsoft.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at lambda_method6271(Closure , QueryContext , DbDataReader , ResultContext ,
SingleQueryResultCoordinator )
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumer
ator.MoveNextAsync()
2023-12-21 22:55:59.161 +00:00 [INF] Application is shutting down...
2023-12-21 23:18:09.217 +00:00 [INF] Application started. Press Ctrl+C to shut
down.
2023-12-21 23:18:09.259 +00:00 [INF] Hosting environment: Production
2023-12-21 23:18:09.260 +00:00 [INF] Content root path: C:\inetpub\wwwroot\agweb-
prod-back
2023-12-21 23:18:16.356 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 23:18:35.868 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 23:18:37.177 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 23:18:37.389 +00:00 [ERR] An exception occurred while iterating over the
results of a query for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property
cannot be called on Null values.
at Microsoft.Data.SqlClient.SqlBuffer.get_Guid()
at Microsoft.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at lambda_method7410(Closure , QueryContext , DbDataReader , ResultContext ,
SingleQueryResultCoordinator )
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumer
ator.MoveNextAsync()
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property
cannot be called on Null values.
at Microsoft.Data.SqlClient.SqlBuffer.get_Guid()
at Microsoft.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at lambda_method7410(Closure , QueryContext , DbDataReader , ResultContext ,
SingleQueryResultCoordinator )
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumer
ator.MoveNextAsync()
2023-12-21 23:22:08.515 +00:00 [WRN] Compiling a query which loads related
collections for more than one collection navigation, either via 'Include' or
through projection, but no 'QuerySplittingBehavior' has been configured. By
default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can
potentially result in slow query performance. See https://go.microsoft.com/fwlink/?
linkid=2134277 for more information. To identify the query that's triggering this
warning call 'ConfigureWarnings(w =>
w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
2023-12-21 23:22:08.576 +00:00 [ERR] Failed executing DbCommand (0ms)
[Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = Guid), @p2='?' (Size =
200), @p3='?' (Size = 4), @p4='?' (Size = 30), @p5='?' (DbType = Guid), @p6='?'
(DbType = Guid), @p7='?' (DbType = Guid), @p8='?' (DbType = Guid), @p9='?' (DbType
= DateTime2), @p10='?' (DbType = DateTime2), @p11='?' (DbType = DateTime2),
@p12='?' (DbType = Boolean), @p13='?' (DbType = Guid), @p14='?' (Size = 4000),
@p15='?' (DbType = Boolean), @p16='?' (DbType = Boolean), @p17='?' (DbType =
Boolean), @p18='?' (Size = 4000), @p19='?' (DbType = Boolean), @p20='?' (DbType =
Int32), @p21='?' (Size = 20), @p22='?' (Size = 92), @p23='?' (DbType = Guid),
@p24='?' (DbType = DateTime2), @p25='?' (DbType = Double)], CommandType='"Text"',
CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [EmployeeBilling] ([Id], [AdjudicationTypeId], [BillingDescription],
[BillingUnit], [BuyOrder], [ClientId], [CostCenterId], [CostCenterManagerId],
[CreatedBy], [CreatedOn], [DateIn], [DateOut], [DiaFact], [EmployeeId],
[ExtraNotes], [HasBuyOrder], [IsActive], [IsRemoved], [Notes], [NotifyTermination],
[OldAgId], [PaymentConditions], [Reference], [UpdatedBy], [UpdatedOn], [Value])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13,
@p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23, @p24, @p25);
2023-12-21 23:22:08.590 +00:00 [ERR] An exception occurred in the database while
saving changes for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2024-01-01, 84647d9d-8e6a-4bc7-bb13-8ec877d66bc4, 711b7435-3589-43d6-bddb-
6eb22ec3e76a).
The statement has been terminated.
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException
exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData()
at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds,
RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean
forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32
timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean
describeParameterEncryptionRequest)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1
completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite,
Boolean inRetry, String method)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior
behavior)
at System.Data.Common.DbCommand.ExecuteReader()
at
Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCom
mandParameterObject parameterObject)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
ClientConnectionId:8213d0bd-7954-4e7b-a620-526411bac40b
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the
entity changes. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate
key row in object 'dbo.EmployeeBilling' with unique index
'IX_EmployeeBilling_DateIn_EmployeeId_CostCenterId'. The duplicate key value is
(2024-01-01, 84647d9d-8e6a-4bc7-bb13-8ec877d66bc4, 711b7435-3589-43d6-bddb-
6eb22ec3e76a).
The statement has been terminated.
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException
exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData()
at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds,
RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean
forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32
timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean
describeParameterEncryptionRequest)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1
completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite,
Boolean inRetry, String method)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior
behavior)
at System.Data.Common.DbCommand.ExecuteReader()
at
Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCom
mandParameterObject parameterObject)
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
ClientConnectionId:8213d0bd-7954-4e7b-a620-526411bac40b
Error Number:2601,State:1,Class:14
--- End of inner exception stack trace ---
at
Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelati
onalConnection connection)
at
Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1
commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1
entries)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(ILis
t`1 entriesToSave)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Stat
eManager stateManager, Boolean acceptAllChangesOnSuccess)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges
>b__104_0(DbContext _, ValueTuple`2 t)
at
Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy
.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Bool
ean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean
acceptAllChangesOnSuccess)
2023-12-21 23:22:14.828 +00:00 [ERR] An exception occurred while iterating over the
results of a query for context type 'IC.AGWeb.Infra.Data.Context.AGWebContext'.
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property
cannot be called on Null values.
at Microsoft.Data.SqlClient.SqlBuffer.get_Guid()
at Microsoft.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at lambda_method7410(Closure , QueryContext , DbDataReader , ResultContext ,
SingleQueryResultCoordinator )
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumer
ator.MoveNextAsync()
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property
cannot be called on Null values.
at Microsoft.Data.SqlClient.SqlBuffer.get_Guid()
at Microsoft.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at lambda_method7410(Closure , QueryContext , DbDataReader , ResultContext ,
SingleQueryResultCoordinator )
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumer
ator.MoveNextAsync()
2023-12-21 23:42:23.326 +00:00 [INF] Iniciado log da edição de candidato 7eba4a23-
2064-4cef-a65b-b1300ee5fdbd pelo utilizador Id: ac5b7af2-e119-4b96-801c-
6456f1e97e2a em 21/12/2023 11:42:23
2023-12-21 23:42:23.591 +00:00 [INF] Criação do objeto do banco para o candidato ok
- Id: 7eba4a23-2064-4cef-a65b-b1300ee5fdbd
2023-12-21 23:42:23.656 +00:00 [INF] Atualização dos dados do CRM ok - Id:7eba4a23-
2064-4cef-a65b-b1300ee5fdbd
2023-12-21 23:42:23.727 +00:00 [INF] Atualização dos dados do candidato ok -
Id:7eba4a23-2064-4cef-a65b-b1300ee5fdbd

You might also like