Site remains in maintenance
Problem
When a site is accessed, the site does not respond anything except a message saying that it is in maintenance.
Solution
There are several reasons why a site may be in maintenance, but normally this occur a short period at the very end of the publish process. A failure at the end of the publish process may leave the site in maintenance state.
A site may be changed from maintenance state to online by altering server.config at the web server. The file may look like this:
<Sites>
<AssertSite Id="Site">
<SiteStatus>Maintenance</SiteStatus>
...
</Sites>
Update <SiteStatus> to Online:
<Sites>
<AssertSite Id="Site">
<SiteStatus>Online</SiteStatus>
...
</Sites>
After this change, the site should no longer be in maintenance mode.
Root cause may be a failed publish, or a problem in mounting the new database. Ensure to check the root cause of the error and correct it.
Remember to correct root cause
Root cause may e.g. be a failed publish, or a problem in mounting the new database. Ensure to check the root cause of the error and correct it to ensure site is up.
Related articles