Here is the quick way to implement Maintenance page in SharePoint, during upgrade/service pack patching: Create a app_offline.htm file in IIS Root folder of your SharePoint site. Place some descriptive text/images to the file, Make sure the file size is at least 512 bytes (otherwise, you will get 404 page not found error!). That's all!
I've placed the maintenance page content like this:
and the output: Maintenance page for SharePoint 2010
As long as this file exists in the root, ASP.NET shuts down the site, stops processing any requests. So, After the maintenance activity, Just delete the app_offline.htm file to end up the maintenance mode.
For some reasons, If this doesn't work for you: Create a dummy website in TEST environment, assign the PROD site's Host headers, Place the above content in Index.htm, change the IP addresses in publishing server! (ISA/ F5).
Reference:
http://www.sharepointdiary.com/2012/07/maintenance-page-for-sharepoint-2010.html
I've placed the maintenance page content like this:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| < head > < meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" /> < title >Site Under Maintenance</ title > </ head > < body > < div align = "center" >< br /> < br /> < br /> < br /> < img src = "http://testIntranet.crescent.com/images/maintenance.gif" width = "600" height = "300" /></ div > </ body > </ html > |
and the output: Maintenance page for SharePoint 2010
maintenance page SharePoint 2010 |
As long as this file exists in the root, ASP.NET shuts down the site, stops processing any requests. So, After the maintenance activity, Just delete the app_offline.htm file to end up the maintenance mode.
For some reasons, If this doesn't work for you: Create a dummy website in TEST environment, assign the PROD site's Host headers, Place the above content in Index.htm, change the IP addresses in publishing server! (ISA/ F5).
Reference:
http://www.sharepointdiary.com/2012/07/maintenance-page-for-sharepoint-2010.html
No comments:
Post a Comment