sometimes when we try to create sub site using site template or we might have some code that takes longer time to debug, it will time out and the error will show that "Thread was being aborted".
In my case I follow following steps and get rid from it.
1. In a basic text editor such as Notepad, open the web.config file
2. Press CTRL + F to open the Find dialog box.
3. Find the following tag:
<httpRuntime maxRequestLength="51200" />
4. Replace it with this tag:
<httpRuntime executionTimeout="6000" maxRequestLength="51200" />
Original Post: thread-was-being-aborted-error.
Recently I was working on sending mail using smtp server where I stuck on below error: IIS/SMTP - emails are stuck in mailroot/Queue ...
If you want to know which controlled fired post back at page load, here is some sample code. 1) for link button: string ctrlname = Page....