PC Review


Reply
Thread Tools Rate Thread

deployment question

 
 
Dicky Cheng
Guest
Posts: n/a
 
      26th Nov 2004
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




 
Reply With Quote
 
 
 
 
Heath Stewart [MSFT]
Guest
Posts: n/a
 
      29th Nov 2004
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
 
Reply With Quote
 
Ben Strackany
Guest
Posts: n/a
 
      29th Nov 2004
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
>
>
>



 
Reply With Quote
 
Dicky Cheng
Guest
Posts: n/a
 
      1st Dec 2004
> 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?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question re .NET DLL Deployment Joseph Geretz Microsoft Dot NET 3 13th Mar 2009 12:22 AM
Re: deployment question Phil Winstanley [Microsoft MVP ASP.NET] Microsoft ASP .NET 0 14th Jun 2004 02:34 PM
Deployment Question MadCrazyNewbie Microsoft VB .NET 4 15th Apr 2004 03:20 PM
Deployment Question Steve Harclerode Microsoft Dot NET Framework 1 13th Aug 2003 10:35 PM
Deployment question Lee Microsoft Excel Programming 0 9th Jul 2003 11:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:23 PM.