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
10/21/2011 4:32 PM
 
Frozen, it  is an options in the properties of the database itself. If you have SSMS (Management Studio) one way to change this setting is in the Object Explorer pane.

Right-click on the database, and then select "Properties" in the context menu.

Now go to the "Options" page and set the first setting .... "Auto Close" ... to "False" and save your changes.


You can do it via T-sql as

alter <databaseName> set auto_close off

you can check to see if auto_close is on or off by executing the following

exec sp_dboption <databaseName>

If you see "autoclose" in the list of results, then you know that auto close is set to ON

if you don't see it listed, then you know that auto close is set to OFF


You can do these things with dbo privilges, and this will mean that you can do it from the Host SQL window.

When you run the "alter database ..." statement, have the "execute as script" checkbox ticked.

When you run the "exec sp_dboption <databaseName>" then have the "execute as script" checkbox unticked so that you can see the results.

It goes without saying, though I'll say it, that one should take care when altering database properties.


pmgerholdt
 
New Post
11/8/2011 11:56 PM
 
I noted after upgrade to SQL Server 2008 R2 that all user databases had the auto-close property set on, though they had been off prior.I realized this while reviewing logs in Event Viewer, and seeing numerous references to "starting ."No complaints came from clients but surely some folks were having some slow page loads when opening a connection to the database.

pmgerholdt
 
New Post
6/2/2012 3:31 PM
 
hi there, i had this problem with one of my website database that log size was increasing enormously witch seems to be a dotnetnuke common problem so any way i have downloaded database file to my local machine and shrink it with sql manager then i have uploaded back where it was with the same name and everything but dotnetnuke keeps showing this under cunstruction page FYI i have auto upgrade = "true" in web config
1- what can i do to run this website?
2- is there any other way form dotnetnuke it self to do instead of shrinking the database?
 
New Post
3/3/2013 11:36 PM
 

I realize this is an old thread, but I wanted to chime in and say we have one client site that continues to behave in this way. Sometimes the site won't come up when debug="false" in web.config. We change to debug="true" and the site comes up. We change back to debug="false" and the website goes back down. Bizarre! We have ensured the DB auto-close is false. The only thing we can do to get the site back to working with debug="false" is to actually rename the web.config file to something bogus and then rename it back to "web.config". Has anyone ever heard of something so crazy? I would really like to figure this one out. ;-) Chime in if you know something that may help!

David



nvisionative, Inc.
Corporate Website  |  Facebook Page  |  Twitter Page
 
New Post
3/12/2013 12:30 PM
 

Hi,

Be carefull that modifying the web.config make the application pool  will recycle itself on the next request. When you modify the debug value or when you rename the web.config, IIS will consider that the file is modified.

I don't know if the debug mode can crash a DNN Website.




Stéphane TETARD
ARICIE - Member of DotNetNuke France
 
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