Timeout error

  • While running the reports few of them are turning up with the "timeout error". Also, sometimes there is no log for some reports though they have failed.

    The reports are timed subscriptions. The datasource is a DB2 and/or Oracle. I could capture the following error:

    ReportingServicesService!subscription!20!05/10/2008-02:14:15:: i INFO: Microsoft.ReportingServices.Diagnostics.Utilities.RSException: An internal error occurred on the report server. See the error log for more details. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details. ---> 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.ReadLockSnapshot(ConnectionManager connectionManager, Guid snapshotDataID)

    at Microsoft.ReportingServices.Library.SessionReportItem.ReadLockSnapshot(Guid snapshotDataID)

    at Microsoft.ReportingServices.Library.RSService.RenderAsLiveOrSnapshot(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters)

    at Microsoft.ReportingServices.Library.RSService.RenderFirst(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)

    --- End of inner exception stack trace ---

    at Microsoft.ReportingServices.Library.RSService.RenderFirst(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)

    at Microsoft.ReportingServices.Library.RenderFirstCancelableStep.Execute()

    at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()

    --- End of inner exception stack trace ---

    at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()

    at Microsoft.ReportingServices.Library.RenderFirstCancelableStep.RenderFirst(RSService rs, CatalogItemContext reportContext, ClientRequest session, JobType type, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)

    at Microsoft.ReportingServices.Library.ReportImpl.Render(String renderFormat, String deviceInfo)

    at Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider.SaveReport(Notification notification, SubscriptionData d)

    at Microsoft.ReportingServices.Delivery.ReportContentDelivery.ReportContentDeliveryProvider.Deliver(Notification notification)

    ReportingServicesService!library!20!05/10/2008-02:14:15:: Status: Failure writing file BT_SR_2008-05-10 : An internal error occurred on the report server. See the error log for more details.

    From what I see this error is inconclusive and it is not helping in any way.

    Do I accredit "network activity" as the cause for the these errors ? Or do we have a known resolution to this ?

    Thank you,

    Ninad Soman.

  • Finally I got the resolution.

    The reports were using DB2 datasource and there was a problem on the db side itself

    This was the error logged:

    Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for data set 'Day_Totals'., ;

    Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for data set 'Day_Totals'. ---> System.Data.OleDb.OleDbException: [DB2/SUN] SQL0911N The current transaction has been rolled back because of a deadlock or timeout. Reason code "68". SQLSTATE=40001

    The query was getting deadlocked or the DB was not responding, not sure what happened.

    Looking at the error it seems to be a DBA's task ahead.

    Thanks,

    Ninad Soman.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply