2025-10-15 13:16:48.000 +05:30 WRN Using an in-memory repository. Keys will not be persisted to storage. 2025-10-15 13:16:48.051 +05:30 WRN Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits. 2025-10-15 13:16:48.070 +05:30 INF Creating key {f8aa5657-047f-45c7-abc0-2a592c1a604d} with creation date 2025-10-15 07:46:48Z, activation date 2025-10-15 07:46:48Z, and expiration date 2026-01-13 07:46:48Z. 2025-10-15 13:16:48.083 +05:30 WRN No XML encryptor configured. Key {f8aa5657-047f-45c7-abc0-2a592c1a604d} may be persisted to storage in unencrypted form. 2025-10-15 13:16:48.218 +05:30 INF Application started. Press Ctrl+C to shut down. 2025-10-15 13:16:48.219 +05:30 INF Hosting environment: Production 2025-10-15 13:16:48.219 +05:30 INF Content root path: C:\inetpub\wwwroot\Sang.StockCount.Mob.API 2025-10-15 13:16:48.233 +05:30 fd99ca9e-4b9a-406d-932e-1423f3a9f441 INF Request starting HTTP/1.1 HEAD http://103.120.178.195/Sang.StockCount.Mob.API/swagger/index.html - null null 2025-10-15 13:16:48.335 +05:30 138e45ca-fea1-403e-8e4d-b0ecd8609d5f INF Request finished HTTP/1.1 HEAD http://103.120.178.195/Sang.StockCount.Mob.API/swagger/index.html - 404 null null 104.2904ms 2025-10-15 13:16:48.341 +05:30 138e45ca-fea1-403e-8e4d-b0ecd8609d5f INF Request reached the end of the middleware pipeline without being handled by application code. Request path: HEAD http://103.120.178.195/Sang.StockCount.Mob.API/swagger/index.html, Response status code: 404 2025-10-15 13:16:48.361 +05:30 fed70b2e-6ac4-47f8-ba92-1e5dcdc8d962 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.StockCount.Mob.API/swagger/index.html - null null 2025-10-15 13:16:48.461 +05:30 fed70b2e-6ac4-47f8-ba92-1e5dcdc8d962 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.StockCount.Mob.API/swagger/index.html - 200 null text/html;charset=utf-8 99.8186ms 2025-10-15 13:16:48.670 +05:30 bd44277a-b1d1-4cc2-9df4-44aa1f817a4a INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.StockCount.Mob.API/swagger/index.html - null null 2025-10-15 13:16:48.678 +05:30 bd44277a-b1d1-4cc2-9df4-44aa1f817a4a INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.StockCount.Mob.API/swagger/index.html - 200 null text/html;charset=utf-8 7.8007ms 2025-10-15 13:16:48.722 +05:30 daf3e1fd-8bd2-4659-ac1f-54fc10a20195 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.StockCount.Mob.API/swagger/swagger-ui-bundle.js - null null 2025-10-15 13:16:48.729 +05:30 73efdcbd-85ec-4179-aef7-78e42bfc0512 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.StockCount.Mob.API/swagger/swagger-ui.css - null null 2025-10-15 13:16:48.743 +05:30 73efdcbd-85ec-4179-aef7-78e42bfc0512 INF Sending file. Request path: '/swagger-ui.css'. Physical path: 'N/A' 2025-10-15 13:16:48.752 +05:30 daf3e1fd-8bd2-4659-ac1f-54fc10a20195 INF Sending file. Request path: '/swagger-ui-bundle.js'. Physical path: 'N/A' 2025-10-15 13:16:48.764 +05:30 23a504aa-5330-4869-b363-0360d1b8ce28 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.StockCount.Mob.API/swagger/swagger-ui-standalone-preset.js - null null 2025-10-15 13:16:48.772 +05:30 23a504aa-5330-4869-b363-0360d1b8ce28 INF Sending file. Request path: '/swagger-ui-standalone-preset.js'. Physical path: 'N/A' 2025-10-15 13:16:48.914 +05:30 73efdcbd-85ec-4179-aef7-78e42bfc0512 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.StockCount.Mob.API/swagger/swagger-ui.css - 200 144929 text/css 185.2229ms 2025-10-15 13:16:49.041 +05:30 23a504aa-5330-4869-b363-0360d1b8ce28 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.StockCount.Mob.API/swagger/swagger-ui-standalone-preset.js - 200 312163 text/javascript 276.5596ms 2025-10-15 13:16:49.088 +05:30 daf3e1fd-8bd2-4659-ac1f-54fc10a20195 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.StockCount.Mob.API/swagger/swagger-ui-bundle.js - 200 1061536 text/javascript 365.6079ms 2025-10-15 13:16:49.272 +05:30 ba8d7a08-f632-4d99-9158-e6f5dacaa494 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.StockCount.Mob.API/swagger/v1/swagger.json - null null 2025-10-15 13:16:49.290 +05:30 a3068575-3ee5-49c4-b2e2-db03efeec055 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.StockCount.Mob.API/swagger/favicon-32x32.png - null null 2025-10-15 13:16:49.291 +05:30 a3068575-3ee5-49c4-b2e2-db03efeec055 INF Sending file. Request path: '/favicon-32x32.png'. Physical path: 'N/A' 2025-10-15 13:16:49.291 +05:30 a3068575-3ee5-49c4-b2e2-db03efeec055 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.StockCount.Mob.API/swagger/favicon-32x32.png - 200 628 image/png 1.2493ms 2025-10-15 13:16:49.421 +05:30 ba8d7a08-f632-4d99-9158-e6f5dacaa494 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.StockCount.Mob.API/swagger/v1/swagger.json - 200 null application/json;charset=utf-8 149.4904ms 2025-10-15 13:23:40.481 +05:30 INF Application is shutting down... 2025-10-15 20:11:09.049 +05:30 WRN Using an in-memory repository. Keys will not be persisted to storage. 2025-10-15 20:11:09.092 +05:30 WRN Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits. 2025-10-15 20:11:09.111 +05:30 INF Creating key {974d1fee-5bb5-4dec-927d-7465f695e344} with creation date 2025-10-15 14:41:09Z, activation date 2025-10-15 14:41:09Z, and expiration date 2026-01-13 14:41:09Z. 2025-10-15 20:11:09.121 +05:30 WRN No XML encryptor configured. Key {974d1fee-5bb5-4dec-927d-7465f695e344} may be persisted to storage in unencrypted form. 2025-10-15 20:11:09.248 +05:30 INF Application started. Press Ctrl+C to shut down. 2025-10-15 20:11:09.249 +05:30 INF Hosting environment: Production 2025-10-15 20:11:09.249 +05:30 INF Content root path: C:\inetpub\wwwroot\Sang.StockCount.Mob.API 2025-10-15 20:11:09.258 +05:30 403bc2f6-50b4-428b-9439-22bf54480e21 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.StockCount.Mob.API/user/getuserdetails?entityId=2 - null null 2025-10-15 20:11:09.332 +05:30 403bc2f6-50b4-428b-9439-22bf54480e21 INF HTTP request: Path: /user/getuserdetails QueryString: ?entityId=2 Headers: {Accept-Encoding: gzip}, {Host: 103.120.178.195}, {User-Agent: Dart/3.4 (dart:io)} Host: 103.120.178.195 Body: 2025-10-15 20:11:09.356 +05:30 510a3f45-5ae3-4b58-9c52-e6d188f86525 INF Executing endpoint 'Sang.Mobile.Api.Controllers.UserController.GetUserDetails (Sang.Mobile.Api)' 2025-10-15 20:11:09.381 +05:30 510a3f45-5ae3-4b58-9c52-e6d188f86525 INF Route matched with {action = "GetUserDetails", controller = "User"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetUserDetails(Int32) on controller Sang.Mobile.Api.Controllers.UserController (Sang.Mobile.Api). 2025-10-15 20:11:09.735 +05:30 510a3f45-5ae3-4b58-9c52-e6d188f86525 ERR Invalid Entity 2025-10-15 20:11:09.749 +05:30 510a3f45-5ae3-4b58-9c52-e6d188f86525 ERR Error ocurred switching DB by entity.System.ArgumentException: Invalid Entity at Sang.Service.Common.Repositories.DefaultDbRepository.GetDatabaseName(Int32 entityId) at Sang.Service.Common.CommonService.CommonOfflineEntityService.SwitchDBByEntity(Int32 entityId) 2025-10-15 20:11:09.750 +05:30 510a3f45-5ae3-4b58-9c52-e6d188f86525 ERR Invalid Entity 2025-10-15 20:11:09.753 +05:30 510a3f45-5ae3-4b58-9c52-e6d188f86525 ERR Getting User details failed. System.ArgumentException: Invalid Entity at Sang.Service.Common.Repositories.DefaultDbRepository.GetDatabaseName(Int32 entityId) at Sang.Service.Common.CommonService.CommonOfflineEntityService.SwitchDBByEntity(Int32 entityId) at Sang.Mobile.Api.Repositories.UserRepository.GetUserDetails(Int32 entityId) at Sang.Mobile.Api.Services.UserService.GetUserDetails(Int32 entityId) at Sang.Mobile.Api.Controllers.UserController.GetUserDetails(Int32 entityId) 2025-10-15 20:11:09.763 +05:30 510a3f45-5ae3-4b58-9c52-e6d188f86525 INF Executing ObjectResult, writing value of type 'Sang.Service.Common.ApiResponse.ApiResponse'. 2025-10-15 20:11:09.857 +05:30 510a3f45-5ae3-4b58-9c52-e6d188f86525 INF Executed action Sang.Mobile.Api.Controllers.UserController.GetUserDetails (Sang.Mobile.Api) in 471.1727ms 2025-10-15 20:11:09.860 +05:30 510a3f45-5ae3-4b58-9c52-e6d188f86525 INF Executed endpoint 'Sang.Mobile.Api.Controllers.UserController.GetUserDetails (Sang.Mobile.Api)' 2025-10-15 20:11:09.862 +05:30 510a3f45-5ae3-4b58-9c52-e6d188f86525 INF HTTP Response: StatusCode: 500 Headers: {X-Correlation-Id: 403bc2f6-50b4-428b-9439-22bf54480e21}, {Content-Type: application/json; charset=utf-8}, {Content-Length: 79} Body: {"status":"Failure","statusCode":5000,"message":"Invalid Entity","result":null} 2025-10-15 20:11:09.873 +05:30 510a3f45-5ae3-4b58-9c52-e6d188f86525 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.StockCount.Mob.API/user/getuserdetails?entityId=2 - 500 79 application/json; charset=utf-8 617.6191ms 2025-10-15 20:22:09.047 +05:30 INF Application is shutting down...