Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

ExactTarget - What's Your Score
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
click here
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Install It!  ThreadAbortException: Thread was being aborted While upgrading
Previous Previous
 
Next Next
New Post 4/28/2008 10:58 AM
Resolved
User is offline Rad Srag
20 posts
10th Ranked


ThreadAbortException: Thread was being aborted While upgrading 

Hello all,

Over the past few days, I've been bringing a 3.2.2 up to date to version 4.8.2. My setup:

  • Windows Server 2003 Standard PS1
  • SQL Server 2005 Enterprise
  • ASP.NET 2.0

I've upgraded using the following DNN versions:

  • 3.2.2 (Initial version)
  • 3.7.7
  • 4.4.1
  • 4.8.2
  • Upgrading using Install.zip packages (I've also tried using the Upgrade.zip file, which rendered the same result)

Upgrades ran surprisingly smooth up to 4.4.1 to 4.8.2 where I get the following error:

Upgrading DotNetNuke
Current Assembly Version: 04.08.02
Current Database Version: 04.04.01
 
Upgrade Status Report
00:00:00.031 - Upgrading to Version: 4.8.2
00:00:00.390 -   Executing Script: 04.05.00.SqlDataProvider 
Success
00:00:04.328 -   Executing Script: 04.05.01.SqlDataProvider 
Success
00:00:05.812 -   Executing Script: 04.05.02.SqlDataProvider 
Success
00:00:07.828 -   Executing Script: 04.05.03.SqlDataProvider 
Success
00:00:09.031 -   Executing Script: 04.05.04.SqlDataProvider 
Success
00:00:10.296 -   Executing Script: 04.05.05.SqlDataProvider 
Success
00:00:11.484 -   Executing Script: 04.06.00.SqlDataProvider 
Success
00:00:14.062 -   Executing Script: 04.06.01.SqlDataProvider 
Success
00:00:15.171 -   Executing Script: 04.06.02.SqlDataProvider 
Success
00:00:16.281 -   Executing Script: 04.07.00.SqlDataProvider 
Success
00:00:19.468 -   Executing Script: 04.08.00.SqlDataProvider 
Success
00:00:21.484 -   Executing Script: 04.08.01.SqlDataProvider 
Success
00:00:22.718 -   Executing Script: 04.08.02.SqlDataProvider 
Success
00:00:23.859 - Performing General Upgrades
00:01:29.609 - Installing Module File Adsense_01.00.01_Install:
 

Server Error in '/' Application.

Thread was being aborted.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Threading.ThreadAbortException: Thread was being aborted.

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:
 
[ThreadAbortException: Thread was being aborted.]
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +495
   System.Web.ApplicationStepManager.ResumeSteps(Exception error) +590
   System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +140
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +426
 

Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

 

I've read several posts about this error, mainly curly brakets issue fixed in 4.4.0, none of which seem to apply to my setup.

A few notes:

  • The error does not always occure at the same place. Above the error occured at Installing Module File Adsense_01.00.01_Install but it doesn't always occure at that step, but always after Performing General Upgrades which seem to take an awful long time to complete (> 1min.).
  • The w3wp.exe is taking up a lot of CPU time.

Any insight about this issue will be greatly appreciated

 


RadSrag
 
New Post 5/8/2008 1:13 PM
User is offline Andrew Galbraith Ryer
17 posts
10th Ranked


Re: ThreadAbortException: Thread was being aborted While upgrading 

I had similar issues and adding shutdownTimeout to the httpRuntime element in web.config took care of it. Here's my httpRuntime setting:

 <httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" requestLengthDiskThreshold="8192" shutdownTimeout="300" />

From what I could see, this is what was going on: the install/upgrade triggers an applicaiton restart, but the thread doing the actual installation doesn't have time to finish. Eventually it gets aborted, generating the exception and the incomplete install.


-Drew
That's AC current for ya!
 
New Post 5/9/2008 7:57 AM
User is offline Rad Srag
20 posts
10th Ranked


Re: ThreadAbortException: Thread was being aborted While upgrading 

Thanks Drew, I'll give it a show.

Noticed that having the EnableCachePersistence="True" puts a significant load on the CPU. I managed to successfully complete my installation after setting this value to false.

<

appSettings><add key="EnableCachePersistence" value="false" />

 

 


RadSrag
 
New Post 5/9/2008 11:42 AM
User is offline Andrew Galbraith Ryer
17 posts
10th Ranked


Re: ThreadAbortException: Thread was being aborted While upgrading 

It's all about getting things done before that shutdown timeout. Based on my testing, the default timeout is 2 minutes. If you can speed things up enough, you'll get in under the wire. I made numerous tweaks to speed things up, but at some point my site got so large that I couldn't get by this issue. I couldn't install the DNN Store module no matter what I tried. That's what led me to investigate this.


-Drew
That's AC current for ya!
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Install It!  ThreadAbortException: Thread was being aborted While upgrading
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Dnaxp.Net
Dnaxp.Net offers a comprehensive base of information, resources, and support for DotNetNuke.
www.dnaxp.net
DNNMasters - modules, consulting, development
DNNMasters developers are involved in DNN development since DNN 1.0.9 and today we offer a broad range of DNN related products and services including custom development of modules, help with ing third party modules for specific needs, general DNN technical support and administrative services.
www.dnnmasters.com
Cygnusoft Custom Software
Cygnusoft has been providing cutting-edge custom software solutions for 20 years. Cygnusoft is also a leading start-up incubator, helping our partners build successful new businesses.
www.cygnusoft.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke® logo are registered trademarks of DotNetNuke Corporation
Hosted by MaximumASP