Stéphane, Jordan or Peter,
I too am seeing this error and after reading this thread I also began to see the process abort at the 2 minute mark. I know it's not a script timeout as I can run other scripts without a timeout issue. For example I moved all the documents to a new storage provider and that took a good 15-20 minutes and the script never threw an error.
This was never a problem till I attempted to upgrade go Version 05.02.09 and now I'm currently on 05.02.10. I'm running 05.02.02 in production and do not have any problems re-indexing the portal. The script with the older version runs for about 20 minutes and then completes. My development box is running DNN 04.09.05, DMX 05.02.10, IIS 6, Windows 2003 Server. IIS timeout is set to over 200 minutes and the app pool is setup with full control. The control and the execution timeout are the only things that are different between production and development at this time. When the script fails I get the thread aborted error listed above, and with some additional digging I found the following error in the event viewer. I'm not sure if this will help or not but wanted to pass this along. Any additional information or if anyone has resolved this problem would be greatly appreciated.
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 9/9/2010
Time: 11:33:59 AM
User: N/A
Computer: 200599-MIGRATIO
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 9/9/2010 11:33:59 AM
Event time (UTC): 9/9/2010 4:33:59 PM
Event ID: c469999735cd4dd781996c661d2d5d3b
Event sequence: 48
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/760326274/Root-8-129285234547493447
Trust level: Full
Application Virtual Path: /
Application Path:
Machine name: 200599-MIGRATIO
Process information:
Process ID: 3280
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: ThreadAbortException
Exception message: Thread was being aborted.
Request information:
Request URL:/RunScriptExecute.aspx
User host address:
User:
Is authenticated: True
Authentication Type: Forms
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)
at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.