2025-04-02 13:51:09.603 +05:30 [WRN] Using an in-memory repository. Keys will not be persisted to storage. ----------------------------------------End----------------------------------- 2025-04-02 13:51:09.650 +05:30 [WRN] Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits. ----------------------------------------End----------------------------------- 2025-04-02 13:51:09.681 +05:30 [WRN] No XML encryptor configured. Key {1c9b2718-59e1-4f53-be77-b01f6fecc6a5} may be persisted to storage in unencrypted form. ----------------------------------------End----------------------------------- 2025-04-02 13:51:09.739 +05:30 [WRN] The WebRootPath was not found: C:\inetpub\wwwroot\ExWebApi\KTI\Sang.KTI.WebApi\wwwroot. Static files may be unavailable. ----------------------------------------End----------------------------------- 2025-04-02 22:13:28.883 +05:30 [WRN] Using an in-memory repository. Keys will not be persisted to storage. ----------------------------------------End----------------------------------- 2025-04-02 22:13:28.930 +05:30 [WRN] Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits. ----------------------------------------End----------------------------------- 2025-04-02 22:13:28.965 +05:30 [WRN] No XML encryptor configured. Key {399a064b-4ce5-405b-87a2-60b058787205} may be persisted to storage in unencrypted form. ----------------------------------------End----------------------------------- 2025-04-02 22:13:29.029 +05:30 [WRN] The WebRootPath was not found: C:\inetpub\wwwroot\ExWebApi\KTI\Sang.KTI.WebApi\wwwroot. Static files may be unavailable. ----------------------------------------End----------------------------------- 2025-04-02 22:22:04.787 +05:30 [ERR] Connection ID "16429131455143084847", Request ID "80000344-0003-e400-b63f-84710c7967bb": An unhandled exception was thrown by the application. System.Exception: User not found at SangWebApi.Controllers.AuthController.GetToken(Int32 userId) at SangWebApi.Controllers.AuthController.UserLogin(String LoginName, String Password) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync() ----------------------------------------End-----------------------------------