Microsoft KB Archive/936253

From BetaArchive Wiki
Knowledge Base


FIX: Error messages are logged, and some threads may not sort the data successfully if many threads are displaying a report in SQL Server 2005 Reporting Services

Article ID: 936253

Article Last Modified on 6/22/2007



APPLIES TO

  • Microsoft SQL Server 2005 Reporting Services



Bug #: 50001192 (SQL Hotfix)

SYMPTOMS

Consider the following scenario. You have a published report in Microsoft SQL Server 2005 Reporting Services. The report contains an interactive sorting column. In this scenario, some threads may not sort the data successfully if many threads are displaying the report. Additionally, error messages that resemble the following are logged in the Reporting Services log file:

w3wp!runningjobs!2a!04/11/2007-16:56:42:: w WARN: Thread pool pressure. Using current thread for a work item.

w3wp!session!c!4/11/2007-16:56:43:: e ERROR: Sql Error in AddReportToDB: System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.ReportingServices.Library.InstrumentedSqlCommand.ExecuteNonQuery()
at Microsoft.ReportingServices.Library.DatabaseSessionStorage.SetSessionData(SessionReportItem sessionReport, ConnectionManager connectionManager)

RESOLUTION

Cumulative update information

To resolve this problem, obtain the cumulative update package (build 3175) for SQL Server 2005 Service Pack 2 (SP2). For more information, click the following article number to view the article in the Microsoft Knowledge Base:

936305 Cumulative update package 2 for SQL Server 2005 Service Pack 2 is available


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Keywords: kbpubtypekc kbqfe kbfix kbsql2005rs kbexpertiseadvanced KB936253