Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to use app_offline.htm in asp.net

Posted on 2009-04-10
2
Medium Priority
?
427 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 18

Accepted Solution

by:
Ajay Sharma earned 200 total points
ID: 24115431
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
ID: 24115528
You are right the size of the file has to be more than 512 bytes. Thank you!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

671 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