Re: How to prevent corrupted binary downloads
- From: Trumba <trumba@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 12 Dec 2005 11:20:03 -0800
Does anyone know if the new 2.0 support for ClickOnce deployment handles
these kinds of errors more robustly? My experience is that you can probably
avoid the problems with some cache management and error retry code, but a
naive download strategy will fail.
Thanks
Peter
"Klaus H. Probst" wrote:
> I've seen problems like these (nasty, usually not easily reproduced) with
> large HTTP transfers and web services when working over certain types of
> proxies. If just a few of your customers are experiencing this issue try to
> find out what proxy they use (on *their* side, nothing to do with yours) and
> see if they have something in common there.
>
> Sometimes asking the IT folks at the client sites to adjust their proxy
> settings solved the problems... and sometimes it didn't. It's really a
> hit-and-miss thing, not easy to diagnose.
>
>
> --
> Klaus H. Probst, MVP
> http://www.simulplex.net/
>
>
> "Trumba" <trumba@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:146C2540-C96B-4835-8D15-71E35CA6A4B9@xxxxxxxxxxxxxxxx
> > We've experienced two types of problems: 1) downloading assemblies from a
> > web-based application base and 2) downloading an MSI to install components
> > on
> > a client machine.
> >
> > We never made much headway with the first problem, the app would just fail
> > to run on some machines. There was a client exe installed on the client
> > machine which created an AppDomain with an http: base and downloaded
> > components. This would work most of the time and fail to load other times.
> > But it might be related to the second problem.
> >
> > A small percentage of users would experience install failures due to a
> > corrupt MSI file. For these users the problem was repeatable, but other
> > users
> > had no problem. Deleting temporary internet files would generally solve
> > the
> > problem, so my theory was that somehow a corrupt version was downloaded
> > and
> > got in the cache and subsequent requests just reloaded the corrupt data
> > from
> > the cache. We finally solved the problem by giving the download directory
> > a
> > 1-minute expiration, so the cache copy would not get reused.
> >
> > This could potentially explain the first problem too, but we never tried
> > it.
> > It also is not very satisfactory for running a web application base, since
> > you really want the cache to reduce download traffic.
> >
> > Only a small percentage of users saw this problem, but even 1% seems
> > pretty
> > poor for a TCP transfer. Is there a more reliable way?
> >
> > Thanks
>
>
>
.
- Follow-Ups:
- Re: How to prevent corrupted binary downloads
- From: Klaus H. Probst
- Re: How to prevent corrupted binary downloads
- References:
- Re: How to prevent corrupted binary downloads
- From: Klaus H. Probst
- Re: How to prevent corrupted binary downloads
- Prev by Date: Re: Web Referencing COM+ Web Service from Vs.NET 2003
- Next by Date: .net and "SET CONCAT_NULL_YIELDS_NULL OFF"
- Previous by thread: Re: How to prevent corrupted binary downloads
- Next by thread: Re: How to prevent corrupted binary downloads
- Index(es):
Relevant Pages
|
Loading