[Mono-aspnet-list] Thread Abort Exception on application update

Marek Habersack grendel at twistedcode.net
Tue Oct 19 17:29:28 EDT 2010

On Tue, 19 Oct 2010 16:49:40 -0400
Gonzalo Paniagua Javier <gonzalo.mono at gmail.com> wrote:

> On Tue, 2010-10-19 at 15:30 +0200, APS wrote:
> > Hi,
> > 
> > I'm testing the new Mono 2.8 release using the provided VMWare
> > machine.
> > Every time I replace an assembly or I change web.config at the first
> > loading I obtain the following error, if after the error I press
> > refresh on browser it works.
> > 
> > System.Threading.ThreadAbortException: Thread was being aborted
> >   at System.IO.InotifyWatcher.StartDispatching
> I guess you're not running a recent version of Mono. I believe this has
> already been fixed.
It still happens on AppDomain shutdown sometimes.

@APS: this is part of a normal ASP.NET activity. Whenever you modify anything in ~/bin/ or the
top-level Web.config, the application's AppDomain is restarted. This happens via the
FileSystemWatcher which is set up to observe changes to those (among others) locations. The
ThreadAbortException should not happen here, but is harmless.


More information about the Mono-aspnet-list mailing list