Problem with Internet temporary files in No Touch Deployment

P

placek

Hi all.

I created a windows application and used No Touch Deployment to deploy
it on the web server. On the web server there is a virtual folder,
which points to Release folder of my application.

When I run it for the first time, everything is correct. But when I
change version of my application and then I try to run it one more
time, I get a FileNotFoundException. It looks that old version of my
app's executable is somehow cached and old version is executed instead
of the new one. This old version tries to find old versions of required
dlls, but it can't find them, because theirs versions were changed by
me.

I realised that if I delete Internet temporary files before second
execution, then everything works correct. Unfortunately I cannot say to
my users to delete their temporary files.

Is there some other solution to my problem?

Thanks in advance.
 
P

placek

I detected one more thing:
1. My application is deployed using No Touch Deployment.
2. Some user clicks on the proper shortcut and all required assemblies
are downloaded to his GAC.
3. Then I change version in all AssemblyInfo.cs files from my
application and rebuild it.
4. I asked user to clean his GAC using gacutil.
5. User clicks on the proper shortcut and FileNotFoundException is
thrown.
6. When this user checked assemblies, which were downloaded to his GAC,
then he realised, that only one assembly was downloaded (normally there
should be 13 assemblies). Morover this downloaded assembly had the OLD
version.
7. User deleted all files from his Temporary internet files.
8. Everything was correct then.

Does anobody has a clue why the old version was dowloaded?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top