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

clear the assembly's download cache after a No-touch deployment

Hello all!

If a client has run a program with url like this:
http://server/HelloWorld.exe, then the assembly HelloWorld.exe will be
cached in Assembly's Download Cache. But if then a new version of
HelloWorld.EXE is deployed on server, the client will experience a
crash until he/she clears the assembly's download cache (at least on
this machine...)

is it possible to make a client to automatically delete its cached
assembly when running a no-touch application? Or can you delete the
cached HelloWorld.EXE on other machines in the domain with some script
trick?

A solution could be to "Remove all files..." from within iexplorer
before executing URL, but this would probably generate lots of support
phonecalls.

Yuo could run gacutil /cdl, but then the gacutil program needs to be
installed on client first.

Any other ideas?
Nov 22 '05 #1
4 5408
Frasse wrote:
Hello all!

If a client has run a program with url like this:
http://server/HelloWorld.exe, then the assembly HelloWorld.exe will be
cached in Assembly's Download Cache. But if then a new version of
HelloWorld.EXE is deployed on server, the client will experience a
crash until he/she clears the assembly's download cache (at least on
this machine...)


I think this is the issue you need to address. The premise of no-touch or
smart deployment is that you should be able to update only the file on the
server and clients would get the new version automatically next time they
ran the application. As long as they continue to run the app using the url
and not try to execute it directly from the download cache. You need to
determine why the crash is happening. Can you post more info around that?
--
Tom Porterfield
MS-MVP MCE
http://support.telop.org

Please post all follow-ups to the newsgroup only.
Nov 22 '05 #2
"Tom Porterfield" <tp******@mvps.org> wrote in message news:<OG**************@TK2MSFTNGP10.phx.gbl>...
Frasse wrote:
Hello all!

If a client has run a program with url like this:
http://server/HelloWorld.exe, then the assembly HelloWorld.exe will be
cached in Assembly's Download Cache. But if then a new version of
HelloWorld.EXE is deployed on server, the client will experience a
crash until he/she clears the assembly's download cache (at least on
this machine...)


I think this is the issue you need to address. The premise of no-touch or
smart deployment is that you should be able to update only the file on the
server and clients would get the new version automatically next time they
ran the application. As long as they continue to run the app using the url
and not try to execute it directly from the download cache. You need to
determine why the crash is happening. Can you post more info around that?


Thank you for answering!

I finally got the crasch again. A popup window says :
"An exception 'System.IO.FileLoadException' has occured in IEExec.exe"
and I am given the possibility to choose debugger.

If I remove the prev. downloaded file the program executes as
expected.
Nov 22 '05 #3
Your problem may be that you have your assemblyinfo.cpp set up to automatically increment the version number of your builds. In assembyinfo.vb chang

<Assembly: AssemblyVersion("1.0.*")

To an explicit (developer chosen) version number and update by hand when you need to

<Assembly: AssemblyVersion("0.0.1.1")>

See discussion at:
http://groups.google.com/groups?hl=e....com%26rnum%3D

Nov 22 '05 #4
Your problem may be that you have your assemblyinfo.cpp set up to automatically increment the version number of your builds. In assembyinfo.vb chang

<Assembly: AssemblyVersion("1.0.*")

To an explicit (developer chosen) version number and update by hand when you need to

<Assembly: AssemblyVersion("0.0.1.1")>

See discussion at:
http://groups.google.com/groups?hl=e....com%26rnum%3D

Nov 22 '05 #5

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

Similar topics

5
by: Jeff B. | last post by:
Hello, Can anyone tell me how long an assembly downloaded via a no-touch application will remain in the assembly download cache? I realize I can manually remove them via the "gacutil.exe /cdl"...
4
by: Daniel Mori | last post by:
Im at a loss on where to proceed next. I wonder if anyone can help me. I have a managed C++ DLL is basically a thin wrapper around several unmanaged classes. This DLL builds fine. In my...
0
by: keefah | last post by:
Hi, I'm writing a C# web app that uses Outlook to send email. I use a reference to the Microsoft Outlook 11.0 Object Library, but it's giving me problems. I tracked down some stuff on the Net...
3
by: RickN | last post by:
We have a C# remoting application that runs thru the web. Assemblies appear to be loaded from the download cache. Is there any way to have them automatically copied to the GAC and be loaded from...
3
by: Michael Bøcker-Larsen | last post by:
Hi I'v been stuck on this problem for ages now. I have found that I'm not the only one with this problem, by looking through the different newsgroups. Hope you can help me! I know there is a...
2
by: George Durzi | last post by:
I have a dll that I use in several projects, that I placed in the Global Assembly Cache. This dll is references in each of my projects. This Dll is referenced by a type= declaration in my...
12
by: Steven Berkovitz | last post by:
I have several ASP.NET applications with near identical web.config files. In one of them I am successfuly able to bind to an assembly while on others I am not. All of them have the following...
1
by: Records For Living Support | last post by:
I've just upgraded from Visual Studio 2003 to 2005 and I've finally got my website working on my laptop. WHen I try to send it over to the real webserver - it fails miserably. I've had MULTIPLE...
4
by: =?Utf-8?B?SmFu?= | last post by:
I have a .NET 2.0 application divided in two assemblies; the exe and a dll. The application generates a plugin-dll which is then loaded in a separate AppDomain (along with a second instance of my...
8
by: Joe Withawk | last post by:
I have a solution consisting of a c# project as win application and a c++ project as classlibrary. Both are .net 2.0 The classlibrary handles some loading of quicktime movies, but that should not...
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: 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?
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
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.