473,516 Members | 3,456 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

worst case scenario of a update to a live site


Hello,

About once every two days, I need to update the live/production site with
new code (dlls, aspx's etc..), I currently have to find a time when no one
should be logged in to system like early in the morning. However,
occasionally I need to update it in the middle of the day where users are
still using the system. What worst case scenario for our users would be
then? I remember reading when I first started learning about asp.net that
it's "designed" to be smart about replacing the being-used files but not
sure what's the real experience out there in that area.

Thank you very much for your help
Nov 17 '05 #1
5 1275
Yep - I haven't had any problems with doing that.. no "The file is in use by
another process" errors..

You could also tweak the Session_Start in global.asa to bump everyone to
"Unavailable.html" while you do the push.. then, comment that line out
again..

But so long as you are doing your pushes via VS.NET - I've had no problems..

"Zeng" <zz*@nonospam.com> wrote in message
news:u8**************@TK2MSFTNGP09.phx.gbl...

Hello,

About once every two days, I need to update the live/production site with
new code (dlls, aspx's etc..), I currently have to find a time when no one
should be logged in to system like early in the morning. However,
occasionally I need to update it in the middle of the day where users are
still using the system. What worst case scenario for our users would be
then? I remember reading when I first started learning about asp.net that
it's "designed" to be smart about replacing the being-used files but not
sure what's the real experience out there in that area.

Thank you very much for your help

Nov 17 '05 #2
Assuming you have FrontPage Server Extensions on ServerA and Server B and
ServerA is your development environment. In VS.NET, in the Solution Explorer
for ServerA - there is an icon for "Copy Project". You specify the
destination and VS.NET uses FPSE to push out your content to ServerB...

"Zeng" <zz*@nonospam.com> wrote in message
news:eU***************@TK2MSFTNGP12.phx.gbl...
Would you be able to give me more details on the steps you do to "pushes via VS.NET" ? I just do file copy using old dos command. Tweaking the
Session_Start is not what I want, because the users can lose dirty data that has not been saved or being saved.

Thanks!
-

"Frank Drebin" <no*****@imsickofspam.com> wrote in message
news:mT**********************@newssvr28.news.prodi gy.com...
Yep - I haven't had any problems with doing that.. no "The file is in use
by
another process" errors..

You could also tweak the Session_Start in global.asa to bump everyone to
"Unavailable.html" while you do the push.. then, comment that line out
again..

But so long as you are doing your pushes via VS.NET - I've had no

problems..

"Zeng" <zz*@nonospam.com> wrote in message
news:u8**************@TK2MSFTNGP09.phx.gbl...

Hello,

About once every two days, I need to update the live/production site

with new code (dlls, aspx's etc..), I currently have to find a time when no one should be logged in to system like early in the morning. However,
occasionally I need to update it in the middle of the day where users are still using the system. What worst case scenario for our users would be then? I remember reading when I first started learning about asp.net that it's "designed" to be smart about replacing the being-used files but not sure what's the real experience out there in that area.

Thank you very much for your help



Nov 17 '05 #3
e
Are there any benefits to pushing content to the production server with
VS.NET as you described, vs. a simple windows explorer file copy (other than
convenience)? I'm reluctant to install FPSE (or any non-critical component)
onto the production IIS box.

"Frank Drebin" <no*****@imsickofspam.com> wrote in message
news:WA**********************@newssvr28.news.prodi gy.com...
Assuming you have FrontPage Server Extensions on ServerA and Server B and
ServerA is your development environment. In VS.NET, in the Solution Explorer for ServerA - there is an icon for "Copy Project". You specify the
destination and VS.NET uses FPSE to push out your content to ServerB...

Nov 17 '05 #4
Because the files are being processed *through* IIS - you don't run into
that file-locking problem.. Which you may, with doing it the manual way.

But you are right, there is an additional security concern. If this is an
Internet-accessible server - then you probably shouldn't use FPSE.

"e" <e@e.com> wrote in message news:6K********************@speakeasy.net...
Are there any benefits to pushing content to the production server with
VS.NET as you described, vs. a simple windows explorer file copy (other than convenience)? I'm reluctant to install FPSE (or any non-critical component) onto the production IIS box.

"Frank Drebin" <no*****@imsickofspam.com> wrote in message
news:WA**********************@newssvr28.news.prodi gy.com...
Assuming you have FrontPage Server Extensions on ServerA and Server B and ServerA is your development environment. In VS.NET, in the Solution

Explorer
for ServerA - there is an icon for "Copy Project". You specify the
destination and VS.NET uses FPSE to push out your content to ServerB...


Nov 17 '05 #5
"Frank Drebin" <no*****@imsickofspam.com> wrote in message
news:tO**********************@newssvr28.news.prodi gy.com...
Because the files are being processed *through* IIS - you don't run into
that file-locking problem.. Which you may, with doing it the manual way.

But you are right, there is an additional security concern. If this is an
Internet-accessible server - then you probably shouldn't use FPSE.


With some of our servers, we have access to a back-end network over a VPN.
In these cases, we're able to use Copy Project with the "File Share" mode,
which does not require FPSE.

The big advantage I find is that Copy Project can be told to only copy the
files you need to run the project. No codebehind files are copied, for
instance.

BTW, it was my understanding that the reason one doesn't get "file locked"
errors is that ASP.NET is running off of a shadow copy of the files, not off
of the files in the actual web directory. When you copy files into the "web
site", ASP.NET is notified and recompiles them (writing to the shadow
directory).
--
John Saunders
Internet Engineer
jo***********@surfcontrol.com
Nov 17 '05 #6

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

Similar topics

110
10444
by: alf | last post by:
Hi, is it possible that due to OS crash or mysql itself crash or some e.g. SCSI failure to lose all the data stored in the table (let's say million of 1KB rows). In other words what is the worst case scenario for MyISAM backend? Also is it possible to not to lose data but get them corrupted?
0
7273
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7182
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7405
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7547
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5712
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5106
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3265
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
823
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
487
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.