default error message of ASP.NET when I am updating the server site

when updating the site and if someone views it, I get the following error.  Where can put the Custom error message. thanks.

default error
This application is currently offline. To enable the application, remove the app_offline.htm file from the application root directory.
goodkAsked:
Who is Participating?
 
dacITConnect With a Mentor Commented:
You can make a custom app_offline.htm file and put whatever HTML you want on it, then place it in the root and it'll take the app offline.

http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx
0
 
dacITConnect With a Mentor Commented:
Here's a newer article with more info:

http://weblogs.asp.net/scottgu/archive/2006/04/09/442332.aspx
0
 
guru_samiConnect With a Mentor Commented:
Not sure i am getting it right...but from what I see...
Open the app_offline.htm and modify it's content.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
OnthraxConnect With a Mentor Commented:
Just change the html file to your needs.

Local version can be found here:

C:\Documents and Settings\jprice\Application Data\Microsoft\VisualStudio\9.0
0
 
OnthraxConnect With a Mentor Commented:
Did no see any replies before I added mine. Sorry bout that.
0
 
goodkAuthor Commented:
Oops! This link appears broken. DNS error occurred. Server cannot be found.
I created the app_offline.htm page and it worked for the first time but now I keep getting the above error? not sure what is going on?
0
 
robastaConnect With a Mentor Commented:
When you have finished updating, you are supposed to delete the file (or rename it).

>>If IIS finds the app_offline.htm file on your site, it will display that file.
0
 
goodkAuthor Commented:
Oh, so on my project I have the app_offline.htm and after I am done publishing I should go and change the name on the server?
Kind of dumb!! As the people attempts more than once, they go to a page that the website do not exist instead of the displayed message.
Anyway Robasta thanks for your response. bye
 
0
 
goodkAuthor Commented:
bad concept by microsoft!!
0
All Courses

From novice to tech pro — start learning today.