Solved

How to use app_offline.htm in asp.net

Posted on 2009-04-10
2
418 Views
Last Modified: 2013-11-07
When I put the app_offline.htm file on the root of my asp.net application the application shuts down, but I get a HTTP 404 message. The content of app_offline.htm is supposed to be sent to the browser. I get the same result on the GoDaddy server as my local computer in Debug.

What am I missing?

I'm using Visual Web Developer 2005 Express Edition and .NET 2.0
0
Comment
Question by:Ola3
2 Comments
 
LVL 18

Accepted Solution

by:
Ajay Sharma earned 50 total points
Comment Utility
This link shows some workaround of this problem:

http://asp-net-whidbey.blogspot.com/2006/04/aspnet-20-features-appofflinehtm.html

According to this article keep your app_offline.htm file's size more than 512 bytes, and the 404 error will not be returned to you.
0
 

Author Comment

by:Ola3
Comment Utility
You are right the size of the file has to be more than 512 bytes. Thank you!
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now