Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...ThreadAbortException: Thread was being aborted While upgradingThreadAbortException: Thread was being aborted While upgrading
Previous
 
Next
New Post
4/28/2008 1:58 PM
 

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 4:13 PM
 

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.


Andrew M. Galbraith Ryer

There is nothing like looking, if you want to find something. You certainly usually find something, if you look, but it is not always quite the something you were after.
     -J.R.R. Tolkein
 
New Post
5/9/2008 10:57 AM
 

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 2:42 PM
 

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.


Andrew M. Galbraith Ryer

There is nothing like looking, if you want to find something. You certainly usually find something, if you look, but it is not always quite the something you were after.
     -J.R.R. Tolkein
 
New Post
11/18/2008 4:39 PM
 

Ah, this is helping me. with my DNN install. Changing to this:

<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="18192" requestLengthDiskThreshold="18192" shutdownTimeout="900" />

GREATLY, helped prevent errors on install and install resources. OUr DNN has 150 child portals and many thousands of pages. The upgrades have been fialing and failing due to what I think are timeout issues. The line change above in web.config HELPED. Just fyi to everyone searching. I've spent two weeks trying to get an upgrade to take and this finally seems to have done the trick. My god why isn't there a better DNN upgrade help/faq type of document that would tell us these things to try?

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...ThreadAbortException: Thread was being aborted While upgradingThreadAbortException: Thread was being aborted While upgrading


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out