PC Review


Reply
 
 
Victor Rodriguez
Guest
Posts: n/a
 
      24th Aug 2006
Is there a way to have a custom app_offline file when publishing a website
from .NET 2005?

thanks,

Victor


 
Reply With Quote
 
 
 
 
clintonG
Guest
Posts: n/a
 
      24th Aug 2006
Yea, using app_offline.htm works but you answer your own question. Is there
a problem?

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
MAP 43°2'17"N 88°2'37"W : 43°2'17"N 88°2'37"W

"Victor Rodriguez" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is there a way to have a custom app_offline file when publishing a website
> from .NET 2005?
>
> thanks,
>
> Victor
>
>



 
Reply With Quote
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      24th Aug 2006

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/archi...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.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
About app_offline.htm file... Ned White Microsoft ASP .NET 0 5th May 2008 09:26 AM
App_Offline.htm's message is not displayed. Larry Rebich Microsoft ASP .NET 2 13th Jan 2007 09:20 PM
app_offline.htm DOESN'T go away =?Utf-8?B?am9uZWZlcg==?= Microsoft ASP .NET 5 29th Sep 2006 04:41 PM
app_offline in recycle bin raghav Microsoft ASP .NET 0 28th Sep 2006 03:03 PM
App_offline.htm and 404: why? fhtino@gmail.com Microsoft ASP .NET 2 9th Feb 2006 02:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:04 PM.