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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Please Wait Page... while installingPlease Wait Page... while installing
Previous
 
Next
New Post
9/21/2006 4:26 PM
 
hey but if you put that server.transfer in then are you sure the install will work correctly if I go through install.asx

DotNetNuke Search Engine
ASP.Net Search Engine
Email me to add your favorite sites to the search List.
 
New Post
9/26/2006 6:31 AM
 

I should have thought this out before responding because it is a complicated process. DotNetNuke already has an Under Construciton template page in the install folder as that could be displayed while installation is in progress. This would require modificaiton to app_code\global.aspx.vb to reroute requests and install\install.aspx.vb to trigger it.

One problem is that if the install procedure fails for any reason, it may leave your site offline state where you will need a way to recover remotely. With 2.0 you simply rename the app_offline.htm to something else.

You could do all this yourself or just put in an enhancement request.


Dwayne J. Baldwin
 
New Post
9/26/2006 10:00 AM
 
Dwayne - can you please elaborate why the global code behind needs to be modified to use the included construction page? 

As I mentioned in the first reply to this thread, I have since 4.0.2 successfully performed every upgrade (except the last one) following the instructions in the linked article and received the construction page.  All you do is set autoupgrade=false in the web.config and then upload the new dotnetnuke.dll.  At this point any requests get the construction page (which can be customized).

I think my issue with 4.3.5 was because I left autoupgrade=true in the new web.config as I was ftping up the new files.

I am not sure how app_offline.htm would work...in my testing it does not allow any http requests....therefore how can you upgrade?
 
New Post
9/26/2006 10:29 AM
 

Thanks Mr. Baldwin.  Yes what Ive learned about please wait pages is a microcosm for web apps:

(state, iis configuration, browsers, users, apps, versions, testing) all make it for a complicated fuction.


DotNetNuke Search Engine
ASP.Net Search Engine
Email me to add your favorite sites to the search List.
 
New Post
9/26/2006 6:56 PM
 

app_offline is simple technique to keep users informed and out of your hair for a bit. Using global to reroute requests under certain conditions is a more automated way of doing the same thing. I was just suggesting to use the content of the under construction page.

Ideally, you would run the install/upgrade procedure and it would automagically reroute requests during the upgrade to the under construction page. When the upgrade is complete the application would return to normal behaviour.

When you are upgrading a DotNetNuke website there are two periods where undetermined runtime behaviour may result - during the uploading of new/upgraded files for the application and the upgrading of database, templates or files by the application itself. The concern is that during either stage, any requests to the website may result in broken pages, page errors, or cause other undefined results. On an active site this can be a real concern, from simple data loss to incomplete procedures that may result in breaking the application.

ASP.NET tries to deal with updating by shadow copying and compiling a copy of the site and restarting the app. I haven't tested this extensively with DotNetNuke, but usually what happens once files are upgraded is that DNN goes into upgrade mode automatically. The next request from the site triggers the upgrade mechanism.

Does this mean that some strange user gets to watch the site update itself?
What happens if an app restart occurs during the database update?

The bottom line is that application maintenance is a bit convoluted and complicated with ASP.NET.


Dwayne J. Baldwin
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Please Wait Page... while installingPlease Wait Page... while installing


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