SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Thread being aborted at subscription


Thread being aborted at subscription

Author
Message
stanja-271190
stanja-271190
Valued Member
Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)

Group: General Forum Members
Points: 56 Visits: 51
Hi ,

I receive very often the error message 'Thread being aborted' at several subscriptions of different reports.
The strange thing is that it's not always the same subscription/report .
Sometimes there's no problem at all . Wen i run the report again everything goes well.
Can anyone help how to avoid this in the future ?

tx a lot for helping
regards stanja

This i found at the logfile

... brary!WindowsService_7!298!06/29/2009-07:30:03:: i INFO: Schedule 2c673706-ea18-427e-a52a-265287cea633 execution completed at 06/29/2009 07:30:03.
library!WindowsService_7!5bc!06/29/2009-07:30:09:: i INFO: RenderForNewSession('/Hoboken Reporting/Management - Weekly sales giftvouchers')
runningjobs!WindowsService_7!298!06/29/2009-07:30:47:: i INFO: Adding: 1 running jobs to the database
library!WindowsService_7!98!06/29/2009-07:37:06:: i INFO: Schedule 5a4df516-c48e-4496-b86c-4624fef0d9d0 executed at 06/29/2009 07:37:06.
schedule!WindowsService_7!98!06/29/2009-07:37:06:: Creating Time based subscription notification for subscription: 87c92bdb-9614-4c5b-af47-a6263b26f871
library!WindowsService_7!98!06/29/2009-07:37:06:: i INFO: Schedule 5a4df516-c48e-4496-b86c-4624fef0d9d0 execution completed at 06/29/2009 07:37:06.
runningjobs!WindowsService_7!298!06/29/2009-07:37:20:: i INFO: CancelableJobExecution.Execute caught some other thread abort exception
notification!WindowsService_7!298!06/29/2009-07:37:20:: e ERROR: Error occured processing notification. Thread was being aborted.
appdomainmanager!DefaultDomain!ae4!06/29/2009-07:38:01:: w WARN: Shrink notification failed due to Thread Abort.
appdomainmanager!DefaultDomain!ae4!06/29/2009-07:38:02:: w WARN: Shrink notification failed due to Thread Abort.
appdomainmanager!DefaultDomain!ae4!06/29/2009-07:38:08:: w WARN: Shrink notification failed due to Thread Abort.
appdomainmanager!DefaultDomain!ae4!06/29/2009-07:38:08:: w WARN: Shrink notification failed due to Thread Abort.
appdomainmanager!DefaultDomain!ae4!06/29/2009-07:38:09:: w WARN: Shrink notification failed due to Thread Abort.
appdomainmanager!DefaultDomain!ae4!06/29/2009-07:38:42:: w WARN: Shrink notification failed due to Thread Abort.
library!WindowsService_7!98!06/29/2009-07:38:45:: i INFO: Call to CleanBatch()
library!WindowsService_7!98!06/29/2009-07:38:45:: i INFO: Cleaned 0 batch record
Vinny-262946
Vinny-262946
SSC Rookie
SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)

Group: General Forum Members
Points: 25 Visits: 415
I'm having a similar problem. Anyone run into this? We are running SSRS 2008 R1


e ERROR: Error sending email. System.Threading.ThreadAbortException: Thread was being aborted.
at ReportingServicesCDOInterop.MessageClass.set_HTMLBody(String pHTMLBody)
at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.ConstructMessageBody(IMessage message, Notification notification, SubscriptionData data)
at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.CreateMessage(Notification notification)
at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification notification)
notification!WindowsService_175!9d8!03/09/2013-06:01:18:: e ERROR: Error thrown by delivery provider: System.Threading.ThreadAbortException: Thread was being aborted.
at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification notification)
at Microsoft.ReportingServices.Library.NotificationQueueWorker.HandleNotification(QueueItem item)
notification!WindowsService_175!2994!03/09/2013-06:01:18:: i INFO: Handling subscription 2f3gg4ca-2104-4256-ac89-95e7b178630a to report CustomerInventory, owner: DOMAIN\USER, delivery extension: Report Server Email.
library!WindowsService_175!2994!03/09/2013-06:01:18:: i INFO: RenderForNewSession('/Folder/CustomerInventory')
library!WindowsService_175!3a20!03/09/2013-06:01:19:: i INFO: Initializing EnableExecutionLogging to 'True' as specified in Server system properties.
emailextension!WindowsService_175!3a20!03/09/2013-06:01:19:: e ERROR: Error sending email. System.Threading.ThreadAbortException: Thread was being aborted.
at ReportingServicesCDOInterop.MessageClass.set_HTMLBody(String pHTMLBody)
at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.ConstructMessageBody(IMessage message, Notification notification, SubscriptionData data)
at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.CreateMessage(Notification notification)
at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification notification)
notification!WindowsService_175!3a20!03/09/2013-06:01:19:: e ERROR: Error thrown by delivery provider: System.Threading.ThreadAbortException: Thread was being aborted.
at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification notification)
at Microsoft.ReportingServices.Library.NotificationQueueWorker.HandleNotification(QueueItem item)
notification!WindowsService_175!1270!03/09/2013-06:01:21:: i INFO: Handling subscription bfsssec-8c09-425e-89c4-bcde7788d5c1 to report Summary, owner: DOMAIN\USER, delivery extension: Report Server Email.
library!WindowsService_175!1270!03/09/2013-06:01:21:: i INFO: RenderForNewSession('/Folder/Summary')
library!WindowsService_175!2994!03/09/2013-06:01:25:: i INFO: Initializing EnableExecutionLogging to 'True' as specified in Server system properties.
Vinny-262946
Vinny-262946
SSC Rookie
SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)

Group: General Forum Members
Points: 25 Visits: 415
Restarting the SSRS service got everything back on track but I cannot trace the root cause of this
davoscollective
davoscollective
SSC Eights!
SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)

Group: General Forum Members
Points: 959 Visits: 1004
Take a look at this for troubleshooting reporting services logs http://blogs.msdn.com/b/deanka/archive/2010/02/16/troubleshooting-subscriptions-part-ii-using-the-report-services-trace-log-file.aspx

These both look like different issues.
Stanja appears to be related to the SQL Agent, Vinny looks to be an email server issue.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search