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

HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Site keeps falling over with "Under Construction" URLSite keeps falling over with "Under Construction" URL
Previous
 
Next
New Post
9/26/2011 3:21 AM
 
I recently moved PokerDIY to a new server with IIS7 and changed from Classic to Integrated mode (DNN 5.6.3). The site is super fast (Thanks DNN core!).

However, at least a few times a day my site will show the "Under Constuction" URL (http://www.pokerdiy.com/Install/Under...
 I've tweaked it from the default one to make it look better).

My Site ingdom) do not report to me that the site is down (it's a valid page), but all users get this URL. I can't find anything in the Event Viewer as to why this might be happening, and I have to recycle the App Pool to bring the site back up.

How can I troubleshoot this issue?

Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
9/27/2011 1:47 AM
 
AFAIR there are 3 possible execution paths that can end up at under construction - but the most common one is when the database becomes unavailable (network down/database down)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
9/27/2011 2:48 AM
 
Thanks Cathal,

The DB is on the same machine as the webserver. When you say DB down - what could cause this?

I just tried to hit the site and have seen something I've never seen before (may or may not be related - it went away after a refresh)

Server Error in '/' Application.

Recursive read lock acquisitions not allowed in this mode.

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.LockRecursionException: Recursive read lock acquisitions not allowed in this mode.

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.

Stack Trace: 

[LockRecursionException: Recursive read lock acquisitions not allowed in this mode.] System.Threading.ReaderWriterLockSlim.TryEnterReadLock(Int32 millisecondsTimeout) +417479 System.Threading.ReaderWriterLockSlim.TryEnterReadLock(TimeSpan timeout) +100 DotNetNuke.Collections.Internal.ReaderWriterLockStrategy.GetReadLock(TimeSpan timeout) +40 DotNetNuke.Collections.Internal.SharedDictionary`2.GetReadLock(TimeSpan timeOut) +39 DotNetNuke.Collections.Internal.SharedDictionary`2.GetReadLock() +58 DotNetNuke.ComponentModel.SimpleContainer.GetComponentType(Type contractType) +49 DotNetNuke.ComponentModel.SimpleContainer.GetComponent(Type contractType) +42 DotNetNuke.ComponentModel.AbstractContainer.GetComponent() +55 DotNetNuke.ComponentModel.ComponentFactory.GetComponent() +63 DotNetNuke.ComponentModel.ComponentBase`2.get_Instance() +47 DotNetNuke.HttpModules.RewriterUtils.OmitFromRewriteProcessing(String localPath) +38 DotNetNuke.HttpModules.RequestFilter.RequestFilterModule.FilterRequest(Object sender, EventArgs e) +170 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75 


Version Information: Microsoft .NET Framework Version:2.0.50727.5446; ASP.NET Version:2.0.50727.5420

Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
9/27/2011 6:13 AM
 
there can be any number of reasons for the DB being down - poor network connectivity is the one we see most often, but if it's on a local machine that wont be it - it might be that the database is unreachable as it's maxed out/cpu is at 100%

As to the cause of the underconstruction page -when the app is starting (e.g. after an app pool recycle, module upload etc.) a function is called to check if an update is required - as part of this is first of checks if the database is available (by calling DataProvider.Instance().GetProviderPath()) -it that returns an error then it marks this as a potentially failing upgrade (Globals.UpgradeStatus.Error) which later on shows the under construction page -the following block shows the 3 reasons this page may show - obviously if you have not just done an install/upgrade it means that the database check failed - hence why my previous guess.

Select Case Globals.Status

Case Globals.UpgradeStatus.Install

If AutoUpgrade Then

If UseWizard Then

retValue = "~/Install/InstallWizard.aspx"

Else

retValue = "~/Install/Install.aspx?mode=install"

End If

Else

CreateUnderConstructionPage(Server)

retValue = "~/Install/UnderConstruction.htm"

End If

Case Globals.UpgradeStatus.Upgrade

If AutoUpgrade Then

retValue = "~/Install/Install.aspx?mode=upgrade"

Else

CreateUnderConstructionPage(Server)

retValue = "~/Install/UnderConstruction.htm"

End If

Case Globals.UpgradeStatus.Error

CreateUnderConstructionPage(Server)

retValue = "~/Install/UnderConstruction.htm"

End Select

As to the other error message, it's not one I've seen before - though we did a bunch of work in 5.6.1 (and migrated it to 6.0.0) to fix some potentially locking issues under load - if you're not running 5.6.1 or higher that may be what you're seeing for that error -whether it's related to the underconstruction page I have no idea.


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
10/5/2011 3:33 AM
 
Thanks for the indepth answer Cathal. I think it must be something to do with my IIS/DB.

I mentioned this to my host and they turned off AutoClose on the database, but I don't think it was this as I get a bit of traffic.

My site is now down so often that I changed the Recycle time on the app pool to be every 60 minutes so that it automatically recycles it.

Interestingly, I installed a module extension today, and immediately after the install the site wen to the construction page!






Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Site keeps falling over with "Under Construction" URLSite keeps falling over with "Under Construction" URL


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