Wednesday, April 18, 2007

Quick fix to bring Web Application Offline.

Normally to bring any Live Application Offline, either we thought of making few fixes in IIS or may be in the applications code.


However, below are the two quick approaches to achieve the same.


Make Application Offline:


1.      Add below to your web configuration file:


<httpRuntime enable="false" />


2.     Add a file with the name app_offline.htm to the root of your application.


 Now if you try acccessing any page of the Web Application, you can't.


Note: It is not a recommended approach. It is just a quick fix...



Thanks & Regards,

Arun Manglick

SMTS || Microsoft Technology Practice || Bridgestone - Tyre Link || Persistent Systems || 3023-6258


DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails.

No comments:

Post a Comment