[c#] How to Avoid Response.End() "Thread was being aborted" Exception during the Excel file download

Looks to be the same question as:

When an ASP.NET System.Web.HttpResponse.End() is called, the current thread is aborted?

So it's by design. You need to add a catch for that exception and gracefully "ignore" it.