<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>App_Offline.htm and working around the &amp;quot;IE Friendly Errors&amp;quot; feature</title><link>http://weblogs.asp.net/scottgu/archive/2006/04/09/App_5F00_Offline.htm-and-working-around-the-_2200_IE-Friendly-Errors_2200_-feature.aspx</link><description>I posted the slides+demos from my ASP.NET 2.0 Tips and Tricks talk online last week from the ASP.NET Connections Conference in Orlando. One of the new features I talked about was the "App_Offline.htm" feature in ASP.NET 2.0, which provides a super convenient</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Marinautics  &amp;raquo; Blog Archive   &amp;raquo; App_Offline.htm and Visual Studio 2008</title><link>http://weblogs.asp.net/scottgu/archive/2006/04/09/App_5F00_Offline.htm-and-working-around-the-_2200_IE-Friendly-Errors_2200_-feature.aspx#6808333</link><pubDate>Sun, 28 Dec 2008 10:07:44 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6808333</guid><dc:creator>Marinautics  » Blog Archive   » App_Offline.htm and Visual Studio 2008</dc:creator><author>Marinautics  » Blog Archive   » App_Offline.htm and Visual Studio 2008</author><description>&lt;p&gt;Pingback from &amp;nbsp;Marinautics &amp;nbsp;&amp;amp;raquo; Blog Archive &amp;nbsp; &amp;amp;raquo; App_Offline.htm and Visual Studio 2008&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6808333" width="1" height="1"&gt;</description></item><item><title>re: App_Offline.htm and working around the "IE Friendly Errors" feature</title><link>http://weblogs.asp.net/scottgu/archive/2006/04/09/App_5F00_Offline.htm-and-working-around-the-_2200_IE-Friendly-Errors_2200_-feature.aspx#1290168</link><pubDate>Thu, 21 Dec 2006 17:24:08 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:1290168</guid><dc:creator>Samiq</dc:creator><author>Samiq</author><description>&lt;p&gt;Ping back from samiqbits.blogspot.com&lt;/p&gt;
&lt;p&gt;Found this morning in my daily RSS reading a post in the ASP.NET Daily Articles that shows how to bring an application down for maintenance or upgrade without even getting to open IIS and stop the service.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1290168" width="1" height="1"&gt;</description></item><item><title>re: App_Offline.htm and working around the "IE Friendly Errors" feature</title><link>http://weblogs.asp.net/scottgu/archive/2006/04/09/App_5F00_Offline.htm-and-working-around-the-_2200_IE-Friendly-Errors_2200_-feature.aspx#1186836</link><pubDate>Thu, 07 Dec 2006 16:09:21 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:1186836</guid><dc:creator>Ram</dc:creator><author>Ram</author><description>&lt;p&gt;I have a query similar to this scenario. Is there anyway that we can go for offline mode in Web Application? So the users will not be connected to the network all the time, when they get the connection they shud be able to upload the data.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1186836" width="1" height="1"&gt;</description></item><item><title>ASP.NET 2.0 Tips, Tricks, Recipes and Gotchas</title><link>http://weblogs.asp.net/scottgu/archive/2006/04/09/App_5F00_Offline.htm-and-working-around-the-_2200_IE-Friendly-Errors_2200_-feature.aspx#461962</link><pubDate>Tue, 01 Aug 2006 15:55:24 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:461962</guid><dc:creator>ScottGu's Blog</dc:creator><author>ScottGu's Blog</author><description>&lt;p&gt;This page lists some of the more popular &amp;amp;amp;ldquo;ASP.NET 2.0 Tips, Tricks, Recipes and Gotchas&amp;amp;amp;rdquo;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=461962" width="1" height="1"&gt;</description></item><item><title>re: App_Offline.htm and working around the "IE Friendly Errors" feature</title><link>http://weblogs.asp.net/scottgu/archive/2006/04/09/App_5F00_Offline.htm-and-working-around-the-_2200_IE-Friendly-Errors_2200_-feature.aspx#461242</link><pubDate>Sat, 29 Jul 2006 01:40:12 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:461242</guid><dc:creator>ScottGu</dc:creator><author>ScottGu</author><description>&lt;p&gt;Hi Adam,&lt;/p&gt;
&lt;p&gt;The behavior you are seeing it because IIS is handling the request instead of ASP.NET (since it couldn't find any default document to execute).&lt;/p&gt;
&lt;p&gt;One way to have it map to the app_offline.htm file in these cases would be to setup an IIS custom error handler to go to this file (instead of showing the default error).&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;/p&gt;
&lt;p&gt;Scott&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=461242" width="1" height="1"&gt;</description></item><item><title>re: App_Offline.htm and working around the &amp;quot;IE Friendly Errors&amp;quot; feature</title><link>http://weblogs.asp.net/scottgu/archive/2006/04/09/App_5F00_Offline.htm-and-working-around-the-_2200_IE-Friendly-Errors_2200_-feature.aspx#461145</link><pubDate>Fri, 28 Jul 2006 15:56:34 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:461145</guid><dc:creator>Adam Toth</dc:creator><author>Adam Toth</author><description>A little late here, but I noticed an issue with IIS and the app_offline page.  When I am in the process of publishing a website, app_offline works well until the default document gets deleted.  If I try to access the root (e.g. http://mydomain/myapp) and default.aspx is defined as the default document and it gets deleted, then that request returns the typical error that you see when no default document is found.

Is there any way around this so the app_offline.htm page is shown, even when the default document doesn't exist?&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=461145" width="1" height="1"&gt;</description></item><item><title>re: App_Offline.htm and working around the "IE Friendly Errors" feature</title><link>http://weblogs.asp.net/scottgu/archive/2006/04/09/App_5F00_Offline.htm-and-working-around-the-_2200_IE-Friendly-Errors_2200_-feature.aspx#454291</link><pubDate>Thu, 22 Jun 2006 05:13:05 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:454291</guid><dc:creator>ScottGu</dc:creator><author>ScottGu</author><description>Thanks Rick! ;-)&lt;br&gt;&lt;br&gt;The reason you can't actually use a .axd approach is that this would require code to run *in* the application in order to enable it. &amp;nbsp;This works for some scenarios -- but in cases where you want to be able to update the application's configuration and \bin assemblies you might have cases where the app won't boot/run -- in which case you the .axd approach doesn't work. &amp;nbsp;That is why we support the .htm file option - since you can use it to shut-down the app without requiring any managed code to run.&lt;br&gt;&lt;br&gt;ASP.NET does provide the hooks so that you can disable applications from running - so if you wanted to implement a control panel that runs *outside* of the application and supports toggling apps you can. &amp;nbsp;&lt;br&gt;&lt;br&gt;But we wanted to have a nice, built-in option that people could use without requiring their hosters to-do work to wire this up. &amp;nbsp;That is why we added the app_offline.htm option as well.&lt;br&gt;&lt;br&gt;Hope this helps,&lt;br&gt;&lt;br&gt;Scott&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=454291" width="1" height="1"&gt;</description></item><item><title>re: App_Offline.htm and working around the &amp;quot;IE Friendly Errors&amp;quot; feature</title><link>http://weblogs.asp.net/scottgu/archive/2006/04/09/App_5F00_Offline.htm-and-working-around-the-_2200_IE-Friendly-Errors_2200_-feature.aspx#454139</link><pubDate>Wed, 21 Jun 2006 03:01:10 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:454139</guid><dc:creator>Rick Strahl</dc:creator><author>Rick Strahl</author><description>I think this is a lame feature. Well, no the idea is right but the execution is lame &amp;lt;g&amp;gt;. Seriously - copying a file to take an application offline?
&lt;br&gt;
&lt;br&gt;This should be a built in function that toggles the site between online and offline mode. An AXD page that requires a login of some sort. Better yet there should be some eventing available for this so that you could check who's coming into the site and potentially allow authenticated (or whatever user you use to filter) access.
&lt;br&gt;
&lt;br&gt;I tend to build this sort of thing into my framework where there's a check for a static flag that gets toggled. In addition there's a static message that can be customized in the Web UI that lets you vary the message. That makes a heck of a lot more sense than having to transfer a file to a live a Web Site and then remove it again.
&lt;br&gt;
&lt;br&gt;My mechanism does mean that some code still needs to run which can be a problem in some update scenarios but if this were internally supported in ASP.NET that could probably be avoided altogether.
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=454139" width="1" height="1"&gt;</description></item><item><title>re: App_Offline.htm and working around the "IE Friendly Errors" feature</title><link>http://weblogs.asp.net/scottgu/archive/2006/04/09/App_5F00_Offline.htm-and-working-around-the-_2200_IE-Friendly-Errors_2200_-feature.aspx#450554</link><pubDate>Sun, 04 Jun 2006 20:03:37 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:450554</guid><dc:creator>ScottGu</dc:creator><author>ScottGu</author><description>Hi Ogre,&lt;br&gt;&lt;br&gt;Unfortunately I don't think there is a way to override the default app_offline.htm file that VS uses. &amp;nbsp;Sorry!&lt;br&gt;&lt;br&gt;Scott&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=450554" width="1" height="1"&gt;</description></item><item><title>re: App_Offline.htm and working around the &amp;quot;IE Friendly Errors&amp;quot; feature</title><link>http://weblogs.asp.net/scottgu/archive/2006/04/09/App_5F00_Offline.htm-and-working-around-the-_2200_IE-Friendly-Errors_2200_-feature.aspx#450359</link><pubDate>Fri, 02 Jun 2006 13:22:45 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:450359</guid><dc:creator>Ogre</dc:creator><author>Ogre</author><description>FTP can be unreliable. I've seen the app_offline.htm file not get deleted after copying the website due to a less than pristine connection. &lt;BR&gt;&lt;BR&gt;Is there a place in a web project where you can put a customized app_offline.htm file and have VS copy that file instead of the one it auto-generates?&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=450359" width="1" height="1"&gt;</description></item></channel></rss>