[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2010-09-22
9
Medium Priority
?
596 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
[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
  • 3
  • 2
  • 2
  • +2
9 Comments
 
LVL 7

Accepted Solution

by:
dacIT earned 668 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 668 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 332 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 13

Assisted Solution

by:Onthrax
Onthrax earned 664 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
 
LVL 13

Assisted Solution

by:Onthrax
Onthrax earned 664 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 336 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

656 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