app_offline

  • Thread starter Thread starter Victor Rodriguez
  • Start date Start date
V

Victor Rodriguez

Is there a way to have a custom app_offline file when publishing a website
from .NET 2005?

thanks,

Victor
 
Hello Victor,

As for the App_Offline.htm page, it is a new feature of ASP.NET 2.0
runtime, if there exists such a file in the ASP.NET application root
folder, the runtime will stop processing any commming ASP.NET requests but
return the content of the app_offline.htm.

Based on my research, the default app_offline.htm file used by Visual
Studio 2005(when we copy or publish website) is an auto-generated one and
we haven't any good means to customize/override it. If you want to provide
a customized version of the app_offline.htm file, you can create a
"app_offline.htm" file youself and manually put it into the web
application's directory(you can override the default one after it is
generated).

Here is a blog article from scottgu which has also mentioned this:


#App_Offline.htm and working around the "IE Friendly Errors" feature
http://weblogs.asp.net/scottgu/archive/2006/04/09/442332.aspx

There is any other information you wonder, please feel free to let me know.


Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top