473,586 Members | 2,495 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS not retrieving latest version of assembly from GAC

I was working on one of my assemblies yesterday which we have in our GAC and
is used by a number of our web applications/sites on our intranet.
Something strange started happening though. I would compile the program,
then do the following in order given:

gacutil /u myAssembly
gacutil /i myAssembly.dll
net stop iisadmin
net start w3svc

Yet IIS and the web applications conitnued to use the old code, no matter
how i played with these steps and the order of them. The only way i could
get IIS to use the new code was to open a windows explorer windows to
C:\WINNT\Assemb ly, locate my assembly, right click it and go to properties.
Once i did this, IIS would use the new code. This sounds totally bizarre,
but i ran the process over and over and over and over, first trying without
going to the file, then going to the file, and it was 100% consistent.

Can anyone explain this behaviour to me??
TIA - Aaron.
Nov 17 '05 #1
0 2083

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

Similar topics

2
8786
by: Terence Shek | last post by:
Is there a way to set the application binding policy so that it always binds to the latest version of an assembly? I'm hoping there is a way to avoid updating the application's binding configuration every time there is an update to a shared assembly.
2
1471
by: steve bull | last post by:
I am trying to do a build of an application against the latest .dll file for a library but the compiler insists on trying to load an older version : Graphics2D.dll(1.0.2142.164) instead of Graphics2D.dll(1.0.2142.3790) Is there an easy way to fix this problem? Thanks, Steve
2
1979
by: Rob | last post by:
What VB run-time methods are available to retrieve information (such as AssemblyCopyright, AssemblyProduct, AssemblyVersion, etc.) from the AssemblyInfo.vb file for the current executable? Thank you in advance for any help.
6
2563
by: Praveen | last post by:
As you all know the value of input, checkbox and other "user editable" elements can be retrieved on postback via Request.Params list, if you know their ID. However, if there is a span element (for example) whose value gets updated via javascript when the user does something, that value is not made available as part of the Request.Params...
4
1176
by: Gary Townsend | last post by:
I am working on an auto update feature for my program and basically it gets the assembly information for the main application and compares that against the database the problem is that when i try to rename the main files it says it can't becuase the file is still in use. So once i have opened an assembly and its information how can i release...
2
4445
by: Orgbrat | last post by:
Is there a way to retrieve a WinForms application information such as Company, Product and Version from within a class library ( DLL ) that the Winforms application is using. Specificly the applications specfic ApplicationData directory. This is not a problem from within the application, all you need to do is use Application.UserAppDataPath...
3
1426
by: MattB | last post by:
I searched around a little and I don;t see how I can get the AssemblyVersion of the main assembly of my asp.net 1.1 application. Can anyone point me to an example? I want to be able to display this in the application. Thanks! Matt
0
1262
by: Rob Meade | last post by:
Hi all, I have some code which we use to retrieve an assembly version of a referenced assembly in our proects, this information is displayed in our footer part of our template. I've just started writing some Server Controls as opposed to Web User Controls and it would seem that it is retrieving the assembly version from the referenced...
2
1713
by: Don | last post by:
Is it possible to configure an application to use CodeBase and Redirection (Config file) or any other means, to load the latest version of an Assembly from a specified URL. Using Codebase i need to specify the exact version to download from a URL. Using Redirection i need to specify the new version of the assembly. Is it not possible to...
0
8339
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7965
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
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
5392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3838
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...
0
3869
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1184
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.