473,405 Members | 2,379 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,405 software developers and data experts.

ASP.net using old version of DLLs

Jon
Hello all.

We have a web app that includes a number of dlls. These cover all sorts of
things such as email handling, error handling, data access etc. The email
handler dll has been modified a number of times but it seems that the old
versions are still being referenced somewhere. So when we modify a method,
then re-copy the dll up to the web server, the code in the old method is
still running, not the new stuff.

How would this be so?

Is a machine reboot the same as am IIS reset and should I do this?

Under the Framework\v1.1.4322\Temporary ASP.NET Files\applicationName
folder, there are a couple of folders with assemblies, but all the assemblies
are from way back, not this week when we put a new build up. Is that an error?

Thanks all any pointers would be great.

Jon

Sep 6 '06 #1
2 2373
Jon,

A machine reboot is not the same as an IIS Reset. If your components are
strange "out of process" components then a reboot may be required (this
would be very unusual... but possible). A reboot would at least eliminate
possibilities.

Are the old DLL's COM objects? Any chance the modification would have
disturbed the COM class/interface information.... i.e. do you need to
rebuild the interop layer as well?

Did you have any problems replacing the actual files? Usually if a DLL is
loaded the file remains open... which makes replacing the file "tricky".

Regards,

Rob

"Jon" <Jo*@discussions.microsoft.comwrote in message
news:3F**********************************@microsof t.com...
Hello all.

We have a web app that includes a number of dlls. These cover all sorts of
things such as email handling, error handling, data access etc. The email
handler dll has been modified a number of times but it seems that the old
versions are still being referenced somewhere. So when we modify a method,
then re-copy the dll up to the web server, the code in the old method is
still running, not the new stuff.

How would this be so?

Is a machine reboot the same as am IIS reset and should I do this?

Under the Framework\v1.1.4322\Temporary ASP.NET Files\applicationName
folder, there are a couple of folders with assemblies, but all the
assemblies
are from way back, not this week when we put a new build up. Is that an
error?

Thanks all any pointers would be great.

Jon

Sep 6 '06 #2
Jon
Hi Rob,

No they're standard .net dlls. Typically when we upgrade, we stop IIS,
delete the old dll and copy in the new one.

If you look under the v1.1.4322\Temporary ASP.NET Files folder, all the
assemblies have a date from the 30th May, but we did the upgrade on Tuesday,
plus the app hasn't taken on any of the new functionality.

Thanks,

Jon

"Rob MacFadyen" wrote:
Jon,

A machine reboot is not the same as an IIS Reset. If your components are
strange "out of process" components then a reboot may be required (this
would be very unusual... but possible). A reboot would at least eliminate
possibilities.

Are the old DLL's COM objects? Any chance the modification would have
disturbed the COM class/interface information.... i.e. do you need to
rebuild the interop layer as well?

Did you have any problems replacing the actual files? Usually if a DLL is
loaded the file remains open... which makes replacing the file "tricky".

Regards,

Rob

"Jon" <Jo*@discussions.microsoft.comwrote in message
news:3F**********************************@microsof t.com...
Hello all.

We have a web app that includes a number of dlls. These cover all sorts of
things such as email handling, error handling, data access etc. The email
handler dll has been modified a number of times but it seems that the old
versions are still being referenced somewhere. So when we modify a method,
then re-copy the dll up to the web server, the code in the old method is
still running, not the new stuff.

How would this be so?

Is a machine reboot the same as am IIS reset and should I do this?

Under the Framework\v1.1.4322\Temporary ASP.NET Files\applicationName
folder, there are a couple of folders with assemblies, but all the
assemblies
are from way back, not this week when we put a new build up. Is that an
error?

Thanks all any pointers would be great.

Jon


Sep 7 '06 #3

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

Similar topics

5
by: ack | last post by:
Hii all, I have a this internal use portal i am working on deployed on a server. My app uses some dlls that are instantiated from the asp pages using server.createobject Now I want to deploy...
1
by: Young Coot | last post by:
Hello - Glad this newsgroup is here. I'd like to compare notes and see if someone else has experienced this problem and if there is a workaround for it (besides new OS and VS.NET version). ...
1
by: Young Coot | last post by:
Hello - Glad this newsgroup is here. I'd like to compare notes and see if someone else has experienced this problem and if there is a workaround for it (besides new OS and VS.NET version). ...
4
by: HarryH | last post by:
I am finding that the linker for a C++ application in VS 2005 is generating a manifest with old version #s for DLLs such as mfc80.dll. How do I make sure that the linker generates a manifest that...
7
by: Olegus | last post by:
Hello, in order to perform backup/restore MSSQL database using SMO, one needs to reference several namespaces in a backup class : using Microsoft.SqlServer.Management.Common; using...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.