Hi,
First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you are getting a FileLoadException
when trying to launch a new version of an .exe via a href. If there is any
misunderstanding, please feel free to let me know.
Basically with Automatic setting in the browser, IE may or may not ask a
file. It's basing on it's own internal algorithm. In the case where we use
to go to a page, then again, just hitting enter to go request for the same
file again, it does NOT request for the file. In Framework 1.1 we introduce
this hash value check for security purposes. Using IE on the client machine
and browse to a .net EXE, MIME filter stores a hash value about this .NET
EXE. MIME Filter's hash value changes when IE makes the request.
Now we close the .NET EXE and leaves IE open. We go to the server and
upload newer version of the .NET EXE. Go back machine, and use the SAME
browser and hit Enter to get the .NET EXE. The browser did NOT make the
request for the .NET EXE with the setting automatic. It sends ieexec/fusion
the one it has in the cache. Fusion will ask WININET to check to the server
if the server has a newer version. Server returns a new file and when it
performs a has check, it did not match with the MIME Filter and thus throws
the exception. WININET is a component of IE uses for requesting file. When
fusion asks WININET to request for a file, WININET still respecting the
settings in IE. But since it's a new process (IEEXEC.exe ) is requesting
for the file, it went and ask the server.
Please note that if we close IE and then reopen, it's a new process and
also with the Automatic setting will request if the server has a new file
or not. It's quite a bit of information, if you aren't clear on any of the
above, please
let me know. Reference about Fusion always ask for .NET assembly that is
not strong named:
http://blogs.gotdotnet.com/alanshi/C...bly%20Download
This issue hasn't been fixed yet. Sorry for the inconvenience.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."