Re: ProgressChange? What is up?



"Mike2" <parksfamily@xxxxxxxxx> wrote in message
news:61iqt15ca3db4ld8eh4og7eeb0t7ib9ga0@xxxxxxx
> According to MS Progress is returning the bytes while ProgressMax
> returns the maximum bytes.
>
> It also states to calculate percentage for a progress bar then,
> (Progress * 100) / ProgressMax
>
> When I do this I get errors. One of which is Division by 0. I checked
> and Progress is still showing a huge number and ProgressMax is
> returning 0.

This happens when the server does not report the size of the resource,
e.g. via Content-Length header. If the server does not say, there is no
way for the client to know it until it is fully downloaded. You have to
check for this special case.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Re: Is 5.0.7 ready for production?
    ... >> the database is started. ... Spent six hours on that server last night and this morning. ... does kick in and reboot the server if I wait. ... Progress to start up, but if a wait a while the machine locks instantly ...
    (comp.unix.sco.misc)
  • Re: STSADM Export Error
    ... server hosting the site and db. ... Progress: Initializing Export. ... Starting to process objects of type Site. ... Data(Object obj, SerializationInfo info, StreamingContext context) ...
    (microsoft.public.sharepoint.windowsservices)
  • stsadm site/document library export error
    ... We are currently running v3 on one server (web host and db), ... Progress: Initializing Export. ... Data(Object obj, SerializationInfo info, StreamingContext context) ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Verbindungsserver ...inkonsistente Metadaten... bei manchen Sy
    ... Microsoft Linked Server instance caches metadata for faster query ... This does not get properly refreshed when the Progress Database ...
    (microsoft.public.de.sqlserver)
  • Re: Publish error FP 2000 - unique
    ... some very few minutes of "Publishing" progress, ... "Server error: the user 'nobody' is not authorized to excute the 'set ... Publishing was terminated. ... but leave the folder ...
    (microsoft.public.frontpage.client)