Hello,
I am receiving the error "This SqlTransaction has completed; it is no longer usable" when embedding an SSRS report in an iframe. The report loads fine the first
time, but errors after that. Using SSRS version 14.0.600.1453.
I have looked at several forums regarding this error but have not found any solution.
Here is the error from the log file:
20-10:48:00:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ExecutionNotFoundException: , Microsoft.ReportingServices.Diagnostics.Utilities.ExecutionNotFoundException: The report execution j4fv22yorfcud1jjd0k50245 has expired or cannot
be found.;
library!ReportServer_0-1!2ca8!02/18/2020-10:48:00:: w WARN: Microsoft.ReportingServices.Diagnostics.Utilities.ExecutionNotFoundException: The report execution j4fv22yorfcud1jjd0k50245 has expired or cannot be found.
at Microsoft.ReportingServices.Library.DatabaseSessionStorage.WriteLockSession(SessionReportItem sessReport, Boolean bCheckVersion)
at Microsoft.ReportingServices.Library.SessionReportItem.WriteLockSession(Boolean bCheckVersion)
at Microsoft.ReportingServices.Library.RenderStrategyBase.LockSession()
at Microsoft.ReportingServices.Library.RenderStrategyBase.ExecuteStrategy(OnDemandProcessingResult& processingResult)
library!ReportServer_0-1!2ca8!02/18/2020-10:48:00:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database. This may be due to a connection failure, timeout
or low disk condition within the database.;
library!ReportServer_0-1!2ca8!02/18/2020-10:48:00:: e ERROR: Transaction commit failed. Exception thrown: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: An error occurred within the report server database. This may be
due to a connection failure, timeout or low disk condition within the database. ---> System.InvalidOperationException: This SqlTransaction has completed; it is no longer usable.
at System.Data.SqlClient.SqlTransaction.ZombieCheck()
at System.Data.SqlClient.SqlTransaction.Commit()
at Microsoft.ReportingServices.Library.ConnectionManager.CommitTransaction()
--- End of inner exception stack trace ---
at Microsoft.ReportingServices.Library.Storage.WrapAndThrowKnownExceptionTypes(Exception e)
at Microsoft.ReportingServices.Library.ConnectionManager.CommitTransaction()
webserver!ReportServer_0-1!2ca8!02/18/2020-10:48:00:: e ERROR: Reporting Services error Microsoft.ReportingServices.Diagnostics.Utilities.RSException: An error occurred within the report server database. This may be due to a connection failure, timeout
or low disk condition within the database. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition
within the database. ---> System.InvalidOperationException: This SqlTransaction has completed; it is no longer usable.
at System.Data.SqlClient.SqlTransaction.ZombieCheck()
at System.Data.SqlClient.SqlTransaction.Commit()
at Microsoft.ReportingServices.Library.ConnectionManager.CommitTransaction()
--- End of inner exception stack trace ---
at Microsoft.ReportingServices.Library.Storage.WrapAndThrowKnownExceptionTypes(Exception e)
at Microsoft.ReportingServices.Library.ConnectionManager.CommitTransaction()
at Microsoft.ReportingServices.Library.SessionReportItem.ThreadNoLongerUseThisSession()
at Microsoft.ReportingServices.Library.ReportExecutionBase.InternalExecuteReport()
at Microsoft.ReportingServices.Library.ReportExecutionBase.Execute()
at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
--- End of inner exception stack trace ---
at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
at Microsoft.ReportingServices.Library.ExecutionDisposerProxy.ExecuteReport()
at Microsoft.ReportingServices.Library.RenderReportAction.PerformExecution()
at Microsoft.ReportingServices.Library.RenderReportAction.Render()
at Microsoft.ReportingServices.Library.StreamRequestHandler.RenderReport(SessionfulClientRequest sessionManager)
at Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.RenderReport(SessionfulClientRequest sessionManager)
at Microsoft.ReportingServices.Library.StreamRequestHandler.PerformStreamedOperation(StreamedOperation operation)
at Microsoft.ReportingServices.Library.StreamRequestHandler.RenderItem(ItemType itemType)
at Microsoft.ReportingServices.Library.StreamRequestHandler.ExecuteCommand()
at Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.RenderPage()