Advertisement
DarkokraD

Untitled

Dec 14th, 2023
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.72 KB | None | 0 0
  1. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: [15:29:27 ERR] The LINQ expression 'DbSet<ServiceRecordBook>()
  2. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: .Where(x => x.CrewMember == __srb_CrewMember_0 && x.Guid != __srb_Guid_1)
  3. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: .MaxBy(x => x.IssueDate)' could not be translated. Either rewrite the query in a form that can be translated, or switch to client e valuation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
  4. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: System.InvalidOperationException: The LINQ expression 'DbSet<ServiceRecordBook>()
  5. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: .Where(x => x.CrewMember == __srb_CrewMember_0 && x.Guid != __srb_Guid_1)
  6. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: .MaxBy(x => x.IssueDate)' could not be translated. Either rewrite the query in a form that can be translated, or switch to client e valuation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
  7. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Query.Internal.NavigationExpandingExpressionVisitor.VisitMethodCall(MethodCallExpression methodCall Expression)
  8. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Query.Internal.NavigationExpandingExpressionVisitor.Expand(Expression query)
  9. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Query.QueryTranslationPreprocessor.Process(Expression query)
  10. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Query.QueryCompilationContext.CreateQueryExecutor[TResult](Expression query)
  11. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Storage.Database.CompileQuery[TResult](Expression query, Boolean async)
  12. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.CompileQueryCore[TResult](IDatabase database, Expression query, IModel model, Boolean async)
  13. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<>c__DisplayClass9_0`1.<Execute>b__0()
  14. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Query.Internal.CompiledQueryCache.GetOrAddQuery[TResult](Object cacheKey, Func`1 compiler)
  15. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
  16. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
  17. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at System.Linq.Queryable.MaxBy[TSource,TKey](IQueryable`1 source, Expression`1 keySelector)
  18. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at NCDB.Data.Services.ServiceRecordBookService.GenerateSrbOrCombinedDocumentPdfAsync(Guid srbGuid, Boolean isCombined) in /home/ncdb -at-admin/ncdb/NCDB.Data/Services/ServiceRecordBookService.cs:line 172
  19. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at NCDB.Controllers.ServiceRecordBookController.DownloadSrbAsPdf(Guid srbGuid, Boolean isCombined) in /home/ncdb-at-admin/ncdb/NCDB/ Controllers/ServiceRecordBookController.cs:line 45
  20. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
  21. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
  22. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvo ker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
  23. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
  24. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isComplet ed)
  25. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker i nvoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
  26. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task l astTask, State next, Scope scope, Object state, Boolean isCompleted)
  27. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
  28. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
  29. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
  30. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposa ble scope)
  31. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposa ble scope)
  32. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logg er)
  33. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext cont ext, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
  34. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
  35. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
  36. Dec 14 15:29:27 ncdb-at.eu dotnet-example[652769]: at NCDB.Extensions.ExceptionMiddlewareExtensions.ExceptionMiddleware.InvokeAsync(HttpContext httpContext) in /home/ncdb-at-admin/ncd b/NCDB/Extensions/ExceptionMiddlewareExtensions.cs:line 47
  37. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: [15:29:38 ERR] The LINQ expression 'DbSet<ServiceRecordBook>()
  38. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: .Where(x => x.CrewMember == __srb_CrewMember_0 && x.Guid != __srb_Guid_1)
  39. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: .MaxBy(x => x.IssueDate)' could not be translated. Either rewrite the query in a form that can be translated, or switch to client e valuation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
  40. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: System.InvalidOperationException: The LINQ expression 'DbSet<ServiceRecordBook>()
  41. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: .Where(x => x.CrewMember == __srb_CrewMember_0 && x.Guid != __srb_Guid_1)
  42. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: .MaxBy(x => x.IssueDate)' could not be translated. Either rewrite the query in a form that can be translated, or switch to client e valuation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
  43. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Query.Internal.NavigationExpandingExpressionVisitor.VisitMethodCall(MethodCallExpression methodCall Expression)
  44. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Query.Internal.NavigationExpandingExpressionVisitor.Expand(Expression query)
  45. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Query.QueryTranslationPreprocessor.Process(Expression query)
  46. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Query.QueryCompilationContext.CreateQueryExecutor[TResult](Expression query)
  47. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Storage.Database.CompileQuery[TResult](Expression query, Boolean async)
  48. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.CompileQueryCore[TResult](IDatabase database, Expression query, IModel model, Boolean async)
  49. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<>c__DisplayClass9_0`1.<Execute>b__0()
  50. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Query.Internal.CompiledQueryCache.GetOrAddQuery[TResult](Object cacheKey, Func`1 compiler)
  51. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
  52. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
  53. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at System.Linq.Queryable.MaxBy[TSource,TKey](IQueryable`1 source, Expression`1 keySelector)
  54. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at NCDB.Data.Services.ServiceRecordBookService.GenerateSrbOrCombinedDocumentPdfAsync(Guid srbGuid, Boolean isCombined) in /home/ncdb -at-admin/ncdb/NCDB.Data/Services/ServiceRecordBookService.cs:line 172
  55. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at NCDB.Controllers.ServiceRecordBookController.DownloadSrbAsPdf(Guid srbGuid, Boolean isCombined) in /home/ncdb-at-admin/ncdb/NCDB/ Controllers/ServiceRecordBookController.cs:line 45
  56. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
  57. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
  58. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvo ker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
  59. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
  60. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isComplet ed)
  61. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker i nvoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
  62. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task l astTask, State next, Scope scope, Object state, Boolean isCompleted)
  63. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
  64. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
  65. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
  66. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposa ble scope)
  67. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposa ble scope)
  68. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logg er)
  69. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext cont ext, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
  70. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
  71. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
  72. Dec 14 15:29:38 ncdb-at.eu dotnet-example[652769]: at NCDB.Extensions.ExceptionMiddlewareExtensions.ExceptionMiddleware.InvokeAsync(HttpContext httpContext) in /home/ncdb-at-admin/ncd b/NCDB/Extensions/ExceptionMiddlewareExtensions.cs:line 47
  73.  
  74.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement