ThreadAbortException

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default ThreadAbortException

    Just moved my app. to V1.1 on W/2003 using .Net studio
    2003...

    It runs a lengthy process, sending progress output. The
    web app dies EXACTLY 105 seconds into the process. I
    checked all settings in IIS, machine.config and Web.config.

    The exception is a System.Threading.ThreadAbortException.
    I don't have any separate threads.
    Parser Error Message: The XML file
    c:\windows\microsoft.net\framework\v1.1.4322
    \Config\machine.config could not be loaded. Attempted to
    access an unloaded AppDomain.

    HELP - please use email
    David Guest

  2. Similar Questions and Discussions

    1. ThreadAbortException: Thread was aborted exception???
      I've got a WebServices application that uses Crystal Reports to produce and then export Invoices to PDF format. Without getting into too many...
    2. An unhandled exception of type 'System.Threading.ThreadAbortException' occurred in Unknown Module.
      Interesting problem. We have narrowed it down to the exact cause, and would like an explanation of what's going on behind the scenes. Simple bit...
    3. W/2003, VS/2003, SQL2000 and ThreadAbortException
      Moved an app from W/2000 Asp V1.0 to W/2003, VS/2003, ASPV 1.1 Page runs a long job, uploading 2 large fixed length files (300,000 rows) into...
    4. ThreadAbortException Encountered
      Hi we are getting ThreadAbortException error message on one of our .net(1.1) server. The error is get displayed in one of .aspx page, which is...
  3. #2

    Default Re: ThreadAbortException

    Hi,
    can you find machine.config in
    c:\WINNT\Microsoft.NET\Framework\v1.0.3705\CONFIG\ machine.config ?

    or did you alter any entry in the machine.config ?

    Natty Gur, CTO
    Dao2Com Ltd.
    28th Baruch Hirsch st. Bnei-Brak
    Israel , 51114

    Phone Numbers:
    Office: +972-(0)3-5786668
    Fax: +972-(0)3-5703475
    Mobile: +972-(0)58-888377

    Know the overall picture


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

  4. #3

    Default RE: ThreadAbortException

    Hi David,

    Did you change machine.config after installing .net framework 1.1? I
    suggest you copy a new one from another machine and test it again, please
    do remember to backup first.

    What is more, does the problem happen on a new web application? If you
    reboot machine or restart IIS service, did you still met this problem?

    I look forward to hearing from you.

    Have a nice day!

    Regards,
    HuangTM
    This posting is provided "AS IS" with no warranties, and confers no rights.

    Tian Min Huang Guest

  5. #4

    Default Re: ThreadAbortException

    The only change to macine.Config is upping the TimeOut setting from 90
    seconds to 900 seconds.



    I have created an aspx page that uses Sql server, one that uses IBM's
    Universe database, and one that only has a timer, and does nothing - all
    three have the same issue.



    I've reviewed Machine.Config, Web.Config the SQL connection settings and the
    SQL Command settings - nothing helps.



    IIS has been restarted numerous times - the machine booted - all the typical
    "Microsoft" fixes :-o



    I've not created any new app's, as I don't see the point - rewriting an
    application that worked on v1.0, failed on v1.1 - I don't think it's going
    to fix itself by recreating even a portion of the process in another app.
    Maybe I'm wrong, but I see this as either an obscure esoteric setting deep
    in the bowels of .Net that I'm unaware of, or more likely, a bug in the 1.1
    version.







    "Tian Min Huang" <timhuang@online.microsoft.com> wrote in message
    news:u4sdjVkQDHA.1724@cpmsftngxa09.phx.gbl...
    > Hi David,
    >
    > Did you change machine.config after installing .net framework 1.1? I
    > suggest you copy a new one from another machine and test it again, please
    > do remember to backup first.
    >
    > What is more, does the problem happen on a new web application? If you
    > reboot machine or restart IIS service, did you still met this problem?
    >
    > I look forward to hearing from you.
    >
    > Have a nice day!
    >
    > Regards,
    > HuangTM
    > This posting is provided "AS IS" with no warranties, and confers no
    rights.
    >
    >

    David Waz... Guest

  6. #5

    Default ThreadAbortException

    Hi All
    I am calling a VB Dll from VB.Net Web Service . When I call the VB dll it does its job perfectly fine but when the control returns to vb.net web Service then I get a ThreadAbortException exception (message is -> "thread was being aborted"

    This problem does not occur however if I call the same VB Component from
    windows app or windows service.
    Is there anything I can do to prevent this from happening??

    Thanks in advance
    Regards
    Nitu Dua
    nitu Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139