Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9255455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:43:17+00:00 2026-06-18T11:43:17+00:00

I have a client and he has reported that 5/6 times, the website has

  • 0

I have a client and he has reported that 5/6 times, the website has somehow returned to unpublished mode. We are unsure what could be causing it and generally it will happen when no one is working on the website at all. They do have some people who have in the past and may still have malicious intentions with regards to bringing the site down (so this could also be an issue).

  1. Are there any known security issues in Umbraco whereby a user could malicious unpublished the entire website?

  2. Are there any bugs in Umbraco that could cause this to happen?

  3. Does Umbraco check the Database for published flag, or does it just check for the existence of the XML file before choosing to show the “there is more work to do” message?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T11:43:19+00:00Added an answer on June 18, 2026 at 11:43 am

    Umbraco will show this page if it is unable to connect to the database.

    In older versions of Umbraco, once this had happened the site would remain in this state until it was republished – this seems to have been fixed (I’m not sure from which version). If you are suffering from this and upgrading isn’t an option, then a workaround is to place the following code in the top of /config/splashes/noNodes.aspx:

    <script runat="server">    
        protected void Page_Load(object sender, EventArgs e)
        {
            Server.ScriptTimeout = 100000;
            var cacheFile = IOHelper.MapPath("/App_Data/umbraco.config");
            try
            {
                var r = XmlReader.Create(cacheFile, new XmlReaderSettings() { DtdProcessing = DtdProcessing.Ignore });
                var d = new XmlDocument();
                d.Load(r);
                var n = d.SelectSingleNode("//root");
                r.Close();
                if (n.ChildNodes.Count == 0)
                {
                    Response.Write("Republishing Site......");
                    Response.Flush();
                }
                else
                {
                    Response.Write("Site Was Already Published......");
                    return;
                }
            }
            catch (Exception ex)
            {
                Response.Write(ex.Message);
                Response.Write("Cache missing, republishing.....");
                Response.Flush();
            }
    
            Document.RePublishAll();
            library.RefreshContent();
    
            Response.Write("Completed");
            Response.Flush();
    
            Response.Redirect("/");
    
            Response.End();
        }
    </script>
    

    (This code wasn’t originally mine – I can’t remember where I got it from). The code attempts to republish the site so that as soon as the database connection becomes available again the site comes back up.

    You may also want to edit the content of /config/splashes/noNodes.aspx to show your users a site maintenance or error message which is more appropriate.

    Are you aware of any planned database maintenance around the time your client’s site suffered from this? If not, you may need to take a look at their hosting.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a client that has a PostgreSQL database and he cannot remember the
I have a client that has an app built with django. On every page
I have a client project that has posts assigned to their country of origin.
We have a Japanese client that has source code in COBOL on an mainframe.
I have a web service client that has an Authenticator class. The Authenticator requires
We have a client that we deployed a webpage to. This client has users
I have a client that has just moved a very larger, well established wordpress
A little background, I have a client that has a legacy php site that
Say I have a object Client that has a child StatusType object. Both implement
I have a client who has brought in another developer to work on a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.