Code: Select all
Error initiating review reminder notifications.
Exception: could not execute query [ SELECT o1_.UserId as y0_, p2_.ProductId as y1_, o1_.UserId as y2_, p2_.ProductId as y3_ FROM ac_OrderItems this_ inner join ac_Orders o1_ on this_.OrderId=o1_.OrderId inner join ac_Users u3_ on o1_.UserId=u3_.UserId left outer join ac_OrderShipments os4_ on this_.OrderShipmentId=os4_.OrderShipmentId inner join ac_Products p2_ on this_.ProductId=p2_.ProductId WHERE this_.OrderItemTypeId = @p0 and p2_.AllowReviews = @p1 and not (p2_.VisibilityId = @p2) and (this_.ParentItemId is null or this_.ParentItemId = this_.OrderItemId) and ((p2_.ShippableId > @p3 and os4_.ShipDate is not null and os4_.ShipDate < @p4 and os4_.ShipDate > @p5) or (p2_.ShippableId = @p6 and o1_.OrderDate is not null and o1_.OrderDate < @p7 and o1_.OrderDate > @p8)) and p2_.ProductId not in (SELECT distinct this_0_.ProductId as y0_ FROM ac_ProductReviews this_0_ inner join ac_ReviewerProfiles rp1_ on this_0_.ReviewerProfileId=rp1_.ReviewerProfileId WHERE rp1_.Email = u3_.Email) GROUP BY o1_.UserId, p2_.ProductId ] Name:cp0 - Value:0 Name:cp1 - Value:True Name:cp2 - Value:2 Name:cp3 - Value:0 Name:cp4 - Value:2/26/2015 12:06:10 AM Name:cp5 - Value:1/28/2015 12:06:10 AM Name:cp6 - Value:0 Name:cp7 - Value:2/26/2015 12:06:10 AM Name:cp8 - Value:1/28/2015 12:06:10 AM [SQL: SELECT o1_.UserId as y0_, p2_.ProductId as y1_, o1_.UserId as y2_, p2_.ProductId as y3_ FROM ac_OrderItems this_ inner join ac_Orders o1_ on this_.OrderId=o1_.OrderId inner join ac_Users u3_ on o1_.UserId=u3_.UserId left outer join ac_OrderShipments os4_ on this_.OrderShipmentId=os4_.OrderShipmentId inner join ac_Products p2_ on this_.ProductId=p2_.ProductId WHERE this_.OrderItemTypeId = @p0 and p2_.AllowReviews = @p1 and not (p2_.VisibilityId = @p2) and (this_.ParentItemId is null or this_.ParentItemId = this_.OrderItemId) and ((p2_.ShippableId > @p3 and os4_.ShipDate is not null and os4_.ShipDate < @p4 and os4_.ShipDate > @p5) or (p2_.ShippableId = @p6 and o1_.OrderDate is not null and o1_.OrderDate < @p7 and o1_.OrderDate > @p8)) and p2_.ProductId not in (SELECT distinct this_0_.ProductId as y0_ FROM ac_ProductReviews this_0_ inner join ac_ReviewerProfiles rp1_ on this_0_.ReviewerProfileId=rp1_.ReviewerProfileId WHERE rp1_.Email = u3_.Email) GROUP BY o1_.UserId, p2_.ProductId] Stack Trace: at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) at NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters) at NHibernate.Loader.Criteria.CriteriaLoader.List(ISessionImplementor session) at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results) at NHibernate.Impl.CriteriaImpl.List(IList results) at NHibernate.Impl.CriteriaImpl.List[T]() at CommerceBuilder.Services.Scheduler.ReviewReminderService.DoReviewAlerts() at CommerceBuilder.Services.Scheduler.ReviewReminderService.ProcessReviewReminders() Inner Exception: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Inner Exception Stack Trace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() 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, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() at NHibernate.AdoNet.AbstractBatcher.ExecuteReader(IDbCommand cmd) at NHibernate.Loader.Loader.GetResultSet(IDbCommand st, Boolean autoDiscoverTypes, Boolean callable, RowSelection selection, ISessionImplementor session) at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) Inner Exception: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.Inner Exception Stack Trace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() 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, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() at NHibernate.AdoNet.AbstractBatcher.ExecuteReader(IDbCommand cmd) at NHibernate.Loader.Loader.GetResultSet(IDbCommand st, Boolean autoDiscoverTypes, Boolean callable, RowSelection selection, ISessionImplementor session) at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters)