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

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\Assembly, 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 2054

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

Similar topics

2
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...
2
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...
2
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? ...
6
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...
4
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...
2
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...
3
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...
0
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...
2
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...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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:
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.