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...Administration ...Administration ...Website redirects to install page (informational)Website redirects to install page (informational)
Previous
 
Next
New Post
6/29/2011 8:38 PM
 
I have a DNN website version 5.6.1 that every once in a while would go off line and users would be directed to the install.aspx page. I had been told previously that this will happen if a website loses its connection to the database. It happened a number of times and I would contact the web host and they would tell me everything was fine.  I would check my event viewer and never saw anything that would indicate what was causing the problem.

I found it odd/improbable  that the website would lose its connection to the database because the files are stored on the same server as the database. It happened twice in the last week and I knew I had to find what was causing the issue. I had previously searched Google and the DNN forums for an answer. Out of desperation I put out a tweet to the DotNetNuke community and recieved a number of useful suggestions. Among them was this useful link  from Chris Paterra.

 My Web.Config file was missing the InstallationDate key in the appSettings section.

"InstallationDate: This section is added during the initial installation of DotNetNuke. It will have a value that equals the date of that installation (1/2/2011 for example). When not present (and an install does exist) users could be redirected to the Install.aspx page."

I had moved the site a couple of times and somewhere along the way I must have removed the InstallationDate line from the web.config file thinking it wasn't necessary because that was the date I installed it on the old server and a new date would be generated for the new server. Bonehead!

I found the original install date in the CreatedDate field of the Version table and added the key back to the web.config.

<add key="InstallationDate" value="9/25/2009" />

I just wanted to post this so it would show up the the forum search and hopefully help somebody in the future. Since the problem was sporadic I won't actually know  for sure until some time has passed and the site users haven't been directed to the install page but I feel pretty confident that was it.

Rich
 
New Post
6/30/2011 8:14 AM
 
Well unfortunately the above solution did not fix the problem. This morning my site was again displaying the install page. Any ideas what else might be causing this?
 
New Post
6/30/2011 9:44 AM
 
Just to clarify, when this happens, the DotNetNuke "Under Construction" page in the install directory is displayed.
 
New Post
7/13/2011 8:39 AM
 
Jonathan Sheely suggested setting the database property called "auto close" to false. I have asked my host to do this on several sites and so far the problem has not happened again on those sites.
 
New Post
7/13/2011 9:35 AM
 
Richard,

Thank you for the detailed information in regards to your issue.  It is these types of seemingly sporadic and peculiar errors that need this type of documentation in the community as they are typically difficult to track down and solve.

Thanks again for posting and I hope your problem has been resolved.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Website redirects to install page (informational)Website redirects to install page (informational)


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