Application Metadata (AppInfoModel)
  • Application Name & Version DSTAPI v4.1.9.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 ATUL-SINGH Microsoft Windows 10.0.26200
  • Platform / OS .NET 8.0.21
  • Client IP Address 106.208.154.133
  • Exception Status & Mode Flags
    Status: Unhandled Mode: Development
Code Reference & Location
Timestamp 2026-09-29 11:56:12 +05:30
Line Number Line 281
Namespace DSTAPI.Controllers.Sales.Sales
Page / Component Name SalesDetailsController
Method Name DownloadPdf
Site Map DSTAPI.Controllers.Sales.Sales - SalesDetailsController/DownloadPdf
File Path Source D:\Blazor\DSTAPI\Controllers\Sales\Sales\SalesDetailsController.cs
Exception Message Payload
Primary Message
A transport-level error has occurred when receiving results from the server. (provider: Session Provider, error: 19 - Physical connection is not usable)
Full Stack Trace Diagnostics
   at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__211_0(Task`1 result)
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)
   at dst.admin.web.services.repo.Sales.Sales.Details.Repository.SalesDetailsRepository.SalesInvoiceDetails(Int32 id, CancellationToken token) in D:\Core Application\DST Admin Web Services\Sales\Sales\Details\Repository\SalesInvoiceDetails.cs:line 29
   at dst.admin.web.services.repo.Sales.Sales.Details.Repository.SalesDetailsRepository.ExportInvoiceInPDFFile(Int32 id, PaperType type, CancellationToken cancellationToken) in D:\Core Application\DST Admin Web Services\Sales\Sales\Details\Repository\ExportPDFFile.cs:line 14
   at DSTAPI.Controllers.Sales.Sales.SalesDetailsController.DownloadPdf(Int32 id, PaperType docsize, CancellationToken cancellationToken) in D:\Blazor\DSTAPI\Controllers\Sales\Sales\SalesDetailsController.cs:line 248