Re: Web site not available
- From: "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx>
- Date: Thu, 16 Mar 2006 10:01:51 -0400
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.
.
- Follow-Ups:
- Re: Web site not available
- From: Mark Rae
- Re: Web site not available
- From: sweetpotatop
- Re: Web site not available
- References:
- Web site not available
- From: sweetpotatop
- Web site not available
- Prev by Date: Re: Where do I put my Database relations... at DATABASE level or in PROGRAM LEVEL?
- Next by Date: Service Unavailable under Windows Server 2003
- Previous by thread: Web site not available
- Next by thread: Re: Web site not available
- Index(es):
Relevant Pages
|