Application Metadata (AppInfoModel)
  • Application Name & Version DSTAPI v4.1.0.0
  • App Description A lightweight, high-performance DST api client handler
  • App Type ASP .NET 8 CORE API
  • Environment Mode Server
  • Token D5EE2R6ER6D3FF54E359
Device & Client Profile (PhysicalDeviceInformation)
  • Form Factor Desktop Workspace
  • Manufacturer & Model P3611 Microsoft Windows 10.0.20348
  • Platform / OS .NET 8.0.29
  • Client IP Address 190.92.174.107
  • Exception Status & Mode Flags
    Status: Unhandled Mode: Production
Code Reference & Location
Timestamp 2026-08-06 22:37:06 -07:00
Line Number Line 31
Namespace System
Page / Component Name Object
Method Name OnExceptionAsync
Site Map System - Object/OnExceptionAsync
File Path Source D:\Blazor\DSTAPI\Attributes\LogExceptionAttribute.cs
Exception Message Payload
Primary Message
Unable to cast object of type 'System.String' to type 'System.DateTime'.
Full Stack Trace Diagnostics
   at Microsoft.Data.SqlClient.SqlBuffer.get_DateTime()
   at Microsoft.Data.SqlClient.SqlDataReader.GetDateTime(Int32 i)
   at lambda_method376(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at DSTAPI.Controllers.Sales_Team_API.DashBoardController.DashBoardData() in D:\Blazor\DSTAPI\Controllers\Sales_Team_API\DashBoardController.cs:line 35
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>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.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)