473,396 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Block Access During Maintenance - How

How do I block access to an Asp.Net web application so that I can perform
system maintenance?

I will be doing the following during the maintenance process:

1. Update the SQL database
2. Install new or changed Aspx pages.

If anyone is using the system I want to prevent them from further access.

It would be nice to send a message that tells them the system will be
blocked in 10 minutes. Then knock them off the system in 10 minutes if they
are still on.

I'm thinking we will do the maintenance over a weekend, probably very early
Sunday morning.

Thanks and Cheers,
Larry Rebich
Jan 8 '07 #1
3 1274
RSH
We usually handle this in IIS.

Ron
"Larry Rebich" <lr*****@earthlink.netwrote in message
news:45**********************@roadrunner.com...
How do I block access to an Asp.Net web application so that I can perform
system maintenance?

I will be doing the following during the maintenance process:

1. Update the SQL database
2. Install new or changed Aspx pages.

If anyone is using the system I want to prevent them from further access.

It would be nice to send a message that tells them the system will be
blocked in 10 minutes. Then knock them off the system in 10 minutes if
they are still on.

I'm thinking we will do the maintenance over a weekend, probably very
early Sunday morning.

Thanks and Cheers,
Larry Rebich


Jan 8 '07 #2
On Mon, 8 Jan 2007 08:10:58 -0800, Larry Rebich wrote:
How do I block access to an Asp.Net web application so that I can perform
system maintenance?

I will be doing the following during the maintenance process:

1. Update the SQL database
2. Install new or changed Aspx pages.

If anyone is using the system I want to prevent them from further access.

It would be nice to send a message that tells them the system will be
blocked in 10 minutes. Then knock them off the system in 10 minutes if they
are still on.

I'm thinking we will do the maintenance over a weekend, probably very early
Sunday morning.

Thanks and Cheers,
Larry Rebich
Hey Larry,

Drop a file called App_Offline.htm in the root (ASP.NET 2) And it will sort
it out for you!

Read this http://weblogs.asp.net/scottgu/archi...06/426755.aspx for
details
--
Bits.Bytes
http://bytes.thinkersroom.com
Jan 8 '07 #3
App_Offline.htm DOES take the site down. Good.

App_Offline.htm's message is not displayed. Bad

I'm getting a generic 404 message rather than the App_Offline message -
which contains a 'maintenance being performed, please try later' message.

Is there some way to get Asp.Net to display the App_Offline message rather
than the generic 404 message?

Thanks and Cheers,
Larry Rebich
Hey Larry,

Drop a file called App_Offline.htm in the root (ASP.NET 2) And it will
sort
it out for you!

Read this http://weblogs.asp.net/scottgu/archi...06/426755.aspx
for
details
--
Bits.Bytes
http://bytes.thinkersroom.com

Jan 9 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: ishmael4 | last post by:
hello everyone! i have a problem with reading from binary file. i was googling and searching, but i just cant understand, why isnt this code working. i could use any help. here's the source code:...
49
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The...
2
by: Jimi Ffondu | last post by:
Hi there - it's pretty simple, and I'm an idiot. I'm not a developer, I just seem to have landed in this job building this Access database - I've got two days to make it work... aaahh! 1) ...
35
by: deko | last post by:
Do I get more scalability if I split my database? The way I calculate things now, I'll be lucky to get 100,000 records in my Access 2003 mdb. Here some math: Max mdb/mde size = 2000 x 1024 =...
32
by: Zeljko | last post by:
Hi, I moved from VB6 to C# recently, and am very satisfied with the result. However, I miss this one feature. The closest thing I could find is "using" statement, but it requires object to...
1
by: EO | last post by:
I am trying to use the MSFT data access application block on 3 machines. Machine 1: Sandbox environment; I installed the application block with the msi. The Sqlhelper class compiles & runs...
3
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following ...
3
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following ...
8
by: Andrew Robinson | last post by:
Are these two equivalent? Is one better than the other? I tend to go with #1 but started wondering.... Thanks, 1: using (SqlConnection cn = new SqlConnection(DataConnection)) using...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.