PC Review


Reply
Thread Tools Rate Thread

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

 
 
Frasse
Guest
Posts: n/a
 
      26th Feb 2004
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?
 
Reply With Quote
 
 
 
 
Tom Porterfield
Guest
Posts: n/a
 
      26th Feb 2004
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.


 
Reply With Quote
 
Frasse
Guest
Posts: n/a
 
      3rd Mar 2004
"Tom Porterfield" <(E-Mail Removed)> wrote in message news:<OGGOC2I$(E-Mail Removed)>...
> 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.
 
Reply With Quote
 
=?Utf-8?B?UGF1bCBMaW5oYXJkdA==?=
Guest
Posts: n/a
 
      22nd Apr 2004
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No Touch Deployment and Assembly Download cache (directory) Jack Wright Microsoft Dot NET Framework 0 13th Sep 2004 08:31 AM
No Touch Deployment and Assembly Download cache Jack Wright Microsoft Dot NET Framework Forms 1 13th Sep 2004 07:15 AM
No Touch Deployment and Assembly Download cache clearing Jack Wright Microsoft Dot NET Framework Forms 0 17th Jun 2004 05:14 AM
Download Assembly Cache and No-Touch-Deployment Bryan McArdle Microsoft Dot NET 0 27th Apr 2004 10:17 PM
no touch deployment, but there are too many items in assembly download cache Warren Porter Microsoft Dot NET Framework 2 31st Oct 2003 04:17 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:27 PM.