-----------Exception Details on 06/06/2024 4:29:36 pm----------------- ------------------------------------------------------------------------------------- {"StatusCode":500,"Message":"Internal Server Error.","Error":"System.TimeZoneNotFoundException: The time zone ID \u0027America/New_York\u0027 was not found on the local computer.\r\n at System.TimeZoneInfo.FindSystemTimeZoneById(String id)\r\n at WebApi.DataAccess.Data.ApplicationDbContext.UpdateSoftDeleteStatuses() in D:\\Sohail\\SignUp\\EzHubSpot-v1-issue\\WebApi.DataAccess\\Data\\ApplicationDbContext.cs:line 230\r\n at WebApi.DataAccess.Data.ApplicationDbContext.SaveChanges() in D:\\Sohail\\SignUp\\EzHubSpot-v1-issue\\WebApi.DataAccess\\Data\\ApplicationDbContext.cs:line 205\r\n at WebApi.Areas.Account.Controllers.AccountManagementController.Authenticate(AuthenticateModel model) in D:\\Sohail\\SignUp\\EzHubSpot-v1-issue\\WebApi\\Areas\\Account\\Controllers\\AccountManagementController.cs:line 339\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeActionMethodAsync\u003Eg__Awaited|12_0(ControllerActionInvoker invoker, ValueTask\u00601 actionResultValueTask)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeNextActionFilterAsync\u003Eg__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State\u0026 next, Scope\u0026 scope, Object\u0026 state, Boolean\u0026 isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeFilterPipelineAsync\u003Eg__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeAsync\u003Eg__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)\r\n at Microsoft.AspNetCore.Routing.EndpointMiddleware.\u003CInvoke\u003Eg__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)\r\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\r\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\r\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.\u003CInvoke\u003Eg__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)"} --------------------------------*End*------------------------------------------ -----------Exception Details on 06/06/2024 4:30:06 pm----------------- ------------------------------------------------------------------------------------- {"StatusCode":500,"Message":"Internal Server Error.","Error":"System.TimeZoneNotFoundException: The time zone ID \u0027America/New_York\u0027 was not found on the local computer.\r\n at System.TimeZoneInfo.FindSystemTimeZoneById(String id)\r\n at WebApi.DataAccess.Data.ApplicationDbContext.UpdateSoftDeleteStatuses() in D:\\Sohail\\SignUp\\EzHubSpot-v1-issue\\WebApi.DataAccess\\Data\\ApplicationDbContext.cs:line 230\r\n at WebApi.DataAccess.Data.ApplicationDbContext.SaveChanges() in D:\\Sohail\\SignUp\\EzHubSpot-v1-issue\\WebApi.DataAccess\\Data\\ApplicationDbContext.cs:line 205\r\n at WebApi.Areas.Account.Controllers.AccountManagementController.Authenticate(AuthenticateModel model) in D:\\Sohail\\SignUp\\EzHubSpot-v1-issue\\WebApi\\Areas\\Account\\Controllers\\AccountManagementController.cs:line 339\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeActionMethodAsync\u003Eg__Awaited|12_0(ControllerActionInvoker invoker, ValueTask\u00601 actionResultValueTask)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeNextActionFilterAsync\u003Eg__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State\u0026 next, Scope\u0026 scope, Object\u0026 state, Boolean\u0026 isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeFilterPipelineAsync\u003Eg__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeAsync\u003Eg__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)\r\n at Microsoft.AspNetCore.Routing.EndpointMiddleware.\u003CInvoke\u003Eg__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)\r\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\r\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\r\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.\u003CInvoke\u003Eg__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)"} --------------------------------*End*------------------------------------------ -----------Exception Details on 06/06/2024 4:30:24 pm----------------- ------------------------------------------------------------------------------------- {"StatusCode":500,"Message":"Internal Server Error.","Error":"System.TimeZoneNotFoundException: The time zone ID \u0027America/New_York\u0027 was not found on the local computer.\r\n at System.TimeZoneInfo.FindSystemTimeZoneById(String id)\r\n at WebApi.DataAccess.Data.ApplicationDbContext.UpdateSoftDeleteStatuses() in D:\\Sohail\\SignUp\\EzHubSpot-v1-issue\\WebApi.DataAccess\\Data\\ApplicationDbContext.cs:line 230\r\n at WebApi.DataAccess.Data.ApplicationDbContext.SaveChanges() in D:\\Sohail\\SignUp\\EzHubSpot-v1-issue\\WebApi.DataAccess\\Data\\ApplicationDbContext.cs:line 205\r\n at WebApi.Areas.Account.Controllers.AccountManagementController.Authenticate(AuthenticateModel model) in D:\\Sohail\\SignUp\\EzHubSpot-v1-issue\\WebApi\\Areas\\Account\\Controllers\\AccountManagementController.cs:line 339\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeActionMethodAsync\u003Eg__Awaited|12_0(ControllerActionInvoker invoker, ValueTask\u00601 actionResultValueTask)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeNextActionFilterAsync\u003Eg__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State\u0026 next, Scope\u0026 scope, Object\u0026 state, Boolean\u0026 isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeFilterPipelineAsync\u003Eg__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeAsync\u003Eg__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)\r\n at Microsoft.AspNetCore.Routing.EndpointMiddleware.\u003CInvoke\u003Eg__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)\r\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\r\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\r\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.\u003CInvoke\u003Eg__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)"} --------------------------------*End*------------------------------------------ -----------Exception Details on 06/06/2024 4:31:34 pm----------------- ------------------------------------------------------------------------------------- {"StatusCode":500,"Message":"Internal Server Error.","Error":"System.TimeZoneNotFoundException: The time zone ID \u0027America/New_York\u0027 was not found on the local computer.\r\n at System.TimeZoneInfo.FindSystemTimeZoneById(String id)\r\n at WebApi.DataAccess.Data.ApplicationDbContext.UpdateSoftDeleteStatuses() in D:\\Sohail\\SignUp\\EzHubSpot-v1-issue\\WebApi.DataAccess\\Data\\ApplicationDbContext.cs:line 230\r\n at WebApi.DataAccess.Data.ApplicationDbContext.SaveChanges() in D:\\Sohail\\SignUp\\EzHubSpot-v1-issue\\WebApi.DataAccess\\Data\\ApplicationDbContext.cs:line 205\r\n at WebApi.Areas.Account.Controllers.AccountManagementController.Authenticate(AuthenticateModel model) in D:\\Sohail\\SignUp\\EzHubSpot-v1-issue\\WebApi\\Areas\\Account\\Controllers\\AccountManagementController.cs:line 339\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeActionMethodAsync\u003Eg__Awaited|12_0(ControllerActionInvoker invoker, ValueTask\u00601 actionResultValueTask)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeNextActionFilterAsync\u003Eg__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State\u0026 next, Scope\u0026 scope, Object\u0026 state, Boolean\u0026 isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeFilterPipelineAsync\u003Eg__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeAsync\u003Eg__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)\r\n at Microsoft.AspNetCore.Routing.EndpointMiddleware.\u003CInvoke\u003Eg__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)\r\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\r\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\r\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.\u003CInvoke\u003Eg__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)"} --------------------------------*End*------------------------------------------ -----------Exception Details on 06/06/2024 4:37:27 pm----------------- ------------------------------------------------------------------------------------- {"StatusCode":500,"Message":"Internal Server Error.","Error":"System.NullReferenceException: Object reference not set to an instance of an object.\r\n at WebApi.Areas.Account.Controllers.AccountManagementController.Authenticate(AuthenticateModel model) in D:\\Sohail\\SignUp\\EzHubSpot-v1-issue\\WebApi\\Areas\\Account\\Controllers\\AccountManagementController.cs:line 104\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeActionMethodAsync\u003Eg__Awaited|12_0(ControllerActionInvoker invoker, ValueTask\u00601 actionResultValueTask)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeNextActionFilterAsync\u003Eg__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State\u0026 next, Scope\u0026 scope, Object\u0026 state, Boolean\u0026 isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeFilterPipelineAsync\u003Eg__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeAsync\u003Eg__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)\r\n at Microsoft.AspNetCore.Routing.EndpointMiddleware.\u003CInvoke\u003Eg__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)\r\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\r\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\r\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.\u003CInvoke\u003Eg__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)"} --------------------------------*End*------------------------------------------ -----------Exception Details on 06/06/2024 4:39:47 pm----------------- ------------------------------------------------------------------------------------- {"StatusCode":500,"Message":"Internal Server Error.","Error":"System.ArgumentNullException: Value cannot be null. (Parameter \u0027source\u0027)\r\n at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)\r\n at System.Linq.Enumerable.ToList[TSource](IEnumerable\u00601 source)\r\n at WebApi.DataAccess.Data.Repository.TimeOffTRepository.ShowPendingRequestToUpperLevelManagement(Int32 pageNo, Int32 pageSize, String searchQuery, String type, Nullable\u00601 _date_from, Nullable\u00601 _date_to, Int32 activeUser, String _location, String _departments, String _users, String _user_status, String status, String policy_compliance) in D:\\Sohail\\SignUp\\EzHubSpot-v1-issue\\WebApi.DataAccess\\Data\\Repository\\TimeOffTRepository.cs:line 182\r\n at WebApi.Areas.TimeManagement.Controllers.TimeOffController.ShowPendingRequestToUpperLevelManagement(Int32 userId, String status, Int32 pageNo, Int32 pageSize, String type, String searchQuery, Nullable\u00601 _date_from, Nullable\u00601 _date_to, String _location, String _departments, String _users, String _user_status, String policy_compliance) in D:\\Sohail\\SignUp\\EzHubSpot-v1-issue\\WebApi\\Areas\\TimeManagement\\Controllers\\TimeOffController.cs:line 75\r\n at lambda_method(Closure , Object , Object[] )\r\n at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State\u0026 next, Scope\u0026 scope, Object\u0026 state, Boolean\u0026 isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State\u0026 next, Scope\u0026 scope, Object\u0026 state, Boolean\u0026 isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeFilterPipelineAsync\u003Eg__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeAsync\u003Eg__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)\r\n at Microsoft.AspNetCore.Routing.EndpointMiddleware.\u003CInvoke\u003Eg__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)\r\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\r\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\r\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.\u003CInvoke\u003Eg__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)"} --------------------------------*End*------------------------------------------