473,395 Members | 1,791 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,395 software developers and data experts.

deployment question

Hi,

I have a BUSY web site and I made modification in the dll file of the web
site. I just replace the dll in the bin folder (from v1 to v2) and the web
request queueing up and stop responding. I rollback the deployment (use back
v1 dll) and the request queue goes down and back to normal. I am not sure
this behavior is normal, or any recommendation for deployment guideline
(constraint is that i only have one web server).

Regards,
Dicky Cheng
Nov 18 '05 #1
4 1174
Hi,

I have a BUSY web site and I made modification in the dll file of the web
site. I just replace the dll in the bin folder (from v1 to v2) and the web
request queueing up and stop responding. I rollback the deployment (use
back
v1 dll) and the request queue goes down and back to normal. I am not sure
this behavior is normal, or any recommendation for deployment guideline
(constraint is that i only have one web server).

Regards,
Dicky Cheng


Nov 18 '05 #2
With .NET assemblies the AssemblyVersion - part of what comprises an
assembly name - is very important. Assemblies reference a specific
version of dependent assemblies. You either need to recompile all
assemblies or redirect requests for the older version to the newer one.
You can do this through the Web.config file or a publisher policy. Read
http://msdn.microsoft.com/library/en...edirection.asp
for more information.

--
Heath Stewart
Software Design Engineer
Developer Division Sustained Engineering
Microsoft Corporation
Nov 18 '05 #3
Well, my guess is the issue was either caused by the deployment itself, or a
bug in the dll.

You may first want to test your new dll on a development machine. You should
especially try some load testing to see if your dll handles a lot of
traffic. Sometimes code will work fine under light load but break under
heavy load -- that could be the case with your new dll.

Load testing tools: You can try The MS Web Application Stress Tool
(http://www.microsoft.com/technet/arc.../downloads/web
stres.mspx) -- it's free and not too hard to use. VS.NET Enterprise Edition
comes with Application Center Test. There are also some other freeware or
shareware apps (everything from perl scripts to full GUIs) floating around.

If you feel your dll is bug-free, you could try deploying it at a less busy
time (e.g. 3am?) and see if the web server eventually recovers. If it
doesn't I guess you could restart IIS after deploying the new dll.

If, after deploying the dll, restarting IIS, etc. your web site still hangs,
I would then assume that there's still some bug in your new DLL.

--
Ben Strackany
www.developmentnow.com

<a href="http://www.developmentnow.com">dn</a>
"Dicky Cheng" <xx*@xxx.com> wrote in message
news:eI**************@TK2MSFTNGP14.phx.gbl...
Hi,

I have a BUSY web site and I made modification in the dll file of the web
site. I just replace the dll in the bin folder (from v1 to v2) and the web request queueing up and stop responding. I rollback the deployment (use
back
v1 dll) and the request queue goes down and back to normal. I am not sure
this behavior is normal, or any recommendation for deployment guideline
(constraint is that i only have one web server).

Regards,
Dicky Cheng

Nov 18 '05 #4
> If you feel your dll is bug-free, you could try deploying it at a less
busy
time (e.g. 3am?) and see if the web server eventually recovers. If it
doesn't I guess you could restart IIS after deploying the new dll.


So is there any possibility dll will hang during high loading?
Nov 18 '05 #5

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

Similar topics

6
by: Paul | last post by:
Hello everyone: I am developing a VB.Net Windows Application and I am now ready to create the deployment project for it. This application needs to be installable on a different number of users...
0
by: Bob Curry | last post by:
I have a pretty simple project (C++) which I'm trying to deploy using a VS.NET deployment project. The problem I'm having is that when the deployment project is executing, it finds a previous...
4
by: Thornmastr | last post by:
Good Afternoon, I need to distribute an application which includes the run time files for Access 2002. I do have the Office XP Developer CD’s. The application itself is written in VB 6 with an...
3
by: Jim Owen | last post by:
Hi All, I'm putting together my first web deployment project using VS2003 and have a few questions someone might be able to help on. First, I need to modify the web.config file based on entries...
1
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
3
by: Steve | last post by:
Does anyone know where I could find a walkthrough on setup and deployment. I want to distribute an application I wrote. I want it to have a liscense agreement show up during the istallation. I am...
7
by: dhussong | last post by:
I have created a Setup and Deployment project in Visual Studio.NET 2003. After my installation has completed running I'd like to launch the EXE that I just installed. I've found how to launch the...
3
by: Ant | last post by:
Hi, Is there a newsgroup here committed to deployment (specifically using setup & deployment projects)? Are there any good MS press books on the subject? Thanks very much for any clues Ant
10
by: =?Utf-8?B?Q2h1Y2sgUA==?= | last post by:
In a web deployment project I want to encrypt the connection strings. I use to do this with a batch file with something like this. aspnet_regiis.exe -pef "connectionStrings" ..\ -prov...
1
by: =?Utf-8?B?UmljaA==?= | last post by:
I use "Click Once" Deployment from VS2005. Works like a charm. I have to deploy a console app and an MS Access ADP. The console app invokes the ADP. I copy the ADP to the application files to be...
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...
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...
0
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,...

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.