Re: Web site not available



All you have to do is put a file named

App_offline.htm

in the Application's directory.

ASP.NET will detect its presence and any requests for any/all
pages in the application will cause that page to be displayed.

Put any information you want your users to know in that page.

Use only "standard HTML" in that page...no scripting or objects.



Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
<sweetpotatop@xxxxxxxxx> wrote in message
news:1142516687.466720.147760@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,

I have a site created by asp net, due to the weekend construction, this
particular site need to be shut down during the weekend.

I wonder if there is a quick way to have a page or whatever method
(without recompiling the whole apps), so that when users try accessing
the page, they will will be prompt that the site is not currently
available.

One of my concern is since ppl work on Friday until the end of the day,
but I don't, not even weekend. Is there a solution where I can
pre-schedule it to stop on Sat morning? (or maybe in the IIS?)

Thanks in advance. Your help would be greatly appreciated.



.



Relevant Pages

  • Re: FAQ/FAQ notes site makeover
    ... The maintainer's task would be very greatly simplified thereby, because the number of requests would be greatly reduced thereby. ... A FAQ maintainer must be selected as one of sufficient experience and judgement to be able to tell when there is, or will be, a general consensus among the /cognoscenti/ in favour of a particular change. ... The article may have become inadequate because of changed browser circumstances, or may always have been inadequate; the article may be inadequately written, or the user may just be obtuse. ...
    (comp.lang.javascript)
  • Re: LanMan98 and Windows XP
    ... Dave Higton wrote: ... of networking. ... Where's the FAQ and who maintains it? ... requests from this computer, ...
    (comp.sys.acorn.networking)
  • Re: How do I make an Image visible?
    ... required until the FAQ maintainer eventually removes the recommendation from ... One of the three people you refer to has also said that in the lack of a better book that it was recommended not as a "good book" but as the "least bad book". ... The requests for changes where the changes were given, rather than alluded to, were changed. ...
    (comp.lang.javascript)
  • Re: I have Solutions - Statistical Inference Casella & Berger
    ... Anna Maria wrote: ... I am looking for The solutions to Casella Berger Statistical Inference. ... These requests have REALLY slowed down since I stated posting ... "Answers to FAQ on Casella & Berger Solutions Manual". ...
    (sci.stat.math)
  • Re: FAQ 3.15 How can I generate simple menus without using CGI or Tk?
    ... In article, Anno Siegel ... > Is this really a FAQ? ... I certainly I don't anyone has ever asked in my presence. ... Subscribe to The Perl Review: http://www.theperlreview.com ...
    (comp.lang.perl.misc)