Results 1 to 2 of 2

Thread: Error -System.Threading.ThreadAbortException: Thread was being aborted.

  1. #1
    RiyaC is offline VB.NET Forum Newbie
    .NET Framework
    .NET 4.5
    Join Date
    Feb 2016
    Posts
    1
    Reputation
    0

    Error -System.Threading.ThreadAbortException: Thread was being aborted.


    While using mail merge in windows services I am getting error as System.Threading.ThreadAbortException: Thread was being aborted. at code line wordDoc
    .MailMerge.OpenDataSource("Path of the file"). I have used thread to merge multiple word documents.

    can anyone knows how to solve it.




  2. #2
    JohnH's Avatar
    JohnH is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.5
    Join Date
    Dec 2005
    Location
    Norway
    Posts
    15,090
    Reputation
    2804
    Are you aware of Considerations for server-side Automation of Office ? As such I would consider letting the service communicate with a desktop application that does the office automation.
    How to format posts with code blocks etc - present the problem/post properly

    Visual Studio Community 2017

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •