Kentico stuck in offline mode

Jon Tibbetts asked on November 15, 2018 00:32

I put our production site in offline mode which is kentico version 10. Now I can't get access to the admin area. I don't have access to the database or IIS, only the ftp system. I don't see an App_Offline.html file either. How to I get the site out off-line mode?

All I see is the site is in the "System Maintence in Progress" screen

Any help on this is appreciated.

Recent Answers


David te Kloese answered on November 15, 2018 09:24

try hitting the login page directly

  • yourdomain.com/CMSPages/Logon.aspx
  • if that works try going to the admin interface using yourdomain.com/Admin/CMSAdministration.aspx
0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on November 15, 2018 15:42

Well, the only way would be asking somebody who has access to the DB to change the SiteIsOffline value in the CMS_Site table in the DB directly and set it to false (0). Then, you need to restart the application e.g. by doing a fake change in the web.config file.

0 votesVote for this answer Mark as a Correct answer

Jon Tibbetts answered on November 15, 2018 17:21

A little update why the site was stuck in offline mode.

Basically the offline page was setup as .aspx page. So when the CMS was looking for an actual page that didn’t exist it was throwing a 500, so the hosting company's load balancer puts up a maintenance page automatically, one that didn't look like a kentico offline message page. We than created a manual offline.html file and pointed the offline to that file. That seem to fix the admin ui lock out issue.

We then tried doing some deploys to the site and we were getting some CSS caching issues. The hosting company was having an issue on the secondary prod server webapp, where the cached response was being returned. They just recycled that app pool and it tested ok on both nodes (forced each offline and tested).

So we have some stuff to work out with our hosting company.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.