Solved

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

Posted on 2010-09-22
9
584 Views
Last Modified: 2012-05-10
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.
0
Comment
Question by:goodk
  • 3
  • 2
  • 2
  • +2
9 Comments
 
LVL 7

Accepted Solution

by:
dacIT earned 167 total points
ID: 33739109
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
 
LVL 7

Assisted Solution

by:dacIT
dacIT earned 167 total points
ID: 33739122
Here's a newer article with more info:

http://weblogs.asp.net/scottgu/archive/2006/04/09/442332.aspx
0
 
LVL 41

Assisted Solution

by:guru_sami
guru_sami earned 83 total points
ID: 33739129
Not sure i am getting it right...but from what I see...
Open the app_offline.htm and modify it's content.
0
 
LVL 13

Assisted Solution

by:Onthrax
Onthrax earned 166 total points
ID: 33739144
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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 13

Assisted Solution

by:Onthrax
Onthrax earned 166 total points
ID: 33739150
Did no see any replies before I added mine. Sorry bout that.
0
 

Author Comment

by:goodk
ID: 33739745
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
 
LVL 14

Assisted Solution

by:robasta
robasta earned 84 total points
ID: 33741877
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
 

Author Comment

by:goodk
ID: 33749344
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
 

Author Closing Comment

by:goodk
ID: 33766103
bad concept by microsoft!!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

707 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

14 Experts available now in Live!

Get 1:1 Help Now