Create a custom page that displays to users when a page is unavailable. When ASP.NET sees this page, it will render it. Once you've finished your maintenance you can then rename the App_Offline.htm
, for example App_Offline_False.htm
, and the Flowtime environment will be available. When the maintenance page is operable, Cora SeQuence email task links redirect to this page.
If you add images to the page, make sure the image files are not in the same root folder as the HTML file. Since the site is offline, the pictures cannot be accessed. You can place the image files in a site that is online, or, embed the images into the HTML file in Base64 format.
Procedure
- Create an HTML file called
App_Offline.hmtl.
- Enter descriptive text, or images, in the file.
Make sure that the file size is at least 512 bytes. If the file is less than 512 bytes, Internet Explorer might render a 404 error. - Save this file in the root of the site.
Sample
<html> <body> <h1> ************************************************************************************************************************************************ Please be advised that the Cora SeQuence Flowtime site is currently unavailable due to scheduled maintenance between 12:30 and 12:45 on 26/03/2013. ************************************************************************************************************************************************ </h1> </body> </html> <!-- Adding additional content so that IE Friendly Errors don't prevent this message from displaying (note: it will show a "friendly" 404 error if the content isn't of a certain size). <h2> Just some content </h2> <h2> Just some content </h2> <h2> Just some content </h2> <h2> Just some content </h2> <h2> Just some content </h2> -->