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

Updating DLL's

Hey all. I'm the new webmaster of a popular website which is built in
..net using c#

I have successfully set up a dev environment on my local box here (with
some tweaking) but it works nonetheless.

As I create new asp.net pages I will need to recompile and update the
project dll in the bin folder. My question is, if for any reason the
newly compiled DLL causes some sort of error for the site, can I simply
recopy the old DLL's (which I will backup) back into the BIN folder?
My hesitation to simply test this is because the project has references
to various components and other projects.
thanks.

Jun 8 '06 #1
1 1151
On this one, I'd have to say "Sort of, sometimes". If there haven't been any
changes in the ASPX pages or ASCX controls or references or anything else
that would change the Main project assembly, then yes, you should be able to
copy back the backup and have it work. But if you've made any changes in the
aspx pages etc. as described that would cause the new project to be looking
for something new in that assembly, and it doesn't find it, you may be a very
unhappy "webmaster".
Best solution:
1) test your code well locally before deploying to production.
2) Keep an entire website zipped up as a backup, "just in case".
3) Sleep well at night.

Cheers,
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"rh******@gmail.com" wrote:
Hey all. I'm the new webmaster of a popular website which is built in
..net using c#

I have successfully set up a dev environment on my local box here (with
some tweaking) but it works nonetheless.

As I create new asp.net pages I will need to recompile and update the
project dll in the bin folder. My question is, if for any reason the
newly compiled DLL causes some sort of error for the site, can I simply
recopy the old DLL's (which I will backup) back into the BIN folder?
My hesitation to simply test this is because the project has references
to various components and other projects.
thanks.

Jun 9 '06 #2

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

Similar topics

0
by: Bob Jones | last post by:
Visual Studio .NET aborts after displaying "Help is updating to reflect your recent changes. This may take several minutes." generates Event Viewer Application error: Faulting application...
1
by: vanisathish | last post by:
Hi, Currently we are updating the html page contents, some text boxes using javascript. Is it possible to update the same from am activeX dll. And in javascript, will there be any impact on...
4
by: Jeff Johnson | last post by:
I'm suddenly having a problem with my .cs file. I can update the .aspx file and see the changes in the browser, but any changes to the associated .cs file don't appear when I try to view in the...
1
by: Prem | last post by:
Hi All I have a portal application that we have built that contains links to different modules. There is no static binding to these dlls from the application so that we can deploy some modules...
2
by: Goncalo | last post by:
Hi On the bin directory of a web application builded using asp.net can I update only one dll without updating the others Will be any version problems? Or Other kind of problems beetween dll's ...
1
by: Dia | last post by:
How can you update a .NET web application DLL on the server without making sure all users are out of the database which the DLL accesses? Does updating the DLL when users are using it cause any...
4
by: cmay | last post by:
Maybe someone can give an idea of why I am having this problem before I put my fist through the computer screen. My problem goes like this.... Lets say I keep my DLLs in a folder called...
1
by: Martin Racette | last post by:
Hi, I tried the first part of the suggested code below (in a test program first), and all I get is an error telling me that "System.Windows.Forms.ToolStripStatusLabel" is not define and the same...
0
by: davemills81 | last post by:
Hi, Does anyone know how to update the user or application settings of a dll after building? The problem I have is? I have recently developed a service in C# that attaches references a dll. ...
0
by: =?Utf-8?B?YmFrZXJzaGFjaw==?= | last post by:
Unless my app is EXTREMELY simple, I get the cross-threading error message regularly when updating controls on a Windows form. My latest example involves a dll that runs a System.Threading.Timer,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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,...

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.